我想让下面的费曼图中的环看起来像一个真正的圆圈
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[compat=1.1.0]{tikz-feynman}
%Compiled using LuaLatex%
\begin{document}
\begin{center}
\feynmandiagram[horizontal=a to c]{
i1[particle =\(\phi_{0}\)] --[fermion, insertion=0.0] a,
a --[fermion, insertion=0.99, quarter right] b --[anti fermion, quarter right] c --[fermion, insertion=0.99, quarter right] d --[anti fermion, quarter right] a,
i2[particle =\(\delta \bar{\phi}(k)\)] --[fermion] a,
c --[anti fermion, insertion=0.99] f1[particle =\(\phi_{0}\)],
c --[anti fermion] f2[particle =\(\delta \bar{\phi}(k)\)],
};
\end{center}
\end{document}
谁能帮我这个?
答案1
不幸的是,使用图形绘制库最近变得更加困难,因为这个问题,这可以解决。更重要的是,它变得有点随机,因为这个悬而未决的问题不过,好的一面是,如果你不使用图形绘制,那么用一个毫无亮点的圆圈来绘制图表确实很容易。
\documentclass{article}
\usepackage{tikz-feynman}
\makeatletter
\tikzset{my insertion/.style={
/tikz/decoration={
markings,
mark=at position #1 with {
\draw [\tikzfeynman@insertion@style] (-\tikzfeynman@insertion@size, -\tikzfeynman@insertion@size) -- (\tikzfeynman@insertion@size, \tikzfeynman@insertion@size);
\draw [\tikzfeynman@insertion@style] (-\tikzfeynman@insertion@size, \tikzfeynman@insertion@size) -- (\tikzfeynman@insertion@size, -\tikzfeynman@insertion@size);
},
}}}
\makeatother
\begin{document}
\begin{tikzpicture}
\draw[postaction={/tikzfeynman/with arrow=0.25,
/tikzfeynman/with reversed arrow=0.75}] (0,0) node[above left]{\(\delta \bar{\phi}(k)\)}
-- ++ (1,-1) coordinate(v1) -- ++(-1,-1) node[below left]{\(\phi_{0}\)};
\draw[postaction={/tikzfeynman/with arrow=0.125,
my insertion=0.25,
/tikzfeynman/with reversed arrow=0.375,
/tikzfeynman/with arrow=0.625,
my insertion=0.75,
/tikzfeynman/with reversed arrow=0.875,}] (v1) arc(-180:180:1.5)
coordinate[midway] (v2);
\draw[postaction={/tikzfeynman/with reversed arrow=0.5}] (v2) -- ++ (1,1)
node[above right]{\(\delta \bar{\phi}(k)\)};
\draw[postaction={/tikzfeynman/with reversed arrow=0.5}] (v2) -- ++ (1,-1)
node[below right]{\(\phi_{0}\)};
\end{tikzpicture}
\end{document}