我正在尝试以特定格式(使用 pdflatex!)编写一个双环费曼图,基本上是用一条线将两个环分成两半。不幸的是,虽然下图中的结果几乎符合我的预期,但垂直线与环相交,这让它看起来很混乱。有办法解决这个问题吗?或者更广泛地说,有没有更好的方法来实现这个图?
\documentclass{article}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}
\begin{document}
\begin{tikzpicture}[layered layout,baseline]
\begin{feynman}
\vertex (a1);
\vertex[right=2cm of a1] (a2);
\vertex[above right= 2.12 cm of a2](a3);
\vertex[below right= 2.12 cm of a2](a4);
\vertex[below = 1 cm of a3] (a31);
\vertex[above = 1 cm of a4] (a32);
\vertex[right=3cm of a2] (a5);
\vertex[right=2cm of a5] (a6);
\diagram* {
(a1) -- [gluon] (a2)
(a2) -- [fermion,half left] (a5)
(a3) -- [gluon] (a31) -- [fermion] (a32) -- [gluon] (a4)
(a5) -- [fermion,half left] (a2)
(a5) -- [gluon] (a6)
};
\end{feynman}
\end{tikzpicture}
\end{document}
答案1
我会使用quarter left
s 并且不在胶子上放箭头,因为它会在真实表示中进行变换。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}
\begin{document}
\begin{tikzpicture}[layered layout,baseline]
\begin{feynman}
\vertex (a1);
\vertex[right=2cm of a1] (a2);
\vertex[above right= 2.12 cm of a2](a3);
\vertex[below right= 2.12 cm of a2](a4);
\vertex[below = 1 cm of a3] (a31);
\vertex[above = 1 cm of a4] (a32);
\vertex[right=3cm of a2] (a5);
\vertex[right=2cm of a5] (a6);
\diagram* {
(a1) -- [gluon] (a2)
-- [fermion, quarter left] (a3)
-- [fermion, quarter left] (a5)
-- [fermion, quarter left] (a4)
-- [fermion, quarter left] (a2),
(a5) -- [gluon] (a6),
(a3) -- [gluon] (a4)
};
\end{feynman}
\end{tikzpicture}
\end{document}