Sympy fold does not support LaTeX

Hi all,

I tried today to use an


to add a inline sympy output. However the rendered output is still the raw latex:
image

What did I do wrong?

You don’t need latex and print. Just insert sin(Symbol("x")). The rest is taken care of by the plugin.

This doesn’t work when you add the import line, though, the Sympy plugin is missing some of the relevant code from the Python plugin to handle blocks of code (my_eval). @sadhen

You can load Sympy first in a separate fold.

2 Likes