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

    Interface LineBreakResult

    interface LineBreakResult {
        breaks: LineBreak[];
        demerits: number;
        diagnostics: {
            code?:
                | "syntax"
                | "unsupported"
                | "undefined-command"
                | "undefined-environment"
                | "undefined-reference"
                | "duplicate-label"
                | "missing-file"
                | "missing-font"
                | "overfull-box"
                | "underfull-box"
                | "budget-exceeded"
                | "limit-exceeded"
                | "stopped"
                | "internal";
            column?: number;
            construct?: string;
            file: string;
            line: number;
            message: string;
            severity: "error"
            | "warning"
            | "info";
        }[];
        hlist: HList;
        lines: HBox[];
        pass: 1
        | 2
        | 3;
        steps: number;
    }
    Index
    breaks: LineBreak[]
    demerits: number

    Total demerits of the chosen breaking.

    diagnostics: {
        code?:
            | "syntax"
            | "unsupported"
            | "undefined-command"
            | "undefined-environment"
            | "undefined-reference"
            | "duplicate-label"
            | "missing-file"
            | "missing-font"
            | "overfull-box"
            | "underfull-box"
            | "budget-exceeded"
            | "limit-exceeded"
            | "stopped"
            | "internal";
        column?: number;
        construct?: string;
        file: string;
        line: number;
        message: string;
        severity: "error"
        | "warning"
        | "info";
    }[]
    hlist: HList

    The list the breaks index into — the input after finish and, if the second pass was needed, after hyphenation. Not the caller's array.

    lines: HBox[]

    The packed lines, in order. Each is set to its measure; read glueSet to place glyphs.

    pass: 1 | 2 | 3

    1 pretolerance, 2 tolerance with hyphenation, 3 emergency stretch.

    steps: number

    Active-node visits, for the engine's step budget.