[OS X TeX] crossings in pst node

Michael Sharpe msharpe at ucsd.edu
Mon Jun 13 13:43:45 EDT 2016


> On Jun 13, 2016, at 7:02 AM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
> 
> In trying to create braid diagrams, I would like (in an automatic way) to create crossings which go “over” other crossings.  That is, something like the \rput* option, that is, an \ncline{A}{B} which, if it crosses an earlier \ncline{C}{D}, dominates it, in the sense that there is a slight space around \ncline{A}{B} so that \ncline{C}{D} “breaks” at the crossing point.  My first guess, \ncline* , has a totally different effect—the unstarred \ncline becomes totally invisible.
> 
> Is there such an option?  Of course a workaround is to give \ncline{C}{D} linestyle=dashed, but the standard picture is to only have a break near the crossing, otherwise it is simply a straight line.
> 

You can achieve this effect by drawing each node connection using two passes. On the first pass, draw a white curve about 2pt wider than your standard curve width, and draw the real node connection on the second pass. This can all be put into a small macro, for efficiency.

Michael




More information about the MacOSX-TeX mailing list