GeneralDrawing an specific feynman diagram with TikZ (LaTeX)

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gtg2000
Posts: 2
Joined: Tue May 02, 2023 11:54 am

Drawing an specific feynman diagram with TikZ (LaTeX)

Post by gtg2000 »

Hi,

I was looking for a diagram such as shown in the first picture, but I just get the one that is in the second picture with this code:

Code: Select all

\begin{tikzpicture}
\begin{feynman}[large]
\vertex (b);
\vertex [left=of b] (a);
\vertex [above right=of a] (i1);
\vertex [below right=of a] (i2);
\vertex (d);
\vertex [right=of d] (c);
\vertex [above left=of c] (j1);
\vertex [below left=of c] (j2);
\diagram* {
(a) [crossed dot] -- [double] (b)  -- [gluon] (j1),
(a) [crossed dot] -- [double] {(i1),(i2)},

(d) -- [double] (c) [crossed dot],
(j1) -- [double] (c) [crossed dot] -- [double] (j2),
};
\end{feynman}
\end{tikzpicture}
How can I separate the central lines and draw the correct vertex?

Thank you in advance!!
Image 1
Image 1
feynman.png (59.87 KiB) Viewed 3608 times
Image 2
Image 2
feynman tikz.png (4.11 KiB) Viewed 3608 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gtg2000
Posts: 2
Joined: Tue May 02, 2023 11:54 am

Drawing an specific feynman diagram with TikZ (LaTeX)

Post by gtg2000 »

Finally, I solved it by:

Code: Select all

\begin{tikzpicture}
\begin{feynman}[large]
\vertex (b);
\vertex [left=of b, crossed dot,draw=black,fill=white] (a) {};
\vertex [above right=of a] (i1);
\vertex [below right=of a] (i2);
\vertex [right=3 cm of a](d);
\vertex [right=of d, crossed dot,draw=black,fill=white] (c) {};
\vertex [above left=of c] (j1);
\vertex [below left=of c] (j2);
\diagram* {
(a) -- [double] (b) -- [gluon] (j1),
(a) -- [double] {(i1),(i2)},

(d) -- [double] (c),
(j1) -- [double] (c) -- [double] (j2),
};
\end{feynman}
\end{tikzpicture}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Drawing an specific feynman diagram with TikZ (LaTeX)

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

Thanks for showing us the solution you found. Btw. the feynman diagram category on TikZ.net may be interesting to you.

Stefan
LaTeX.org admin
Post Reply