Description
Apologies if this is not the right area for this issue.
I'm using TikZ-Feynman for a document I'm writing on Overleaf, and when I would copy example code for some diagrams they would end up looking funky. For example, the following code
\feynmandiagram [large, vertical=e to f] { a -- [fermion] b -- [photon, momentum=\(k\)] c -- [fermion] d, b -- [fermion, momentum'=\(p_{1}\)] e -- [fermion, momentum'=\(p_{2}\)] c, e -- [gluon] f, h -- [fermion] f -- [fermion] i; };
should produce this:
but my document was outputting the following
In addition to the funkiness in the middle, the arrows are pointing in opposite directions, which I was noticing in all the Feynman diagrams I was drawing.
I found that this issue was resolved when I changed the TeX Live version from 2020/2019 to 2018.
I don't know if this is a bug with TikZ-Feynman, with the TeX Live distributions, or with Overleaf.
Activity