Skip to content

alias GlueParameter


(alias) GlueParameter = ("abovedisplayshortskip"|"abovedisplayskip"|"baselineskip"|"belowdisplayshortskip"|"belowdisplayskip"|"leftskip"|"lineskip"|"parfillskip"|"parskip"|"rightskip"...)
    | "abovedisplayshortskip" -- Glue above a display if the line preceding the display was short. Default: `0pt plus 3pt`.
    | "abovedisplayskip" -- Glue above a display. Default: `12pt plus 3pt minus 9pt`.
    | "baselineskip" -- The ‘ideal’ baseline distance between neighbouring boxes on a vertical list. Default: `12pt`.
    | "belowdisplayshortskip" -- Glue above/below a display if the line preceding the display was short. Default: `0pt plus 3pt` and `7pt plus 3pt minus 4pt` respectively.
    | "belowdisplayskip" -- Glue below a display. Default: `12pt plus 3pt minus 9pt`.
    | "leftskip" -- Glue that is placed to the left of all lines of a paragraph.
    | "lineskip" -- Glue added if the distance between bottom and top of neighbouring boxes is less than `\lineskiplimit`. Default: `1pt`.
    | "parfillskip" -- Glue that is placed between the last element of the paragraph and the line end. Default: `0pt plus 1fil`.
    | "parskip" -- Amount of glue added to the surrounding vertical list when a paragraph starts. Default: `0pt plus 1pt`.
    | "rightskip" -- Glue that is placed to the right of all lines of a paragraph.
    | "spaceskip" -- Interword glue if non-zero.
    | "splittopskip" -- Minimum distance between the top of what remains after a `\vsplit` operation, and the first item in that box. Default: `10pt`.
    | "tabskip" -- Amount of glue in between columns (rows) of an `\halign` (`\valign`).
    | "topskip" -- Minimum distance between the top of the page box and the baseline of the first box on the page. Default: `10pt`.
    | "xspaceskip" -- Interword glue if non-zero and `\spacefactor` ≥ 2000.

The glue parameters accept and return a userdata object that represents a glue_spec node.

Reference: