I've recently installed FeynArts since I can use mathematica to generate topologies and it comes with a set of commands to make diagrams in LaTeX. However, nowhere in the manual can I find a command to output the LaTeX code that will generate the corresponding diagram. Does this functionality exist, and if so, how do I use it?

  • 1
    $\begingroup$ You should really give links. But if you mean feynarts.de then it says FeynArts produces publication-quality Feynman diagrams in PostScript or LaTeX in a format that allows easy customization. I looked quickly and do not see how. Try to contact the package author?. But why do you need the Latex? Simply export the plot as pdf or even eps, and include that in you latex document. That is what I would do. $\endgroup$
    – Nasser
    Jul 3, 2023 at 2:14
  • $\begingroup$ Thanks - I will add that link to the question. Unfortunately the output is poorly formatted in mathematica, so I'd like the latex code to be able to make it look better. I'll shoot the author an email. $\endgroup$
    – Guy
    Jul 3, 2023 at 2:52
  • $\begingroup$ There are special packages in Latex to make Feyn diagrams directly in Latex if that you want. Feynman_diagrams $\endgroup$
    – Nasser
    Jul 3, 2023 at 3:02
  • $\begingroup$ Thanks, yeah I'm familiar with those - I was just hoping I could code up my Lagrangian and out would pop some nice tex. I'll update the post if I get a response $\endgroup$
    – Guy
    Jul 3, 2023 at 3:59
  • $\begingroup$ This might be of some help. arxiv.org/pdf/hep-ph/0012260.pdf The author shows how to export as postscript. He also shows the LaTeX form, though he didn't explicitly show how. The implication is that he passed an option to Paint to choose among a variety of output forms, the default being PS graphics. Try checking options for Paint and see if LaTeX shows up. $\endgroup$
    – user87932
    Jul 3, 2023 at 16:52


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.