Ask Your Question

Revision history [back]

In the notebook, I believe that executing a %latex cell is equivalent to the command

Latex().eval("string", globals=globals)

For example,

Latex().eval(r"""Hello

\[ 
x=f(x)
\]

Goodbye""", globals=globals)