The default template gives LaTeX expressions the usual, familiar look of CM fonts. It is as minimal as possible to ensure that it works on every platform.
\documentclass{article} \usepackage[utf8x]{inputenc} \pagestyle{empty} \begin{document} __REPLACEME__ %this is where your LaTeX expression goes \end{document}
To insert LaTeX, we first convert dvi to png through ps, then we crop the resulting full-page PNG file to a small image that only contains the formula. The \pagestyle{empty} line removes extra output such as page numbers, which is why cropping works.
The __REPLACEME__ word will be replaced with the LaTeX expression you specified. Therefore, it is important you put it in the right place.
We are not using PDFTex but a PS-based production chain, so please keep that in mind when using extra packages (i.e. color).
The file is written as UTF-8 (always) so please do not remove the utf8x encoding.
This one uses the "Palatino" font, and includes several AMS packages to make it easier to insert symbols and specific features. The mathrsfs package allows one to use \mathscr{} to produce English capitals.
\documentclass{article} \usepackage[utf8x]{inputenc} \usepackage{amsmath,amssymb,amsopn} \usepackage{mathrsfs} \usepackage{palatino} \usepackage{mathpazo} \pagestyle{empty} \begin{document} __REPLACEME__ %this is where your LaTeX expression goes \end{document}