I'm trying to create a Feynman-Diagra using the TikZ-Feynman package in Latex.
Is there anyway to adjust the position of the momentum arrows in TikZ? Right now the two momentum arrows of the photon lines overlap in the diagram and it doesn't look very nice. I would like to have the momentum arrows closer to the edge of the photon line. How can I do it?
\begin{tikzpicture}
\begin{feynman}
\diagram [baseline={(current bounding box.center)},vertical'=a to b] {
i1[particle=\(e^{-}\)] -- [anti fermion, rmomentum'={[arrow style=white,label style=black]\(p^\prime\)}]
a -- [draw=none]
f1[nudge=(-45:0.5cm),particle=\(\gamma\)],
a -- [anti fermion, rmomentum'={[arrow style=white,label style=black]\(p-k^\prime\)}] b,
i2[particle=\(e^{-}\)] -- [fermion,rmomentum={[arrow style=white,label style=black]\(p\)}]
b -- [draw=none]
f2[nudge=(45:0.5cm), particle=\(\gamma\)], };
\diagram* {
(a) -- [photon,rmomentum={[arrow shorten=0.15mm,arrow distance=3mm]\(k\)}] (f2),
(b) -- [photon,momentum'={[arrow shorten=0.15mm,arrow distance=3mm]\(k\)}] (f1),
};
\end{feynman}
\end{tikzpicture}
Best Answer
I felt like procrastinating a bit, so here goes.
This is quite easy if you define the coordinates manually, with the
\vertex
macro. (See section 2.4.3 Manual placement in the manual, for a reference.)