Support for drawing (Latex) diagrams

It would be great if we could support some Latex environment like xymatrix that allows us to draw latex diagrams.

Or possibly an environment like Tikz

2 Likes

KaTeX doesn’t support TikZ or xy-pic. For simple diagrams you can use array but a better option is to render diagrams using something like quiver and paste in images.

1 Like

It seems that a few months ago KaTeX did add support for simple commutative diagrams via the CD environment. Functionally this is similar to array but it renders a lot nicer. Check the KaTeX page for syntax. It only works for block, not inline.

2 Likes

Learn more: Diagrams With KaTeX

2 Likes