我正在尝试编写代码来生成如下所示的费曼图。
到目前为止我写下的代码是这样的。
\feynmandiagram [vertical=f1 to f2] {
anu [particle=\(\overline{\chi}\)] -- [fermion] b [blob],
nu [particle=\(\chi\)] -- [fermion] b,
b -- [fermion,bend right=10,edge label'=\(\nu\)] f1 [crossed dot],
b -- [fermion,bend left=10,edge label=\(\overline{\nu}\)] f1,
b -- [fermion,bend right=10,edge label'=\(\nu\)] f2 [crossed dot],
b -- [fermion,bend left=10,edge label=\(\overline{\nu}\)] f2,
% In the picture below I used "[opacity=0.2]" in place of "[draw=none]" to
% show where the edges are.
nu -- [draw=none] anu,
f1 -- [draw=none] f2,
};
到目前为止还没有运气!我不确定这个图表是否是用 LaTeX 制作的!无论如何,有人可以指导我如何在 LaTeX 中制作它吗?提前谢谢。
答案1
我认为所采用的布局算法tikz-feynman
对于此图来说并不好,因此这里使用了手动相对放置。(该图也不完全正确:右下角的一个费米子变成了两个费米子,这是不可能的。)
\documentclass[tikz,border=3mm]{standalone}
\usepackage{tikz-feynman}
\usetikzlibrary{decorations.pathreplacing,calligraphy}
\begin{document}
\begin{tikzpicture}
\begin{feynman}
\vertex (chi1) {\(\chi\)};
\vertex[below=of chi1] (chi2) {\(\overline{\chi}\)};
\path (chi1) -- (chi2) node[midway,right=4em,blob] (blob);
\vertex[right=10em of chi1] (f1) {$W^-/Z/q$};
\vertex[right=10em of chi2] (f2) {$W^+/Z/\bar q$};
\draw[thick,decorate,
decoration={calligraphic brace,amplitude=3pt,raise=0.1ex}]
(f1.north east) -- (f2.south east) coordinate[midway,right=1.2em](m0);
\path ([xshift=2ex]f1.east) coordinate(t0) ++ (45:1) coordinate (t1)
++ (60:1) coordinate[label={[anchor=240]$\gamma$}] (t2)
(t1) ++ (30:1) coordinate[label={[anchor=210]$\gamma$}] (t3)
(m0) ++ (0:1) coordinate (m1) (m1) ++ (15:1)
coordinate[label={[anchor=195]$\nu_\mu$}] (m2)
(m1) ++ (-15:1) coordinate (m3) ++ (0:1) coordinate[label=right:$\nu_e$] (m4)
(m3) ++ (-30:1) coordinate[label={[anchor=150]$e^+$}] (m5)
([xshift=2ex]f2.east) coordinate(b0) ++ (-45:1) coordinate (b1)
++ (00:1) coordinate[label=right:$\bar\nu_\mu$] (b2)
(b1) ++ (-45:1) coordinate (b3) -- ++ (0:1) coordinate[label=right:$\nu_\mu$] (b4)
(b3) -- ++ (-30:1) coordinate[label={[anchor=150]$\bar\nu_e$}] (b6)
(b3) -- ++ (-60:1) coordinate[label={[anchor=120]$e^-$}] (b5);
\diagram*{
(chi1)-- [fermion] (blob), (blob)-- [fermion] (chi2),
(f2)-- [fermion] (blob), (blob)-- [fermion] (f1),
(t0) --[scalar,edge label=$\pi^0$] (t1) -- [photon] (t2),
(t1) -- [photon] (t3),
(m0) --[scalar,edge label=$\pi^+$] (m1) -- [fermion] (m2),
(m1) -- [anti fermion,edge label'=$\mu^+$] (m3) -- [fermion] (m4),
(m3) -- [anti fermion] (m5),
(b0) --[scalar,edge label'=$\pi^-$] (b1) --
[anti fermion] (b2),
(b1) -- [fermion,edge label'=$\mu^-$] (b3) --[fermion] (b5),
(b3) --[fermion] (b4),
(b3) --[anti fermion] (b6),
};
\end{feynman}
\end{tikzpicture}
\end{document}
将传播子改变为不同线宽的箭头相对容易。