I use the following code using the tikz-feynman package.
\tikzfeynmanset{
every vertex/.style={red, dot},
every particle/.style={blue},
every blob/.style={draw=green!40!black, pattern color=green!40!black},
}
\feynmandiagram [horizontal=a to b] {
a [particle={\(\gamma, Z\)}] -- [boson] b [blob],
c -- [fermion] b -- [fermion] d,
};
However, I get an output in which the lines are drawn haphazardly.
Is there a way to correct this?
pdflatex my_file.tex, typelualatex my_file.tex. If you're using an editor, there should be an option somewhere to change the compiler (or search this website :) ) – JP-Ellis Feb 16 '17 at 01:55