Commit Graph
69 Commits
Author SHA1 Message Date
texrra 8c42f2de2f Add Fraktur letters, infix fractions and middle delimiters
- bundle eufm10 (TFM + Type1), add the MathFraktur face and map \mathfrak
  onto it, including PDF embedding and width lookup;
- parse TeX's infix fractions (\over, \atop, \choose, \brace,
  \brack, \overwithdelims, \atopwithdelims): the rest of the current
  row becomes the denominator, ar records whether a rule is drawn, and the
  painter no longer emits parentheses (a \frac painter bug) and only draws
  the bar for \over forms;
- add MathAtom::Middle, size top-level middle delimiters with the enclosing
  \left/\right group through the CMEX size classes, and paint
  SizedDelimiter at its selected size instead of the base glyph;
- skip the parser's '\u{0}' math spaces before \big, \middle,
  \left and the withdelims delimiters, so \big ( parses like \big(.

560 workspace tests (381 route-D unit).
2026-10-24 12:28:33 +08:00
gloamxun cb40cc4634 Draw mathbb letters from msbm10 2026-10-24 12:14:54 +08:00
gloamxun e229809581 Draw mathcal letters from cmsy10 2026-10-24 03:49:55 +08:00
gloamxun 66ceabad0e Draw big operators with cmex10 outlines 2026-10-24 03:46:50 +08:00
gloamxun a07d93510f Map math alphabets onto Computer Modern Type1 faces 2026-10-24 03:38:53 +08:00
gloamxun a95cf8092e Embed math italic letters as Computer Modern Type1 outlines 2026-10-24 03:35:33 +08:00
gloamxun bb897411d0 Number equation environments in route-D 2026-10-24 01:57:18 +08:00
gloamxun 3cbfdabe03 Space math atoms with the full TeX class table 2026-10-24 01:51:10 +08:00
gloamxun f7e89c78a2 Select CMEX delimiter sizes for left and right 2026-10-24 01:47:42 +08:00
gloamxun 4c2aefd490 Use CMEX size variants for big math delimiters 2026-10-24 01:42:49 +08:00
gloamxun 03afc828f3 Use cmsy10 symbol metrics in route-D formulas 2026-10-24 01:38:15 +08:00
gloamxun 8f675bcabd Use Computer Modern math metrics for route-D formulas 2026-10-24 01:31:51 +08:00
gloamxun c9ad1e209a Split wide display formulas into lines 2026-10-24 01:26:29 +08:00
gloamxun 6dd4f6bf83 Offset math scripts by the base italic correction 2026-10-20 21:34:09 +08:00
gloamxun f909e8199c Parse cmr10 TFM metrics for route-D math 2026-10-20 20:44:52 +08:00
gloamxun b9455e0438 Parse big-delimiter control sequences 2026-10-20 19:29:42 +08:00
gloamxun 72f7cfaf2a Grow left-right delimiters with tall bodies 2026-10-20 19:28:33 +08:00
gloamxun b281738084 Parse middle delimiters as control sequences 2026-10-20 19:27:14 +08:00
gloamxun 51d82d7e43 Parse control-sequence delimiters after left and right 2026-10-20 19:26:13 +08:00
gloamxun c7b0124369 Let mathop take limits below its body 2026-10-20 19:21:15 +08:00
gloamxun ae8f81b1a2 Place starred operatorname limits below the operator 2026-10-20 19:20:18 +08:00
gloamxun b8a135d2b6 Draw cancel and bcancel math marks 2026-10-20 19:19:13 +08:00
gloamxun 9690dbdbed Add dot and check accent commands 2026-10-20 19:17:14 +08:00
gloamxun dc8282f707 Add common fence delimiter symbols 2026-10-20 19:15:16 +08:00
gloamxun df511602cf Support bmod and pmod 2026-10-20 19:13:53 +08:00
gloamxun f88fa7fd9d Ignore numbering and limits control words in math 2026-10-20 19:09:44 +08:00
gloamxun c72f612431 Accept the starred operatorname form 2026-10-20 19:09:03 +08:00
gloamxun f3bbe4098b Parse operatorname as upright math text 2026-10-20 19:08:16 +08:00
gloamxun ab35e280f1 Accept tfrac, dfrac and cfrac as fraction aliases 2026-10-20 19:07:28 +08:00
gloamxun e05caa351b Add explicit math spacing commands 2026-10-20 19:03:07 +08:00
gloamxun 5a9571f792 Preserve math spaces as control-word terminators and text spaces 2026-10-20 19:01:33 +08:00
gloamxun 6876935e60 Treat math style declarations as transparent 2026-10-20 19:00:01 +08:00
gloamxun 946f8b1b76 Paint math atoms in the route-D display list 2026-10-20 13:46:54 +08:00
gloamxun bdf3279aed Add the mathstrut item 2026-10-20 13:36:37 +08:00
gloamxun 10ba5c7243 Give mathop its own spacing class 2026-10-20 13:35:00 +08:00
gloamxun 30464dd214 Add the double-arrow math accent 2026-10-20 13:32:48 +08:00
gloamxun 0d3067a86d Add the mathring accent 2026-10-20 13:32:05 +08:00
gloamxun f18fc5187f Parse substack into stacked math rows 2026-10-20 13:30:56 +08:00
gloamxun cd3434ff8e Attach limits labels to overbrace and underbrace 2026-10-20 13:29:02 +08:00
gloamxun 76cc4035ea Add widecheck and dddot math accents 2026-10-20 13:28:10 +08:00
gloamxun cefc3e5289 Parse over-arrow math accents 2026-10-20 13:27:30 +08:00
gloamxun 7802df54a3 Support stakrel as an overset stack 2026-10-20 13:26:49 +08:00
gloamxun af8a34c2e2 Model boxed math atoms 2026-10-20 13:24:02 +08:00
gloamxun a0bb8be2ac Add the mathinner spacing class 2026-10-20 13:23:28 +08:00
gloamxun 33125d1f16 Keep relation spacing for pmod and negated atoms 2026-10-20 13:20:42 +08:00
gloamxun fd3f0ffae5 Model bmod and pmod math spacing 2026-10-20 13:19:28 +08:00
gloamxun 3639dc0f20 Model negated math atoms 2026-10-20 13:16:54 +08:00
gloamxun e650177585 Support directional smash options 2026-10-20 13:10:40 +08:00
gloamxun c311938129 Add smash math boxes 2026-10-20 13:10:02 +08:00
gloamxun 4e45a354fe Add phantom math boxes 2026-10-20 13:09:18 +08:00