言語アイコン
未翻訳

このページはまだ翻訳されていません。原文の内容が表示されています。

super
Element
ヘルプアイコン

Renders text in superscript.

The text is rendered smaller and its baseline is raised.

Example

1#super[st] try!
Preview

引数
ヘルプアイコン

typographic
Settable
ヘルプアイコン

Whether to prefer the dedicated superscript characters of the font.

If this is enabled, Typst first tries to transform the text to superscript codepoints. If that fails, it falls back to rendering raised and shrunk normal letters.

デフォルト値:

true

右矢印アイコン
例を表示
N#super(typographic: true)[1]
N#super(typographic: false)[1]
Preview

baseline
Settable
ヘルプアイコン

The baseline shift for synthetic superscripts. Does not apply if typographic is true and the font has superscript codepoints for the given body.

デフォルト値:

-0.5em

size
Settable
ヘルプアイコン

The font size for synthetic superscripts. Does not apply if typographic is true and the font has superscript codepoints for the given body.

デフォルト値:

0.6em

body
Required
ヘルプアイコン
Positional
ヘルプアイコン

The text to display in superscript.