Latex output of Sympy displayed as a formula


Hello all, and sorry if this question is a beginner’s one.

I do some symbolic computation in a code block using Sympy. And then I output the LateX version of the formula.
I’d like Datalore to display this in Latex. How do I give Datalore a hint about how to interpret the result ?

from sympy import symbols, Function, latex
x, a = symbols(‘x a’)
u = symbols(‘u’, cls=Function)
f = a**(u(x))


Hello, Dominique,

In fact, this is a very good question! We do not support LaTeX formulas in the output for code blocks, so I’ll file a feature request and post updates here.


Thanks. It could indeed be useful to nicely show steps in a symbolic computation sequence