Skip to main content

Module layout

Module layout 

Source
Expand description

AST → TeX-faithful MathBox. TeX-faithful math box model. Dimensions are Dim.

Structs§

MathBox
TeX-style box: width, height above baseline, depth below, italic correction.
MathParams
MATH-table parameters used by the layout engine.
NumberingConfig
Counter style for a render (or a sequence of layout_with_numbering calls).
NumberingState
Mutable numbering / label table. Survives across layout_with_numbering calls.

Enums§

BoxContent
What a box contains.
MathStyle
Math style, including cramped variants.
NumberFormat
Wrapper around the number body.
NumberStyle
How auto equation numbers are written.

Functions§

layout
Lay out node in style using STIX Two Math metrics.
layout_with_numbering
Lay out with a caller-owned equation counter and \label / \ref table.