0

I tried this code :

\begin{fmffile}{feyngraph}
  \begin{fmfgraph}(40,25)
    \fmfleft{a1}
    \fmfright{y1}
    \fmf{photon}{a1,j1,y1}
   \end{fmfgraph}
\end{fmffile}

~

\begin{fmffile}{feyngraph}
  \begin{fmfgraph}(40,25)
    \fmfleft{i1}
    \fmfright{o1}
    \fmf{photon}{i1,v1,o1}
    \fmfdot{v1}
\fmfv{decor.shape=circle,decor.filled=full,decor.size=4}{v1}
  \end{fmfgraph}
\end{fmffile}

However, the second code does not produce the desired dot in the middle of the wavy line...and I cannot figure out why....It is so extremely frustrating. Could anyone please help me?

1
  • Completely unrelated: Instead of blank line ~ blank line, it would be better to use \bigskip.
    – Teepeemm
    Jun 2, 2021 at 15:17

1 Answer 1

1

Using a full MWE your 2nd code work perfectly...There is the dot in the middle of the photon. Also the first work.

enter image description here

Second example:

\documentclass[a4paper,12pt]{article}
\usepackage{feynmp-auto}
\begin{document}
\begin{fmffile}{feyngraph}
\begin{fmfgraph}(40,25)
\fmfleft{i1}
\fmfright{o1}
\fmf{photon}{i1,v1,o1}
\fmfdot{v1}
\fmfv{decor.shape=circle,decor.filled=full,decor.size=4}{v1}
\end{fmfgraph}
\end{fmffile}
\end{document}

First example:

\documentclass[a4paper,12pt]{article}
\usepackage{feynmp-auto}
\begin{document}
\begin{fmffile}{feyngraph}
  \begin{fmfgraph}(40,25)
    \fmfleft{a1}
    \fmfright{y1}
    \fmf{photon}{a1,j1,y1}
   \end{fmfgraph}
\end{fmffile}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .