Expand description
TeX’s four math styles, cramping, and the propagation rules.
Style propagation is exact TeX (The TeXbook, chapter 17 / appendix G): scripts go D,T → S → SS with subscripts cramped; fraction interiors go D → T → S → SS with denominators cramped; radicands and accent bases are cramped at the current style; radical indices are set in scriptscript style unconditionally. Glyph sizes follow CM’s 10/7/5 pt family: 1.0 / 0.7 / 0.5.
style_walk is the normative propagation definition: the layout
stages consume the same walk, and the style-propagation fixtures lock it.
Structs§
- Style
Ctx - A style with its cramping state: the full layout context TeX threads top-down.
Enums§
Functions§
- style_
walk - Walk
nodein pre-order, callingvisiton every node with the style context it is laid out in. This is the normative propagation definition: