Typst Fumadocs

Rotate

Documentation for the `rotate` function.

Rotates content without affecting layout.

Rotates an element by a given angle. The layout will act as if the element was not rotated unless you specify reflow: true.

Example

Loading compiler...
#rotate(
  angle,
  origin: alignment,
  reflow: bool,
  body
) -> content

Parameters

Prop

Type

On this page