![尝试将费曼图水平并排放置,并在其间放置“+”。](https://linux22.com/image/373490/%E5%B0%9D%E8%AF%95%E5%B0%86%E8%B4%B9%E6%9B%BC%E5%9B%BE%E6%B0%B4%E5%B9%B3%E5%B9%B6%E6%8E%92%E6%94%BE%E7%BD%AE%EF%BC%8C%E5%B9%B6%E5%9C%A8%E5%85%B6%E9%97%B4%E6%94%BE%E7%BD%AE%E2%80%9C%2B%E2%80%9D%E3%80%82.png)
因此,我尝试了论坛中的几个主题,了解如何使我的费曼图并排显示。问题是似乎没有任何方法可行,这是我的两个图的外观:
这是我的代码:
\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}
顺便说一句,这至少是你在这里提出的第三个问题,但到目前为止,你还没有对收到的答案给出任何反馈。如果你能这样做就太好了。