我遇到了两个问题。没有编号,标题也没有显示。请帮忙。谢谢。
\begin{frame}[t]{Field Strength Renormalization}
\begin{equation}
\[
\langle \Omega \rangle
=
\begin{tikzpicture}[baseline=(current bounding box.center)]
\begin{feynman}
\vertex (a) {\(x\)};
\vertex [right=of a] (b){\(y\)};
\diagram* {
(b)--[fermion](a)
};
\end{feynman}
\end{tikzpicture}
+
\begin{tikzpicture}[baseline=(current bounding box.center)]
\begin{feynman}
\vertex (a) {\(x\)};
\vertex [right=.5cm of a] (b);
\vertex [right=.5 cm of b] (c);
\vertex [right=.5 cm of c] (d){\(y\)};
\diagram* {
(a)--(c)--[fermion](b),(c)--(d),
(b)--[boson,out=135,in=45,looseness=5.0](c)
};
\end{feynman}
\end{tikzpicture}
+
\cdot \cdot \cdot
\]
\end{equation}
\end{frame}
答案1
问题是您\[...\]
在里面使用了\begin{equation}...\end{equation}
。您需要删除其中任何一个。由于我认为方程式数字在演示文稿中没有太多意义,所以我删除了后者。
\documentclass{beamer}
\usepackage{tikz-feynman}
\begin{document}
\begin{frame}[t]{Field Strength Renormalization}
\[
\langle \Omega \rangle
=
\begin{tikzpicture}[baseline=(current bounding box.center)]
\begin{feynman}
\vertex (a) {\(x\)};
\vertex [right=of a] (b){\(y\)};
\diagram* {
(b)--[fermion](a)
};
\end{feynman}
\end{tikzpicture}
+
\begin{tikzpicture}[baseline=(current bounding box.center)]
\begin{feynman}
\vertex (a) {\(x\)};
\vertex [right=.5cm of a] (b);
\vertex [right=.5 cm of b] (c);
\vertex [right=.5 cm of c] (d){\(y\)};
\diagram* {
(a)--(c)--[fermion](b),(c)--(d),
(b)--[boson,out=135,in=45,looseness=5.0](c)
};
\end{feynman}
\end{tikzpicture}
+
\cdots
\]
\end{frame}
\end{document}