我想画出$\phi^4$理论真空泡。最简单的是“8字形”,文档中根本没有提到这种图。我找不到手动设置顶点并绘制它的方法。帮忙吗?
答案1
这是一个不需要 lualatex 的示例,即可上传到 arXiv。
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}
\begin{document}
\begin{align}
\Delta E&~=~
\begin{tikzpicture}[line width=.7pt,baseline=(v.south)]
\begin{feynman}
\vertex (v);
\vertex[above=2cm of v](t);
\vertex[below=2cm of v](b);
\diagram*{
(v) -- [scalar,out=135,in=180] (t) --[scalar,out=0,in=45] (v)
-- [scalar,out=-135,in=180] (b) --[scalar,out=0,in=-45] (v)
};
\draw[fill=black] (v) circle (2pt);
\end{feynman}
\end{tikzpicture}\;.
\end{align}
If you really want the diagram to be centerd vertically, you could use
\verb|\vcenter|.
\begin{align}
\Delta E&~=~\vcenter{\hbox{
\begin{tikzpicture}[line width=.7pt]
\begin{feynman}
\vertex (v);
\vertex[above=2cm of v](t);
\vertex[below=2cm of v](b);
\diagram*{
(v) -- [scalar,out=135,in=180] (t) --[scalar,out=0,in=45] (v)
-- [scalar,out=-135,in=180] (b) --[scalar,out=0,in=-45] (v)
};
\draw[fill=black] (v) circle (2pt);
\end{feynman}
\end{tikzpicture}}}\;.
\end{align}
\end{document}