Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Interface MathLine

    One \\-separated line of a display. A single-line display (equation, \[…\]) has exactly one of these, so nothing downstream needs two shapes.

    interface MathLine {
        loc: SourceRef;
        marker: string | null;
        number: string | null;
        source: string;
    }
    Index
    marker: string | null

    The marker whose page a \pageref to this line resolves through. Non-null exactly when number is. doc/build.ts also emits a MarkerBlock for it immediately before the display, so the two-pass cycle closes today; see the note there about why that placement is provisional.

    number: string | null

    \theequation for this line — "3", the same text a \ref to it prints. Null when the line is not numbered: a starred variant, a \[…\], or a line carrying \nonumber/\notag.

    source: string

    This line's TeX, without the environment wrapper — a &= b, not \begin{align}a &= b\end{align}. DisplayMathBlock.source is the string to hand a renderer; this one exists so numbering and measurement can talk about a line, and so & alignment points can be found without re-splitting.