0

I'm trying to get fermion lines without arrows, but I can't find a good documentations. Here is my code:

\begin{tikzpicture}
  \begin{feynman}
    \vertex (a1) {};
    \vertex [below right=of a1] (b);
    \vertex [below left=of b](a2);
    \vertex [right=of b](c);
    \vertex [above right=of c](d1);
    \vertex [below right=of c](d2);


    \diagram* {
      (a1) -- [gluon] (b),
      (a2) -- [gluon] (b) -- [gluon] (c),
      (c) -- [fermion, without arrow](d1),
      (c) -- [fermion](d2)

    };
  \end{feynman}
\end{tikzpicture}

which produces the following image.

enter image description here

I appreciate your help.

3
  • I like people who draw time on x axis in Feynman diagrams.
    – hola
    May 27 at 16:59
  • Does ` [fermion, -]` help?
    – hola
    May 27 at 17:01
  • no, it doesn't help.
    – mrq1901
    May 27 at 18:44
3

You are using fermion as line style. The feynmf package supports others, the one you are looking for is vanilla or plain. Change your code as above:

\documentclass{standalone}
\usepackage{tikz-feynman}

\begin{document}
\begin{tikzpicture}
  \begin{feynman}
    \vertex (a1) {};
    \vertex [below right=of a1] (b);
    \vertex [below left=of b](a2);
    \vertex [right=of b](c);
    \vertex [above right=of c](d1);
    \vertex [below right=of c](d2);

    \diagram* {
      (a1) -- [gluon] (b),
      (a2) -- [gluon] (b) -- [gluon] (c),
      (c) -- [plain](d1), % Here is the change
      (c) -- [plain](d2)  % And here
    };
  \end{feynman}
\end{tikzpicture}
\end{document}

Result:

enter image description here

1
  • perfect! thank you.
    – mrq1901
    May 27 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.