A simple front-end gui for the PyPi latex2mathml library with live preview thanks to sympy. This was written for use by tutors at the Aggie Math Learning Center at Utah State University
Not affiliated with the developers of latex2mathml or sympy
There are three command line arguments:
--showlatexoutput
, which shows the output of thepdfLaTeX
executable when previews are built. Default isFalse
--forceWin
, which if on Linux or Mac, forces the Windows-specific no-live-preview interface.--forcePosix
, which forces the Linux/MacOS specific interface with live preview allowed.
Thanks to sympy. Is not supported on Windows (well, it's just super slow for some reason).
Make sure you have pip
and python
(v3.8+), and run the following commands in the code directory:
pip install pyqt5 sympy latex2mathml pyinstaller
chmod +x build.sh
./build.sh
Again, make sure pip
and python
(v3.8+) are installed, and run the following commands:
pip install pyqt5 sympy latex2mathml pyinstaller
pyinstaller L2M.py
Note that L2M follows the system theme because it literally just uses Qt's rendering engine. To switch to dark mode (on Linux at least) set your system to dark mode.