Glyph connector 2026-11-05
A glyph connector is the end portion of a glyph part intended to overlap a neighbouring part in a mathematical glyph assembly. An OpenType MATH table gives start and end connector lengths along the extension direction: left/right for a horizontal assembly and bottom/top for a vertical one.[ref]
Let adjacent parts have full advances , joining connector lengths , and minimum overlap . An allowed overlap must satisfy
The bounds come from the available connector material and minConnectorOverlap.[ref]
For invented dimensions in font units, choose , , , and . Then , giving . A target extent 1030 requires overlap 70 and is feasible. A target extent 1000 requires overlap 100, exceeding the second connector's length, so this pair cannot produce it.
These are construction advances, rather than measured ink bounds. Connector data permit controlled changes of extent while other geometry keeps the parts aligned. The mathematical glyph assembly still needs placement relative to the text baseline.
A mathematical font constant is a font-specific parameter used in mathematical typesetting. The MathConstants portion of an OpenType MATH table supplies distances, percentages and other parameters, including the Math axis offset and script scaling.[ref]
For an invented distance example, suppose a computer font uses 1000 font units per em and specifies fractionRuleThickness as 40 font units. At 25 pixels per em, the ideal typeset fraction bar thickness is
At 50 pixels per em, the same stored value gives 2 pixels before rasterization adjustments. A percentage value such as 80, however, is a ratio and must not be converted as though it meant 80 font units.
Keeping the units explicit prevents plausible-looking scale errors. Suggested values in the specification guide font design; they are not universal dimensions shared by every computer font.
A mathematical glyph assembly constructs an extended mathematical shape from positioned glyph parts. An OpenType MATH table records each part's full advance and glyph connectors; extender parts may repeat, with overlaps joining neighbouring pieces.[ref]
For an invented vertical assembly, take bottom, middle and top parts with advances 500, 400 and 500 font units. Give each joining connector length 150 and require at least 80 font units of overlap. Choosing overlaps of 100 is then allowed. Starting at zero puts the parts at offsets 0, 400 and 700, giving total extent
Repeating the middle part once, with another 100-unit overlap, adds and gives extent 1500. These are construction measurements along the growth direction, not a claim about a particular font's ink bounds. Positioning the assembled shape relative to the text baseline remains a separate layout choice.
A mathematical glyph variant is an alternative ready-made glyph supplied for a mathematical shape at a different extent. In an OpenType MATH table, each MathGlyphVariantRecord pairs a glyph index with its advanceMeasurement along the extension direction.[ref]
Consider an invented set of vertical variants with construction measurements 900, 1300 and 1800 font units. A selection policy seeking the smallest variant at least 1200 units tall chooses 1300; a target of 1700 chooses 1800. A target of 2000 exceeds the set and may need a mathematical glyph assembly if the font supplies suitable parts.
This discrete choice is useful for growing mathematical delimiters around tall expressions. The numbers are an explanatory selection example, not measurements of an installed computer font. A separately drawn taller glyph can change proportions without requiring every stroke to undergo the same uniform enlargement.
Mathematical typesetting 2026-11-05
Mathematical typesetting arranges symbolic expressions in two dimensions. It must coordinate computer fonts, glyph positioning, typesetting boxes and text baselines while preserving the expression's visible structure. A typeset fraction positions its components above and below a bar; superscripts, subscripts, square roots and mathematical delimiters impose other geometric relationships.[ref]
For example,
contains a superscript inside the upper component and a square root inside the lower component. Their dimensions help determine the height of the complete typeset fraction. A larger expression may then require larger surrounding mathematical delimiters. Laying out the smallest parts first makes this a recursive geometric construction.
An OpenType MATH table supplies font-specific information such as placement constants and suitable glyph variants. The table supplies data for layout; different implementations can use those data in different algorithms. TeX and LaTeX provide established authoring systems for expressing such mathematical structure.[ref]
The mathematical typesetting axis, or Math axis, is a horizontal alignment reference for a formula. Its offset from the text baseline is a mathematical font constant, represented by axisHeight in an OpenType MATH table.[ref]
For an invented coordinate example, choose upward-positive coordinates, put the text baseline at , and set the axis offset to font units in a computer font with 1000 font units per em. At 20 pixels per em, the axis is pixels above that baseline. A symmetric enclosing shape spanning to has midpoint , so its centre lies on the axis.
The typeset fraction bar is another useful alignment cue. The reference fixes relative placement; translating the whole formula also translates its baseline and axis.
Subscript 2026-11-05
A subscript is a component placed below the usual baseline of a base expression, commonly at a smaller size. It can label a term of a sequence, as in , or identify a matrix entry, as in . Its position does not by itself determine the mathematical meaning of the label.
In TeX, x_i attaches a single-token subscript, while x_{i+1} groups a compound subscript. In MathML, msub supplies a base and subscript as separate children. Their layout uses baseline shifts and clearances rather than putting both components on the ordinary text baseline.[ref]
For example, keeps together as one attached component. A mathematical typesetting style controls the treatment of the smaller expression. An OpenType MATH table can supply the font-specific placement data. This is why adding an underscore as an ordinary printed glyph would not reproduce the layout.
Superscript 2026-11-05
A superscript is a component raised relative to a base expression, commonly also reduced in size. An exponent in is one use. The superscript in can instead denote a derivative when that convention has been specified. The typographic position supports several meanings.
In TeX, x^2 supplies one token as the superscript and x^{n+1} groups a longer expression. In MathML, msup lays out the base and superscript separately, with vertical placement and gap constraints.[ref]
For example, the base and raised expression in
have different local baselines. A mathematical typesetting style determines how the raised expression is presented. When subscripts and superscripts are both attached, their mutual clearance also matters; independently moving each one without considering the other could cause a collision. An OpenType MATH table provides font-specific data used for these choices.
Typeset fraction 2026-11-05
A typeset fraction is a two-dimensional layout that places one expression above another, commonly with a horizontal rule between them. The components are laid out as typesetting boxes before they are assembled. In MathML, an mfrac element supplies the two components; mathematical typesetting style affects their presentation.[ref]
For example,
has a superscript in its upper component and a square root in its lower component. Their dimensions influence the space above and below the fraction rule. The expression's algebraic meaning and its geometry are related but distinct: the layout can contain arbitrary expressions, including ones whose values are not rational numbers.
A simple own box model makes the horizontal placement explicit. Suppose the component widths are and , and the layout adds a chosen side allowance . If both components are centred in width
their left offsets are and . This is an illustrative centring model; real layouts also use vertical clearances, rule thickness and font data from an OpenType MATH table.