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

emph元素
Question mark
自始可用Go to source

Emphasizes content by toggling italics.

Example

This is _emphasized._ \ This is #emph[too.] #show emph: it => { text(blue, it.body) } This is _emphasized_ differently.

Syntax

This function also has dedicated syntax: To emphasize content, simply enclose it in underscores (_). Note that this only works at word boundaries. To emphasize part of a word, you have to use the function.

参数
Question mark

emph(content) → content

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

The content to emphasize.