I have been using dvipng to produce png images of latex equations to be embedded in html, and the output is very nice. However, for equations with a fraction, the non-fraction side produces a font which is too big, almost as though it has expanded to respect the height of the fraction. My latex is:
\documentclass[12pt]{article}
\usepackage{amssymb}
\usepackage{color}
\usepackage{amsfonts}
\pagestyle{empty}
\begin{document}
$\nabla \times \mathbf{E} = \frac{\rho}{\varepsilon_0}$
\end{document}
and my command line arguments are
latex file.tex
dvipng -D 200 file.dvi -T tight -bg transparent
So for example, in this Maxwell equation, the 'del cross E' is noticably too large, whereas in a normal latex document this problem does not exist.

Is there anything wrong with my input?
amsmathand write\dfracinstead of\frac; does it do what you're looking for? – egreg May 05 '12 at 16:04