mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Summary: FONTDIM metrics include metrics like sup2, sup3, etc. which are used for position sub/super-scripts, fractions, delimiters, etc. TeX uses three different font styles: textfont2 (DISPLAY & TEXT), scriptfont2 (SCRIPT), and scriptscriptfont2 (SCRIPTSCRIPT) and has different sets of metrics for each. This diff adds style specific metrics for better TeX compliance. Notable squashed commits: - Recreated screenshots (martin) - fix getEmPerEx to use getXHeight - regularize how we access options.style, remove unnecessary newlines - use var style = options.style in more places in buildHTML
5.4 KiB
1024x768px
5.4 KiB
1024x768px
