Typst Fumadocs

Styles

Documentation for the styles functions.

Alternate letterforms within formulas.

These functions are distinct from the text function because math fonts contain multiple variants of each letter.

Upright (non-italic) font style in math.

Loading compiler...
#math.upright(
  body
) -> content

Parameters

Prop

Type

Italic font style in math.

For roman letters and greek lowercase letters, this is already the default.

#math.italic(
  body
) -> content

Parameters

Prop

Type

Bold font style in math.

Loading compiler...
#math.bold(
  body
) -> content

Parameters

Prop

Type

On this page