feynmp

Feynman diagrams written for MetaPost to draw.

Loading

\usepackage{feynmp}

A module of its own, compiled into mLaTeX: the package's commands are defined over mLaTeX's primitives.

Commands

\csname, \endfmffile, \endfmfgraph, \fmf, \fmfbottom, \fmfdot, \fmffile, \fmffreeze, \fmfgraph, \fmflabel, \fmfleft, \fmfpen, \fmfright, \fmfset, \fmfstraight, \fmftop, \fmfv.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

feynmp.tex
\documentclass{article}
\usepackage{feynmp}
\begin{document}
\begin{fmffile}{diagram}\begin{fmfgraph}(40,25)\fmfleft{i}\fmfright{o}\fmf{fermion}{i,o}\end{fmfgraph}\end{fmffile}
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX

Limits

Diagrams are not drawn; their place is kept.