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

    Interface Argument

    One argument slot on a command or environment: {...} or [...].

    Only commands/environments @unified-latex has a known signature for (LaTeX/CTAN built-ins — \section, \newcommand, itemize's optional label, etc.) get any Arguments at all; see CommandNode. A slot the signature defines but the source didn't write still appears here with bracket: null and empty content, so a consumer can always index args positionally instead of guessing how many were typed.

    interface Argument {
        bracket: "{" | "[" | null;
        content: LatexNode[];
        loc: SourceSpan;
    }
    Index
    bracket: "{" | "[" | null

    The delimiter pair actually found in the source: "{" for a brace-delimited argument, "[" for a bracket-delimited (conventionally optional) one, or null when the slot exists in the signature but was not written — content is then always [].

    content: LatexNode[]