Copyright (c) 2008,2011,2016 Jeremie DECOCK (http://www.jdhp.org)
- Web site: http://www.jdhp.org/projects_en.html
- Source code: https://github.com/jeremiedecock/latex2png
- Issue tracker: https://github.com/jeremiedecock/latex2png/issues
Converts LaTeX listings to PNG graphics (useful to create mathematical formulas as images).
latex2png TEX_FILE
latex2png [OPTION]
-h, --help
display this help and exit
-v, --version
output version information and exit
Given a example.tex file like this:
\documentclass{minimal}
\usepackage{amssymb,amsmath,cancel}
\begin{document}
$$
\mathcal{L} = - \frac{1}{4} F_{\mu \nu} F^{\mu \nu} + i \bar{\psi} \cancel{D} \psi + h.c. + \bar{\psi}_i y_{ij} \psi_j \phi + h.c. + |D_\mu \phi|^2 - V(\phi)
$$
\end{document}
you can convert it to PNG graphics using:
latex2png example.tex
which gives:
See documentation directory (usually /usr/share/doc/latex2png) for more examples.
To search for bugs or report them, please use the latex2png bug tracker at https://github.com/jeremiedecock/latex2png/issues
Latex2png is distributed under the MIT License.