Commit 06e8f8b
committed
feat: implement math style and size switches in LaTeX parser
- Added functions to parse LaTeX commands for math styles (`\displaystyle`, `\textstyle`, `\scriptstyle`, `\scriptscriptstyle`) and font sizes (`\tiny`, `\scriptsize`, `\footnotesize`, `\small`, `\normalsize`, `\large`, `\Large`, `\LARGE`, `\huge`, `\Huge`).
- Updated the LaTeX definitions to utilize the new parsing functions.
- Enhanced the test suite to cover new functionality for math style and size switches, ensuring correct parsing and serialization.
- Adjusted existing tests to reflect changes in output structure for annotated expressions.1 parent f99b3b7 commit 06e8f8b
File tree
7 files changed
+288
-1765
lines changed- docs/plans
- src/compute-engine
- boxed-expression
- latex-syntax/dictionary
- test/compute-engine/latex-syntax
7 files changed
+288
-1765
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
1 | 13 | | |
2 | 14 | | |
3 | 15 | | |
| |||
This file was deleted.
0 commit comments