Feynmf returns Feynman graph:\Delta , no diagram

  • Topic: LaTeX 
  • Thread starter electroweak
  • Start date
  • Tags Tags
    Diagram Feynman
1 reply · 3K views · last reply
electroweak
Messages
43
Reaction score
1
feynmf returns "Feynman graph:\Delta", no diagram

I recently installed the package feynmf for drawing Feynman diagrams (or at least I think I did -- my MiKTex Package Manager says so). When I compile
Code:
\documentclass{article}
\usepackage{feynmf}
\begin{document}\setlength{\unitlength}{1mm}
\begin{fmffile}{samplepics}

\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{fmffile}
\end{document}
pdfLaTeX produces a pdf which reads only "Feynman graph:\Delta". No diagram is created. Any idea what could have gone wrong?
 
I copied and compiled your code in Overleaf, and it gave me this:

Feynman diagram of a t-channel exchange: two fermion lines meet a wavy boson line labelled q at two vertices, with arrows showing fermion flow.


Maybe there is an installation problem. Try uninstalling the package and reinstalling it.