mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-20 01:58:41 +00:00
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
This commit is contained in:
1
test/huxley/Text.huxley/record.json
Normal file
1
test/huxley/Text.huxley/record.json
Normal file
@@ -0,0 +1 @@
|
||||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Reference in New Issue
Block a user