# Script for LaTeX formula to image conversion [duplicate]

Possible Duplicate:
TeX to image over command line

Is there a script for converting LaTeX math formulae (not document) to PNG, GIF or JPEG?

-

## migrated from serverfault.comMar 12 '12 at 14:38

This question came from our site for system and network administrators.

## marked as duplicate by qubyte, Peter Grill, morbusg, Torbjørn T., lockstepMar 12 '12 at 17:21

Possible Duplicate: TeX to image over command line – Peter Grill Mar 12 '12 at 15:32

You can use TeX to GIF or PNG for this.

-

I really like Tex2im because:

1. It's a simple bash script
2. It doesn't require a document wrapper or
3. It supports stuff other than formulae (see the -n argument)
4. It's easy to customize text and background colors, or to get a transparent background
5. Your preferred default values can be set in a .tex2imrc file

It requires a working LaTeX installation and ImageMagick.

-