Parse left and right math delimiters

This commit is contained in:
gloamxun committed 2026-10-20 12:54:39 +08:00
1 parent c545c7ff9a
commit 41456b9d31
2 files changed
+65 -3

No files matched your search

+2
View File
@@ -104,6 +104,8 @@ overfull ratio 4.11, badness 6942. TeX rejects the underfull candidate under
its tolerance but still emits the moderately overfull 5-word line. Reproducing
this needs a two-pass tolerance algorithm with an emergency overfull pass, not
a single cost function.
- `MathAtom::Delimited { left, right, body }` and `\left...\right`
parsing grow the delimiter box with the body height/depth.
- `MathClass` and TeX's 0/3/4/5mu inter-atom table add spacing for
binary/relation/open/close/punctuation atoms in `MathAtom::Row`.
- `parse_math` converts a small TeX math subset (symbols, `{}` groups,