Add phantom math boxes

This commit is contained in:
gloamxun committed 2026-10-20 13:09:18 +08:00
1 parent 247cc8bd37
commit 4e45a354fe
2 files changed
+41

No files matched your search

+2
View File
@@ -113,6 +113,8 @@ 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::Phantom { body, horizontal, vertical }` implements
`\phantom`, `\hphantom`, `\vphantom` dimension-only boxes.
- `MathAtom::BigOperator { name }` gives `\sum`/`\prod` 12pt width and
`\int` 8pt width with larger height/depth than text.
- `MathAtom::Limits { base, sub, sup }` gives `\sum`, `\prod`, `\int`,