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, 2021 at 16:59
  • Does ` [fermion, -]` help?
    – hola
    May 27, 2021 at 17:01
  • no, it doesn't help.
    – mrq
    May 27, 2021 at 18:44

1 Answer 1

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.
    – mrq
    May 27, 2021 at 18:45

You must log in to answer this question.

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