Typst Fumadocs

Subscript

Documentation for the `sub` function.

Renders text in subscript.

The text is rendered smaller and its baseline is lowered.

Example

Loading compiler...
#sub(
  typographic: bool,
  baseline: auto | length,
  size: auto | length,
  body
) -> content

Parameters

Prop

Type

On this page