Skip to main content

Custom Types

Many CeTZ functions expect data in certain formats which we will call types. Note that these are actually made up of Typst primitives.

coordinate

A position on the canvas specified by any coordinate system. See Coordinate Systems.

number

Any of float, int or length.

style

Named arguments (or a dictionary if used for a single argument) of style key-values.