Ask Your Question

Revision history [back]

You can use

Latex().eval(my_string, globals=globals)

as explained in this answer to a similar question.