Feynmf returns Feynman graph:\Delta , no diagram

  • Context: LaTeX 
  • Thread starter Thread starter electroweak
  • Start date Start date
  • Tags Tags
    Diagram Feynman
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
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?
 
Physics news on Phys.org
I copied and compiled your code in Overleaf, and it gave me this:

1564337100354.png


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