ryankeleti / ega

amateur translation project of Grothendieck's EGA.

Home Page:https://ryankeleti.com/ega

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use katex for inline rendering

ryankeleti opened this issue · comments

commented
use katex for inline rendering
commented

done, closing

is there any hope for using katex for display math as well? I'm guessing that it's commutative squares that are the problem

commented

yes possibly, I could make special delimiters for xymatrix so mathjax only renders those

this could be good, because if katex ever does sort out xymatrix then we're on a roll

it's worth mentioning that katex does now support ams-cd, which allows for commutative squares (but nothing fancier, e.g. no diagonal arrows). I don't think it's worth taking the time to go through and change all the xymatrix occurrences right now, but I can imagine that this wouldn't be to hard to regex at some point in the future.

I'm not sure, however, if there are any e.g. squares with diagonal arrows, that would stop us from wanting to move entirely over the katex — leaving this comment here just to prompt me to look into this at some point in the future