JP-Ellis / tikz-feynman

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

Doubled fermion or photon line #44

Open Turgon-Aran-Gondolin opened 6 years ago

Turgon-Aran-Gondolin commented 6 years ago

I realize that for now the package contains a "double" type edge which is purely plain double line, but is there doubled fermion (with arrows) or doubled photon (i.e. graviton in corresponding EFT) line? If not, do you have plans on those?

JP-Ellis commented 6 years ago

The plain double line is actually from the underlying TikZ package, so TikZ-Feynman gets that for free. Unfortunately, it doesn't currently apply nicely to everything. I am intending to fix that soon-ish... when I have time.

Turgon-Aran-Gondolin commented 6 years ago

OK thanks. Looking forward to see that function come true. BTW I accidently opened another issue with exactly the same content, because of my crappy internet connection.... Sorry about that.

Turgon-Aran-Gondolin commented 6 years ago

What's the status of double fermion line now?

GustavoHazel commented 6 years ago

Hello, I was trying to draw a doubled fermion line, for instance a Rarita Schwinger line, and this can works [double distance=2pt, with arrow=0.7cm] as you put that instead of [double distance=2pt] or [fermion] in order to add an arrow

lm2612 commented 3 years ago

Another option is to add this into the package:

\tikzfeynmanset{doublefermion/.style={ /tikz/double, /tikz/decoration={name=none}, /tikz/postaction={ /tikzfeynman/with arrow=0.5, } } }

\tikzfeynmanset{doubleantifermion/.style={ /tikz/double, /tikz/decoration={name=none}, /tikz/postaction={ /tikzfeynman/with reversed arrow=0.5, } } }