Development build 9f2b6e87
Typst文档简体中文版v0.15.1 + dev 9f2b6e87

Styles

Alternate letterforms within formulas.

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

函数

upright自始可用Go to source

Upright (non-italic) font style in math.

Expand展开示例
$ upright(A) != A $
math.upright(content) → content

body
content
必需参数
Question mark
位置参数
Question mark

The content to style.

italic自始可用Go 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
必需参数
Question mark
位置参数
Question mark

The content to style.

bold自始可用Go to source

Bold font style in math.

Expand展开示例
$ bold(A) := B^+ $
math.bold(content) → content

body
content
必需参数
Question mark
位置参数
Question mark

The content to style.