情報アイコン
情報 / Info
当サイトは、Typst GmbHの許諾を得て、日本語コミュニティ「Typst Japan Community」がTypst v0.13.1の公式ドキュメントを翻訳したものです。誤訳や古い情報が含まれている可能性があるため、公式ドキュメントとの併用を推奨します。翻訳の改善やサイトの機能向上について、GitHubでのIssueやPull Requestを歓迎します。コミュニティにご興味のある方はDiscordサーバー「くみはんクラブ」にぜひご参加ください。
This site provides a Japanese translation of the Typst v0.13.1 documentation maintained by the "Typst Japan Community" with permission from Typst GmbH. We recommend using this alongside the official documentation. We welcome contributions through Issues and Pull Requests on our GitHub repository for both translation improvements and website enhancements. Feel free to join our Discord server "Kumihan Club".
言語アイコン
未翻訳

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

smallcaps
Element
ヘルプアイコン

Displays text in small capitals.

Example

Hello \
#smallcaps[Hello]
Preview

Smallcaps fonts

By default, this uses the smcp and c2sc OpenType features on the font. Not all fonts support these features. Sometimes, smallcaps are part of a dedicated font. This is, for example, the case for the Latin Modern family of fonts. In those cases, you can use a show-set rule to customize the appearance of the text in smallcaps:

#show smallcaps: set text(font: "Latin Modern Roman Caps")

In the future, this function will support synthesizing smallcaps from normal letters, but this is not yet implemented.

Smallcaps headings

You can use a show rule to apply smallcaps formatting to all your headings. In the example below, we also center-align our headings and disable the standard bold font.

#set par(justify: true)
#set heading(numbering: "I.")

#show heading: smallcaps
#show heading: set align(center)
#show heading: set text(
  weight: "regular"
)

= Introduction
#lorem(40)
Preview

引数
ヘルプアイコン

all
Settable
ヘルプアイコン

Whether to turn uppercase letters into small capitals as well.

Unless overridden by a show rule, this enables the c2sc OpenType feature.

デフォルト値:

false

右矢印アイコン
例を表示
#smallcaps(all: true)[UNICEF] is an
agency of #smallcaps(all: true)[UN].
Preview

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

The content to display in small capitals.

検索