Go to file
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
2013-07-30 13:54:43 -07:00
2014-03-30 23:48:00 -04:00
2013-07-10 14:08:50 -07:00
2013-08-14 17:39:24 -07:00
2014-03-30 23:05:37 -04:00
2014-01-31 17:47:12 -08:00
2013-08-14 17:39:24 -07:00
2014-03-30 23:05:37 -04:00
2014-03-30 23:05:37 -04:00
2013-07-13 18:15:17 -07:00
2014-02-18 17:34:30 -08:00
2014-03-27 19:23:15 -04:00

KaTeX

Fast math!

To run locally

make setup
make serve

Perceptual diff

make pdiff

License

MIT License

Description
KaTeX fork
Readme MIT 71 MiB
Languages
JavaScript 85.7%
Perl 4.6%
Prolog 3.2%
HTML 2.3%
Less 1.3%
Other 2.8%