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

    Interface FloatBlock

    A figure/table environment: content that does not belong at the point it was written. This block does not carry a position — where it ends up is the page builder's answer (layout/float.ts), which is the whole meaning of the word float.

    interface FloatBlock {
        construct: string;
        content: Block[];
        floatClass: FloatClass;
        kind: "float";
        loc: SourceRef;
        placement: FloatPlacement;
        spanning: boolean;
    }

    Hierarchy

    • BlockBase
      • FloatBlock
    Index
    construct: string

    The environment name as written, figure* included — the construct for diagnostics.

    content: Block[]

    The float's material in source order, captions among it — a caption's position is content.

    floatClass: FloatClass
    kind: "float"
    placement: FloatPlacement
    spanning: boolean

    The * form, which spans both columns. article here is one-column, but a placer must still know.