Support explicit math atom classes

This commit is contained in:
gloamxun committed 2026-10-20 13:05:00 +08:00
1 parent 3fb2b57f21
commit 4702bf6ceb
2 files changed
+37 -1

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::Classed { class, body }` implements `\mathord`, `\mathop`,
`\mathbin`, `\mathrel`, `\mathopen`, `\mathclose`, `\mathpunct` and
`\mathinner` spacing overrides.
- `MathAtom::SizedDelimiter { delimiter, size }` parses
`\big`/`\Big`/`\bigg`/`\Bigg` (and `l`/`r` variants); extents are 8/11/14/17pt.
- `MathAtom::Stack { top, base, above }` parses `\overset`/`\underset`;