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

    Interface CaptionBlock

    \caption{...} inside a float. Only ever built inside a FloatBlock.content (doc/build.ts refuses one anywhere else), because a caption's number comes from the float's class and its setting is part of setting the float.

    interface CaptionBlock {
        content: Inline[];
        floatClass: FloatClass;
        kind: "caption";
        loc: SourceRef;
        marker: string;
        number: string | null;
    }

    Hierarchy

    • BlockBase
      • CaptionBlock
    Index
    content: Inline[]
    floatClass: FloatClass
    kind: "caption"
    marker: string

    Always present, so \listoffigures and \pageref can learn the caption's page.

    number: string | null

    "3" — \thefigure. Null only when the float class could not be established.