Info
This site is generated using the static site generator developed by the Typst Community. Please adjust the text content of this banner according to your usage requirements. At Typst GmbH's request, when publishing documentation, you must clearly indicate that it is non-official and display the version of Typst being documented. For details, refer to Issue #874 on typst/typst.
TypstDocumentEnglish
v0.dev.2025-09-12

angle

An angle describing a rotation.

Typst supports the following angular units:

  • Degrees: 180deg
  • Radians: 3.14rad

Example

#rotate(10deg)[Hello there!]
Preview

Definition
Definition
These functions and types can have related definitions. To access a definition, specify the name of the function or type, followed by the definition name separated by a period.

rad

Converts this angle to radians.

self.rad(
)->

deg

Converts this angle to degrees.

self.deg(
)->
Open official docs

Search