Development build 586e1bd4
Typst文档简体中文版v0.15.1 + dev 586e1bd4

样式 [⚠️ need proofread]

公式中的备用字形。

这些函数与text函数不同,因为数学字体包含每个字母的多个变体。 [⚠️]

函数

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.