% mod_tex: distributed LaTeX-rendering over Apache % Copyright (C) 2007 Peter Danenberg % See doc/COPYING for details. \documentclass[12pt]{article} \usepackage{amsmath,stmaryrd,amssymb} \usepackage{cancel} \usepackage{color} \pagestyle{empty} \begin{document} \begin{displaymath}\fbox{$ \frac{\displaystyle 1}{\displaystyle 1+ \displaystyle \frac{e^{-2\pi}}{1+ \displaystyle \frac{e^{-4\pi}}{1+\cdots}}} =\left(\sqrt{\frac{\displaystyle 5+\sqrt{5}}{\displaystyle 2}}-\frac{\displaystyle \sqrt{5}+1}{\displaystyle 2}\right)e^{2\pi/5} $}{ }\end{displaymath} \end{document}