% 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}0=(\cos^{2}\alpha-\sin^{2}\beta)((x-a)^{2}-\frac{2z\cos\beta\sin\beta(x-a)}{\cos^{2}\alpha-\sin^{2}\beta}+\frac{z^{2}\cos^{2}\beta\sin^{2}\beta}{(\cos^{2}\alpha-\sin^{2}\beta)^{2}})+z^{2}(\frac{-\cos^{2}\beta\sin^{2}\beta}{(\cos^{2}\alpha-\sin^{2}\beta)}+(\cos^{2}\alpha-\cos^{2}\beta))+y^{2}\cos^{2}\alpha \end{displaymath} \end{document}