Good day! Is there a library for the third python, which allows you to convert Latex code to a PNG image? There is a bunch of Sympy + Matplotlib, but this is a crutch. There are also visible axes, very bad with the size of the font and the pictures itself, and so
I need me in the process of processing to raise her the list of fifty LATEX lines and get fifty pictures at the exit.
Answer 1, Authority 100%
The question is resolved. In case someone else will search.
import sympy
Sympy.PreView (R '$$ \ FRAC {5} {a ^ {2}} $$', viewer = 'file', filename = 'test.png')