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

    Interface Discretionary

    A hyphenation point, or any break where the material differs depending on whether the break is taken: pre is appended to the line before the break, post starts the line after it, no is used when the break is not taken. Knuth–Plass needs this — a hyphen only exists in the broken case.

    interface Discretionary {
        kind: "disc";
        no: HNode[];
        penalty: number;
        post: HNode[];
        pre: HNode[];
    }
    Index
    kind: "disc"
    no: HNode[]
    penalty: number

    Cost of breaking here — TeX's \hyphenpenalty.

    post

    post: HNode[]
    pre: HNode[]