Typst Fumadocs

Scale

Documentation for the `scale` function.

Scales content without affecting layout.

Lets you mirror content by specifying a negative scale on a single axis.

Example

Loading compiler...
#scale(
  factor: auto | length | ratio,
  x: auto | length | ratio,
  y: auto | length | ratio,
  origin: alignment,
  reflow: bool,
  body
) -> content

Parameters

Prop

Type

On this page