翻訳済み
このページは日本語に翻訳済みです。
emph
ElementElement functions can be customized with set
and show
rules.
Element functions can be customized with
set
and show
rules.イタリック体への切り替えによるコンテンツの強調。
- 現在のテキストスタイルが
"normal"
の場合、これを"italic"
に変更します。 - 現在のテキストスタイルが既に
"italic"
あるいは"oblique"
の場合、"normal"
に戻します。
例
This is _emphasized._ \
This is #emph[too.]
#show emph: it => {
text(blue, it.body)
}
This is _emphasized_ differently.

構文
この関数には専用の構文もあります。
コンテンツを強調するには、単にアンダースコア(_
)で囲みます。ただし、これは単語の区切りにおいてのみ機能します。
単語の一部を強調する場合は、この関数を使用する必要があります。
引数Parameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
body
RequiredRequired parameters must be specified when calling the function.PositionalPositional parameters are specified in order, without names.
Required
Required parameters must be specified when calling the function.
Positional
Positional parameters are specified in order, without names.
強調するコンテンツ。