Text
Documentation for functions related to Text in Typst.
Text styling.
The text function is of particular interest.
Definitions
| Name | Description | |
|---|---|---|
| — | highlight | Highlights text with a background color. |
| — | linebreak | Inserts a line break. |
| — | lorem | Creates blind text. |
| — | lower | Converts a string or content to lowercase. |
| — | overline | Adds a line over text. |
| — | raw | Raw text with optional syntax highlighting. |
| — | smallcaps | Displays text in small capitals. |
| — | smartquote | A language-aware quote that reacts to its context. |
| — | strike | Strikes through text. |
| — | sub | Renders text in subscript. |
| — | super | Renders text in superscript. |
| — | text | Customizes the look and layout of text in a variety of ways. |
| — | underline | Underlines text. |
| — | upper | Converts a string or content to uppercase. |