Skip to content

alias ReadWriteDimensionParameter


(alias) ReadWriteDimensionParameter = ("boxmaxdepth"|"delimitershortfall"|"displayindent"|"displaywidth"|"emergencystretch"|"hangindent"|"hfuzz"|"hoffset"|"hsize"|"lineskiplimit"...)
    | "boxmaxdepth" -- Maximum allowed depth of boxes. Default: `\maxdimen`.
    | "delimitershortfall" -- Size of the part of a delimited formula that is allowed to go uncovered by a delimiter. Default: `5pt`.
    | "displayindent" -- Distance by which the box, in which the display is centred, is indented owing to hanging indentation.
    | "displaywidth" -- Width of the box in which the display is centred.
    | "emergencystretch" -- (TeX3 only) Assumed extra stretchability in lines of a paragraph.
    | "hangindent" -- If positive, this indicates indentation from the left margin; if negative, this is the negative of the indentation from the right margin.
    | "hfuzz" -- Excess size that TeX tolerates before it considers a horizontal box overfull.
    | "hoffset" -- Distance by which the page is shifted right with respect to the reference point.
    | "hsize" -- Line width used for typesetting a paragraph. Default: `6.5in`.
    | "lineskiplimit" -- Distance to be maintained between the bottom and top of neighbouring boxes on a vertical list. Default: `0pt`.
    | "mathsurround" -- Kern amount placed before and after in-line formulas.
    | "maxdepth" -- Maximum depth of the page box. Default: `4pt`.
    | "nulldelimiterspace" -- Width taken for empty delimiters. Default: `1.2pt`.
    | "overfullrule" -- Width of the rule that is printed to indicate overfull horizontal boxes.
    | "pagebottomoffset" -- To set the bottom margin in non-TLT text.
    | "pageheight" -- The page height of the PDF output (the screen, the paper, etc.).
    | "pageleftoffset" -- To set the left margin in non-TLT text.
    | "pagerightoffset" -- To set the right margin in non-TLT text.
    | "pagetopoffset" -- To set the top margin in non-TLT text.
    | "pagewidth" -- The page width of the PDF output (the screen, the paper, etc.).
    | "parindent" -- Width of the indentation box added in front of a paragraph. Default: `20pt`.
    | "predisplaysize" -- Effective width of the line preceding the display.
    | "scriptspace" -- Extra space after subscripts and superscripts. Default: `0.5pt`.
    | "splitmaxdepth" -- Maximum depth of a box split off by a `\vsplit` operation. Default: `\maxdimen`.
    | "vfuzz" -- Excess size that TeX tolerates before it considers a vertical box overfull.
    | "voffset" -- Distance by which the page is shifted right/down with respect to the reference point.
    | "vsize" -- Height of the page box. Default: `8.9in`.
    | "prevdepth" -- Depth of the last box added to a vertical list as it is perceived by TeX.
    | "prevgraf" -- The number of lines in the paragraph last added to the vertical list.
    | "spacefactor" -- `1000` times the ratio by which the stretch (shrink) component of the interword glue should be multiplied (divided).

The dimension parameters accept Lua numbers (signifying scaled points) or strings (with included dimension). The result is always a number in scaled points. These are read-write:

Reference: