Skip to content

alias DirectionParameter


(alias) DirectionParameter = ("bodydir"|"mathdir"|"pagedir"|"pardir"|"textdir")
    | "bodydir" -- The direction for vboxes, including the main body of text. Default: `TLT`.
    | "mathdir" -- The direction for mathematics. Default: `TLT`.
    | "pagedir" -- The direction for pages (`\shipout`). Default: `TLT`.
    | "pardir" -- The direction for paragraphs. Default: `TLT`.
    | "textdir" -- The direction for text and hboxes. Default: `TLT`.

The direction parameters are read-only and return a Lua string.

Reference: