Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagators crossing on top (gap) #50

Open
losmaxos opened this issue Jan 31, 2018 · 1 comment
Open

Propagators crossing on top (gap) #50

losmaxos opened this issue Jan 31, 2018 · 1 comment

Comments

@losmaxos
Copy link

Many users like to indicate that two propagator lines cross only on paper
(without any physical interaction) by drawing one line as interrupted,
such that one propagator appears to run ON TOP of the other.

One possibility to implement this is via a "top" style option in the keys-file:

  every top@@/.style={
     /tikz/preaction={draw=\feynhandtopsepcolor,line width=\feynhandtopsep} 
   },
   every top/.style={/tikzfeynhand/every top@@/.append style={#1}},
   top/.style={
     /tikzfeynhand/every top@@,
   },

The preaction draws the propagator with color \feynhandtopsepcolor (default: white)
and width \feynhandtopsep (default: 2mm) across any earlier propagators.
After this, the propagator is drawn again with the usual style attributes.

You might want to use something more Tikz-like than a LaTex length and newcommand...
Anyway, the preaction should be practical both for manual and automatic drawing mode.

@zhyiyu
Copy link

zhyiyu commented Oct 22, 2018

In the meantime, you may want to check package tikz-feynhand which exactly does with option top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants