Add overbrace and underbrace math atoms

This commit is contained in:
gloamxun committed 2026-10-20 13:02:09 +08:00
1 parent 833253a936
commit 4e892005cd
2 files changed
+35

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::Brace { base, above }` parses `\overbrace`/`\underbrace` and
adds 2pt of height or depth.
- `MathAtom::Binomial { numerator, denominator }` parses
`\binom{n}{k}` / `\dbinom` / `\tbinom`; layout stacks the arguments with a
4pt delimiter allowance.