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

    Interface Penalty

    A priced break opportunity. <= -INFINITE_PENALTY forces a break, >= INFINITE_PENALTY forbids one, and everything between is a cost the breaker weighs against badness.

    interface Penalty {
        flagged: boolean;
        kind: "penalty";
        penalty: number;
    }
    Index
    flagged: boolean

    TeX's "flag": breaking here leaves a visible mark, so two in a row (two hyphenated lines) earn an extra demerit. Set on hyphenation breaks.

    kind: "penalty"
    penalty: number