I'm trying to draw Feynman diagrams with the feynarts.sty package for LaTex. The problem is that if I write the following code:


I get this:

enter image description here

Instead of this:

enter image description here

In practice I get only the label of the propagators but not the propagators. How can I solve this problem?


1 Answer 1


I solved my own problem. I just need to add

% !TEX TS-program = latex

in the first line of the LaTeX file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.