In trying to use feynmp to draw Feynman diagrams in LaTeXiT, I followed the instructions at http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/feynmp_latexit.html and found it runs with no errors but does not produce any drawing. This problem has been encountered and discussed previously, see Use Feynmp to create feynman diagram in LaTeXiT, and the suggestion was to run preamble

\usepackage[usenames]{color} %used for font color
% !TEX program = pdflatexmk
\usepackage{amssymb} %maths
\usepackage{amsmath} %maths
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters

and the code


but I find that does not work for me. I have tried adding -shell-escape to the commands listed under Preferences > Typesetting, to no avail. I also do not know if I have to change some other settings to implement "% !TEX program = pdflatexmk". Any suggestions appreciated.

  • I don’t believe LaTeXiT understands that directive; it belongs to TeXShop. Does using the standalone package and typesetting in TeXShop work? – Herb Schulz Feb 23 at 19:23
  • Yes, feynmp works well in TeXShop. However I need to get a transparent background for the drawings that feynmp produces, to be used in a Keynote presentation, and that's why I'm trying to use LaTeXiT. – pion Feb 23 at 20:21

Your Answer

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

Browse other questions tagged or ask your own question.