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

    Type Alias DisplayMathVariant

    DisplayMathVariant:
        | "bracket"
        | "equation"
        | "equation*"
        | "displaymath"
        | "align"
        | "align*"
        | "gather"
        | "gather*"
        | "split"

    Which construct wrote a display. Not cosmetic: the variant decides whether the display is numbered, whether it has alignment points, and whether it may carry more than one line — three questions the layout and numbering chunks both ask, and which cannot be answered from the TeX string once it is one.

    This union is the declared scope for display math, as D41 §5 requires it to be: equation, equation*, displaymath, align, align*, gather and split, plus \[…\] (bracket, which has no environment name). Every other amsmath display — multline, alignat, flalign, gather*, subequations — is a row in BUILTIN_ENVIRONMENTS saying it was declined, because a subset engine whose subset is not precisely knowable cannot honour D38's promise that an unimplemented construct says so.

    Type Declaration

    • "bracket"

      \[…\] (and $$…$$, which the parser cannot tell apart from it). Never numbered.

    • "equation"
    • "equation*"
    • "displaymath"
    • "align"
    • "align*"
    • "gather"
    • "gather*"
    • "split"