I\'m trying to render Latex text with python. This is what I tried to do:
import matplotlib.pyplot as plt txte = r\"\"\" The \\emph{characteristic polynomia
Maybe you should try to automatically compile it to a png by calling a console command line from python like is done here, and then render the png. This approach requires that Latex is installed on the user computer.