Files
KaTeX/test/huxley/SupSubCharacterBox.huxley/screenshot0.png
Emily Eisenberg 3173a6e53e Make supsubs work correctly with character boxes
Summary:
In rule 18a. of the TeX book, it says we're supposed to set `u` and `v` to 0 if
the nucleus is a character box. Character boxes are loosely defined, but through
experimentation they are anything that contains a single character, including
ordgroups with a single element in them. This change makes KaTeX follow this
rule, and fixes T2404.

Test Plan:
- Make sure the new huxley screenshot looks good
- Make sure none of the huxley tests have changed

Reviewers: alpert

Reviewed By: alpert

Maniphest Tasks: T2404

Differential Revision: http://phabricator.khanacademy.org/D8275
2014-04-17 14:44:30 -04:00

9.5 KiB
1024x660px

/patrick/KaTeX/raw/commit/02935f7dde07efcf44179e4349304e06e5607378/test/huxley/SupSubCharacterBox.huxley/screenshot0.png