Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support math font commands #132
May 27, 2015
referenced this pull request
Jun 9, 2015
I should have looked at this before starting my own work on this issue, as I did in #258. Nice work already. Your MathML construction is very elegant with that math-variant thingy. It avoids those exotic unicode symbols which I had been using.
One thing that I think I got right is the list of supported characters for each font. With your code, if someone drops a lower-case letter in any of these functions (except for
The global variable
Do you want to add
It should probably fallback to whatever font is appropriate. We don't have double struck numbers so we should use KaTeX_Main for those and KaTeX_Math for lowercase letters (and Greek) as suggested. MathJax's MathML output matches its fallbacks.
I will do something about the
I can add
Because people are till using it. In my opinion it's the same reason which made you jump through hoops to get
This was referenced
Jun 20, 2015
Personally, I'd combine all the screenshot tests into a single one, e.g. using the array environment for multi-line support. But that's just my taste, I guess, trying to keep the number of image files in the repository small.
I guess I'd also include
The old font commands (those declared using
I was thinking about doing this, but I'm worried about having dependencies between tests.
Thanks for highlighting the distinction. I'll save those "alias" commands for another pull request.