Add overset and underset math atoms

This commit is contained in:
gloamxun committed 2026-10-20 13:02:42 +08:00
1 parent 4e892005cd
commit 15741c0b9c
2 files changed
+39

No files matched your search

+2
View File
@@ -110,6 +110,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::Stack { top, base, above }` parses `\overset`/`\underset`;
the decoration contributes 1pt of extra separation.
- `MathAtom::Brace { base, above }` parses `\overbrace`/`\underbrace` and
adds 2pt of height or depth.
- `MathAtom::Binomial { numerator, denominator }` parses