% 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}{J_k}_i = \frac{i}{\Pi_{j=k}^na_j}\mod{a_k}\end{displaymath} \end{document}