Possible Duplicate:
TeX to image over command line

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

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from serverfault.com Mar 12 '12 at 14:38

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

up vote 4 down vote accepted

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 \begin{equation}
  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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.