mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
The previous code incorrectly implemented TeXbook rules. First off, the font metrics at issue should be those for the superscript/ subscript style, not the main style. Secondly, the metrics should be scaled by the font size. This changes some screenshotter tests (and they look more like TeX now).