答案1
我已经阅读指导到了第 22 页,经过一番努力,这里就是你的绘图......带有点...
\documentclass[tikz]{standalone}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}
\begin{document}
\feynmandiagram [layered layout, horizontal=a to d] {
a -- b [dot] -- [fermion,edge label'=\(p -q\)] c [dot] -- d [],
b -- [photon, half left, looseness=1.5, momentum=\(q\)] c,
a -- [momentum=\(p\)] b,
c -- [momentum=\(p\)] d,
};
\end{document}
并且没有点...
\documentclass[tikz]{standalone}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}
\begin{document}
\feynmandiagram [layered layout, horizontal=a to d] {
a -- b [] -- [fermion,edge label'=\(p -q\)] c [] -- d [],
b -- [photon, half left, looseness=1.5, momentum=\(q\)] c,
a -- [momentum=\(p\)] b,
c -- [momentum=\(p\)] d,
};
\end{document}
答案2
pst-feyn
以下是带有和 的简单代码pst-node
:
\documentclass[11pt, border=4pt]{standalone}
\usepackage{pst-node,pst-feyn}
\begin{document}
\begin{pspicture}(-3.6,-0.4)( 3.6,2.8)
\psset{linejoin=1, arrowinset=0.2, arrowsize=4pt, labelsep=2.5pt}
\psArrowLine(-3.6,0)(3.6,0)
\psPhotonArc[amplitude=4pt,windings=8.5, radius=1.8](0,0)(0,180)
\psarcn{->}(0,0){2.4}{160}{20}
\pnodes(-3.3,0){A}(-2.3,0){B}(2.3,0){C}(3.3,0){D}
\psset{arrows=->, offset=2ex}
\ncline{A}{B}\naput{$p$}
\ncline{C}{D}\naput{$p$}
\uput[d](0,0){$ p-q $}
\uput[u](0,2.4){$q$}
\end{pspicture}
\end{document}