Last active
August 8, 2016 22:49
-
-
Save acgetchell/3595449 to your computer and use it in GitHub Desktop.
FeynMP preamble
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage[final]{feynmp} | |
\DeclareGraphicsRule{*}{mps}{*}{} | |
\makeatletter | |
\def\endfmffile{% | |
\fmfcmd{\p@rcent\space the end.^^J% | |
end.^^J% | |
endinput;}% | |
\if@fmfio | |
\immediate\closeout\@outfmf | |
\fi | |
\ifnum\pdfshellescape=\@ne | |
\immediate\write18{mpost \thefmffile}% | |
\fi} | |
\makeatother | |
\title{Your title} | |
\author{You \\ | |
\texttt{Your email}} | |
\date{\today} | |
\begin{document} | |
\unitlength = 1mm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment