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

    Interface GlueSet

    How a box's glue was set when it was packed to a target size. Line breaking computes this once per line; placement then knows how wide each glue actually came out without re-solving. TeX's glue_set / glue_sign / glue_order.

    interface GlueSet {
        order: GlueOrder;
        ratio: number;
        sign: -1 | 0 | 1;
    }
    Index
    order: GlueOrder

    Only glue of this order participates; lower orders are frozen at natural.

    ratio: number

    Multiplier applied to each glue's stretch (or shrink) component.

    sign: -1 | 0 | 1

    1 stretching, -1 shrinking, 0 glue at natural size.