Reserve full fraction extents in math layout

Fraction layout scaled numerator and denominator extents by 0.7 while painting
both at the full size, underestimating the box height and depth. Use the full
extents plus the bar clearance so the display equation no longer compresses its
fraction vertically.

Test count stays 1077.
This commit is contained in:
gloamxun committed 2026-10-28 00:39:05 +08:00
1 parent 764bc18850
commit 802526c352
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -48,7 +48,8 @@ execution is not a goal.
- project `.bib` entries now produce author-year labels and natbib-style
parenthetical citations; inline `thebibliography` without labels remains
numeric, and the full natbib option surface is not implemented;
- display math is approximate; equation tags now sit at the right margin;
- display math is approximate; fraction boxes now reserve the full
numerator/denominator extent, and tags sit at the right margin;
- PNG/JPEG/BMP floats now reserve their image height, embed the raster with
its real pixel dimensions, centre the image within the float, and emit it
into the SVG preview as a PNG data URI. Table floats are centred with their