Skip to content

jeremiedecock/latex2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latex2png

Copyright (c) 2008,2011,2016 Jeremie DECOCK (http://www.jdhp.org)

Description

Converts LaTeX listings to PNG graphics (useful to create mathematical formulas as images).

Usage

latex2png TEX_FILE

latex2png [OPTION]

Options

-h, --help
      display this help and exit

-v, --version
      output version information and exit

Example

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:

alt text

See documentation directory (usually /usr/share/doc/latex2png) for more examples.

Reporting bugs

To search for bugs or report them, please use the latex2png bug tracker at https://github.com/jeremiedecock/latex2png/issues

Copyright

Latex2png is distributed under the MIT License.

About

Converts LaTeX files to PNG graphics (useful to create mathematical formulas as images).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages