Typst Fumadocs

Text

Documentation for functions related to Text in Typst.

Text styling.

The text function is of particular interest.

Definitions

NameDescription
highlightHighlights text with a background color.
linebreakInserts a line break.
loremCreates blind text.
lowerConverts a string or content to lowercase.
overlineAdds a line over text.
rawRaw text with optional syntax highlighting.
smallcapsDisplays text in small capitals.
smartquoteA language-aware quote that reacts to its context.
strikeStrikes through text.
subRenders text in subscript.
superRenders text in superscript.
textCustomizes the look and layout of text in a variety of ways.
underlineUnderlines text.
upperConverts a string or content to uppercase.

On this page