我正在尝试在 Ti 的底部创建一个支架钾z Feynman,但无论我怎么尝试,支架仍然在底部。这是我所得到的:
这就是我想要的:
抱歉,注释有点粗体;我忘了更改画笔宽度。无论如何,我该如何将这个括号倒置?这是我当前的代码:
\begin{tikzpicture}
\begin{feynman}
\vertex (i3) {\(u\)};
\vertex [above right=of i3] (i4);
\vertex [above left=of i4] (i5) {\(u\)};
\vertex [right=0.5cm of i3] (i6) {\(d\)};
\vertex [above right=of i6] (i7);
\vertex [above left=of i7] (i8) {\(d\)};
\vertex [right=0.5cm of i6] (a) {\(d\)};
\vertex [above right=of a] (b);
\vertex [above left=of b] (c) {\(u\)};
\vertex [above right=of b] (d);
\vertex [above right=of d] (e) {\(\overline{\nu}_e\)};
\vertex [right=of d] (f);
\vertex [above=0.2cm of f] (g) {\(e^-\)};
\diagram* {
(i3) -- [fermion] (i4) -- [fermion] (i5),
(i6) -- [fermion] (i7) -- [fermion] (i8),
(a) -- [fermion] (b) -- [fermion] (c),
(b) -- [boson, edge label=$W^-$] (d) -- [anti fermion] (e),
(d) -- [fermion] (g)
};
\draw [decoration={brace}, decorate] (i5.north west) -- (c.north east) node [pos=0.5, above] {\large \(p^+\)};
\draw [decoration={brace}, decorate] (i3.south west) -- (a.south east) node [pos=0.5, above] {\large \(n^0\)};
\end{feynman}
\end{tikzpicture}
非常感谢您的帮助!
答案1
这当然不是最优雅的解决方案。我(i3.south west) -- (a.south east)
用(i3.south west) -- (a.south east)
和替换node [pos=0.5, above]
了[pos=0.5, below]
。
\documentclass{article}
\usepackage{tikz-feynman}
\begin{document}
\begin{tikzpicture}
\begin{feynman}
\vertex (i3) {\(u\)};
\vertex [above right=of i3] (i4);
\vertex [above left=of i4] (i5) {\(u\)};
\vertex [right=0.5cm of i3] (i6) {\(d\)};
\vertex [above right=of i6] (i7);
\vertex [above left=of i7] (i8) {\(d\)};
\vertex [right=0.5cm of i6] (a) {\(d\)};
\vertex [above right=of a] (b);
\vertex [above left=of b] (c) {\(u\)};
\vertex [above right=of b] (d);
\vertex [above right=of d] (e) {\(\overline{\nu}_e\)};
\vertex [right=of d] (f);
\vertex [above=0.2cm of f] (g) {\(e^-\)};
\diagram* {
(i3) -- [fermion] (i4) -- [fermion] (i5),
(i6) -- [fermion] (i7) -- [fermion] (i8),
(a) -- [fermion] (b) -- [fermion] (c),
(b) -- [boson, edge label=$W^-$] (d) -- [anti fermion] (e),
(d) -- [fermion] (g)
};
\draw [decoration={brace}, decorate] (i5.north west) -- (c.north east) node [pos=0.5, above] {\large \(p^+\)};
\draw [decoration={brace}, decorate] (a.south east) -- (i3.south west) node [pos=0.5, below] {\large \(n^0\)};
\end{feynman}
\end{tikzpicture}
\end{document}