% mod_tex: distributed LaTeX-rendering over Apache % Copyright (C) 2007 Peter Danenberg % See doc/COPYING for details. \documentclass[12pt]{article} \usepackage[nonstop]{feynmp} \unitlength=1mm \pagestyle{empty} \begin{document} \begin{fmffile}{feyn-mp} \begin{fmfchar*}(40,25) \begin{fmfgraph*}(40,30) \fmfpen{thick} \fmfleft{i1,i2} \fmfright{o1,o2} \fmf{fermion}{i1,v1,o1} \fmf{fermion}{i2,v2,o2} \fmf{photon,label=$q$}{v1,v2} \fmfdot{v1,v2} \end{fmfgraph*} \end{fmfchar*} \end{fmffile} \end{document}