Files
KaTeX/test/huxley/Text.huxley/screenshot0.png
Emily Eisenberg 7723d3dcaf First attempt at \text function
Summary:
Make all of the parsing functions keep track of whether they are
parsing in math mode or text mode. Then, add a separate lexing function to lex
text mode, which is different than the normal mode because it does weird things
with spacing and allows a different set of characters.

Test Plan:
 - See that the normal tests work
 - See that the huxley screenshot looks reasonable
 - See that none of the other huxley screenshots changed

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D7578
2014-03-26 22:17:41 -04:00

12 KiB
1024x660px

/patrick/KaTeX/raw/commit/7723d3dcaf3604040b91ed3805de09cb96a9942c/test/huxley/Text.huxley/screenshot0.png