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

Text

Text styling.

The text function is of particular interest.

Definition

  • Highlights text with a background color.
  • Inserts a line break.
  • Creates blind text.
  • Converts a string or content to lowercase.
  • Adds a line over text.
  • Raw text with optional syntax highlighting.
  • Displays text in small capitals.
  • A language-aware quote that reacts to its context.
  • Strikes through text.
  • Renders text in subscript.
  • Renders text in superscript.
  • Customizes the look and layout of text in a variety of ways.
  • Underlines text.
  • Converts a string or content to uppercase.
Open official docs

Search