JP-Ellis / tikz-feynman

Feynman Diagrams with TikZ
http://www.jpellis.me/projects/tikz-feynman
Other
146 stars 20 forks source link

\feynmandiagram does not work at all anymore in TexShop 4.73 #78

Closed avanishbsharma closed 2 years ago

avanishbsharma commented 2 years ago

The \feynmandiagram command does not work anymore in the newest TexShop version. E.g. the vanilla example

\feynmandiagram [horizontal=a to b] { i1 -- [fermion] a -- [fermion] i2, a -- [photon] b, f1 -- [fermion] b -- [fermion] f2, };

gives a weird diagram:

Schermafbeelding 2022-06-01 om 14 15 18

Please fix this.

Kind regards,

Avanish

JP-Ellis commented 2 years ago

Can you please check the log files and see if there are any errors and/or warnings?

This appears to be the same issue as this question on StackOverflow, can you confirm that the fix works for you?

avanishbsharma commented 2 years ago

Ahh yes, I need to compile with LuaLaTeX! Thanks, it works now. I indeed get errors which urge to compile with LuaLaTeX.