Add binomial math atoms

This commit is contained in:
gloamxun committed 2026-10-20 13:01:38 +08:00
1 parent 639f5e8f8b
commit 833253a936
2 files changed
+39

No files matched your search

+3
View File
@@ -110,6 +110,9 @@ 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::Binomial { numerator, denominator }` parses
`\binom{n}{k}` / `\dbinom` / `\tbinom`; layout stacks the arguments with a
4pt delimiter allowance.
- Named operators (`\max`, `\min`, `\sin`, `\log`, `\det`, ...) parse as
upright `Text` atoms.
- `MathAtom::Underline { base }` parses `\underline{...}` and adds 2pt depth