Add smash math boxes

This commit is contained in:
gloamxun committed 2026-10-20 13:10:02 +08:00
1 parent 4e45a354fe
commit c311938129
2 files changed
+34

No files matched your search

+1
View File
@@ -113,6 +113,7 @@ a single cost function.
- `MathAtom::Accent { accent, base }` parses `\hat`, `\widehat`,
`\tilde`, `\widetilde`, `\bar`, `\overline` and `\vec`; it adds
accent height without changing the base width.
- `MathAtom::Smash { body, top, bottom }` implements `\smash` (zero height/depth).
- `MathAtom::Phantom { body, horizontal, vertical }` implements
`\phantom`, `\hphantom`, `\vphantom` dimension-only boxes.
- `MathAtom::BigOperator { name }` gives `\sum`/`\prod` 12pt width and