Commit Graph
108 Commits
Author SHA1 Message Date
gloamxun e303f7852f Select real Computer Modern small caps
Add the cmcsc10 face for \scshape and \textsc, including its Type1 outline, and compose the sc shape with the surrounding family and series. Bold small caps substitute cmbx10 and a later shape command wins, matching NFSS.
2026-10-24 12:52:15 +08:00
gloamxun 9140990a7d Add sans-serif bold and italic faces
Map \sffamily with \bfseries or \itshape onto the bundled cmssbx10 and cmssi10 metrics, with their Type1 outlines embedded alongside the other Computer Modern faces. Bold italic sans substitutes cmssbx10, matching the OT1 fallback in TeX.
2026-10-24 12:49:30 +08:00
gloamxun cce656a407 Lay out align and gather displays row by row 2026-10-24 12:39:02 +08:00
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 6446de6b6b Embed math symbols as Computer Modern Type1 outlines 2026-10-24 03:42:45 +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 4cf64a4d55 Compose nested inline faces relative to the surrounding run 2026-10-24 02:15:08 +08:00
gloamxun 53fabe95db Paint inline NFSS runs with their own faces 2026-10-24 02:09:56 +08:00
gloamxun bb897411d0 Number equation environments in route-D 2026-10-24 01:57:18 +08:00
gloamxun f7e89c78a2 Select CMEX delimiter sizes for left and right 2026-10-24 01:47:42 +08:00
gloamxun 8c3e410ffc Insert noalign glue between alignment rows 2026-10-24 01:10:49 +08:00
gloamxun c3e75bd244 Draw booktabs rules with their own weights and spans 2026-10-24 01:03:53 +08:00
gloamxun d1b93ac9be Wrap p-column cells and keep wrapped rows splittable 2026-10-24 00:57:09 +08:00
gloamxun 00c23a3511 Set vertical glue for ragged and flushed pages 2026-10-23 04:13:12 +08:00
gloamxun 49bd9b63e6 Model TeX interline glue and parskip 2026-10-23 01:36:26 +08:00
gloamxun 8993186005 Support hang indentation and parshape measures 2026-10-23 01:18:19 +08:00
gloamxun d2df1907be Keep in-text floats in the body flow 2026-10-21 12:55:42 +08:00
gloamxun 830e1f851b Reserve textfloatsep between floats and body text 2026-10-21 12:51:01 +08:00
gloamxun 1014713ec0 Reserve floatsep between stacked floats 2026-10-21 12:46:24 +08:00
gloamxun ff3fff343d Paint ligature boxes as their component letters 2026-10-20 22:59:31 +08:00
gloamxun 67915402a6 Use CMR10 advances for route-D paragraphs and PDF text 2026-10-20 22:55:38 +08:00
gloamxun 40ed26e339 Right-align route-D paragraphs and preview flushright blocks 2026-10-20 22:23:47 +08:00
gloamxun 472f778e75 Center route-D paragraphs and preview center blocks 2026-10-20 22:12:39 +08:00
gloamxun 8468c36daa Embed and paint a sans paragraph face 2026-10-20 21:37:37 +08:00
gloamxun 1633e441de Paint monospace paragraphs with the embedded mono face 2026-10-20 21:35:37 +08:00
gloamxun 6dd4f6bf83 Offset math scripts by the base italic correction 2026-10-20 21:34:09 +08:00
gloamxun 6a7e79fa03 Stack insertion classes from the page bottom 2026-10-20 21:32:15 +08:00
gloamxun 875f8a7600 Expose route-D pages through a preview endpoint 2026-10-20 21:15:35 +08:00
gloamxun afe59fc7b4 Center scaled math delimiters on the baseline 2026-10-20 19:36:20 +08:00
gloamxun 72f7cfaf2a Grow left-right delimiters with tall bodies 2026-10-20 19:28:33 +08:00
gloamxun b8a135d2b6 Draw cancel and bcancel math marks 2026-10-20 19:19:13 +08:00
gloamxun 7376acffb2 Draw negated math with a diagonal rule 2026-10-20 19:13:09 +08:00
gloamxun 4de329c327 Add a three-paragraph incremental article demo 2026-10-20 19:04:48 +08:00
gloamxun e05caa351b Add explicit math spacing commands 2026-10-20 19:03:07 +08:00
gloamxun c00edaf357 Paint binomial parentheses around stacked arguments 2026-10-20 18:55:16 +08:00
gloamxun 0446a35b8c Paint sqrt degrees before the radical 2026-10-20 18:53:28 +08:00
gloamxun 17d41cbffd Paint overbrace and underbrace bars 2026-10-20 18:52:34 +08:00
gloamxun 3f1dd0c077 Paint math limits above and below their base 2026-10-20 18:51:49 +08:00
gloamxun 34c4f0d84b Offset route-D paragraphs by their left skip 2026-10-20 18:49:27 +08:00
gloamxun e791c94cfe Paint float content in the route-D display list 2026-10-20 18:40:37 +08:00
gloamxun 6b74a17312 Carry paragraph font faces through the display list 2026-10-20 18:32:33 +08:00
gloamxun 96c88d2787 Reflect display font faces in SVG output 2026-10-20 18:30:12 +08:00
gloamxun d40595c7e5 Add per-face PDF font resources 2026-10-20 18:27:14 +08:00
gloamxun 1d9b152beb Normalize halign geometry to scaled points 2026-10-20 18:23:29 +08:00
gloamxun af50f1afa1 Paint route-D float placeholders at page edges 2026-10-20 18:20:32 +08:00
gloamxun 6e1ee13d68 Paint a footnote separator above insertions 2026-10-20 18:19:42 +08:00