Documentation

Styles

Alternate letterforms within formulas.

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

Functions

uprightGo to source

Upright (non-italic) font style in math.

ExpandView example
$ upright(A) != A $
math.upright(content) → content

body
content
RequiredPositional
Question mark

The content to style.

italicGo to source

Italic font style in math.

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

math.italic(content) → content

body
content
RequiredPositional
Question mark

The content to style.

boldGo to source

Bold font style in math.

ExpandView example
$ bold(A) := B^+ $
math.bold(content) → content

body
content
RequiredPositional
Question mark

The content to style.