因此,我尝试了论坛中的几个主题,了解如何使我的费曼图并排显示。问题是似乎没有任何方法可行,这是我的两个图的外观:
这是我的代码:
\begin{figure}[H]
\feynmandiagram [large, vertical= b to b1] {
a [particle=\(\nu_\mu\)] -- [anti fermion] b -- [charged boson,edge
label=$Z^0$] b1 [dot],
c [particle=\(\nu_\mu\)] -- [ fermion] b,
b1 -- [double,with arrow=0.5,edge label=$\mathcal{P}$] i2,
b2 -- [anti fermion,edge label=$N$] i2,
b3 -- [fermion,edge label=$N$] i2,
b1 -- [charged scalar,edge label=$\pi^0$] i3,
};
\feynmandiagram [large, vertical=b to b1] {
a [particle=\(\nu_\mu\)] -- [anti fermion] b -- [charged boson,edge
label=$Z^0$] b1 [blob] ,
c [particle=\(\nu_\mu\)] -- [ fermion] b,
i4 -- [fermion,edge label=$N$] b1,
b1 -- [fermion, bend right=10, edge label = $Hadrons$] i5,
b1 -- [charged boson,edge label=$\pi^0$] i7,
};
\caption{\label{fig:fi} Semi inclusive COH + DIS + RES $\pi^0$
production.}
\end{figure}
我想将它们并排放置,并在它们之间添加一个“+”号。任何帮助都将不胜感激。谢谢!
答案1
也许最简单的方法是使用inline
选项并将图表放在数学环境中(因为 + 和间距)。
\documentclass[a4paper]{article}
\usepackage{tikz-feynman}
\begin{document}
\begin{figure}[h]
\[
\feynmandiagram [large, vertical= b to b1,inline=(b1.base)] {
a [particle=\(\nu_\mu\)] -- [anti fermion] b -- [charged boson,edge
label=$Z^0$] b1 [dot],
c [particle=\(\nu_\mu\)] -- [ fermion] b,
b1 -- [double,with arrow=0.5,edge label=$\mathcal{P}$] i2,
b2 -- [anti fermion,edge label=$N$] i2,
b3 -- [fermion,edge label=$N$] i2,
b1 -- [charged scalar,edge label=$\pi^0$] i3,
};
+
\feynmandiagram [large, vertical=b to b1,inline=(b1.base)] {
a [particle=\(\nu_\mu\)] -- [anti fermion] b -- [charged boson,edge
label=$Z^0$] b1 [blob] ,
c [particle=\(\nu_\mu\)] -- [ fermion] b,
i4 -- [fermion,edge label=$N$] b1,
b1 -- [fermion, bend right=10, edge label = $Hadrons$] i5,
b1 -- [charged boson,edge label=$\pi^0$] i7,
};
\]
\caption{\label{fig:fi} Semi inclusive COH + DIS + RES $\pi^0$
production.}
\end{figure}
\end{document}
顺便说一句,这至少是你在这里提出的第三个问题,但到目前为止,你还没有对收到的答案给出任何反馈。如果你能这样做就太好了。