4

What TeX packages exist specifically for drawing string diagrams, e.g. like these:

Zigzag-identity

(or with similar styles)?

  • 2
    "knot diagrams" might also be a useful concept here. (one possibility: How to make nice braids diagrams; i hove no personal experience with this, hence a comment, not an answer.) – barbara beeton Jun 19 '16 at 16:13
  • What have you tried or looked at? What if the answer is that there are not any? That is, the diagram is pretty simple and pretty generic, frankly, so why would somebody create a special strings package to draw it rather than using one of the general tools available which can draw this and many other things easily? – cfr Jun 19 '16 at 16:13
  • 2
    @cfr I think obviously because some people want to draw a lot of those and want to draw diagrams that are also more complicated than the above, e.g. give a complete proof that every adjunction induces a monad in string diagram language. – Stefan Perko Jun 19 '16 at 17:08
  • what was the best option you found ? I would like to add colors to those diagrams as well – nicolas Jun 16 '17 at 22:32
  • @nicolas I draw them in TikZ directly. It's not as bad as I expected it to be. – Stefan Perko Jun 17 '17 at 6:28
4

The Tikz package (https://www.sharelatex.com/learn/TikZ_package) would appear to be sufficiently powerful to do what you request.

I have not tried this approach, but the link is live.

I hope that this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.