[OS X TeX] crossings in pst node

Michael Sharpe msharpe at ucsd.edu
Mon Jun 13 19:43:45 CEST 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


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list