情報 / Info
当サイトは、Typst GmbHの許諾を得て、日本語コミュニティ「Typst Japanese Community」がTypst v0.14.0の公式ドキュメントを翻訳したものです。誤訳や古い情報が含まれている可能性があるため、公式ドキュメントとの併用を推奨します。翻訳の改善やサイトの機能向上について、GitHubでのIssueやPull Requestを歓迎します。コミュニティにご興味のある方はDiscordサーバー「くみはんクラブ」にぜひご参加ください。
This site provides a Japanese translation of the Typst v0.14.0 documentation maintained by the "Typst Japanese 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".
部分的に翻訳済み

このページは部分的に翻訳されています。一部原文の内容が含まれています。

Variants

数式中の別書体。

数式フォントは各文字に対して複数の異体字を備えているため、これらの関数はtext関数とは異なります。

Function

serif

数式中のセリフ(ローマン)フォントスタイル。

これがデフォルトです。

math.serif()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

スタイルを適用するコンテンツ。

sans

数式中のサンセリフフォントスタイル。

$ sans(A B C) $
Preview
math.sans()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

スタイルを適用するコンテンツ。

frak

数式中のフラクトゥールフォントスタイル。

$ frak(P) $
Preview
math.frak()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

スタイルを適用するコンテンツ。

mono

数式中の等幅フォントスタイル。

$ mono(x + y = z) $
Preview
math.mono()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

スタイルを適用するコンテンツ。

bb

数式中の黒板太字(double-struck)フォントスタイル。

大文字のラテン文字では、黒板太字は、symbolsにあるように、NNRRのような形式でも使用できます。

$ bb(b) $
$ bb(N) = NN $
$ f: NN -> RR $
Preview
math.bb()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

スタイルを適用するコンテンツ。

cal

数式中のカリグラフィーフォントスタイル。

Let $cal(P)$ be the set of ...
Preview

This is the default calligraphic/script style for most math fonts. See scr for more on how to get the other style (roundhand).

math.cal()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

The content to style.

scr

Script (roundhand) font style in math.

$scr(L)$ is not the set of linear
maps $cal(L)$.
Preview

There are two ways that fonts can support differentiating cal and scr. The first is using Unicode variation sequences. This works out of the box in Typst, however only a few math fonts currently support this.

The other way is using font features. For example, the roundhand style might be available in a font through the stylistic set 1 (ss01) feature. To use it in Typst, you could then define your own version of scr like in the example below.

#let scr(it) = text(
  stylistic-set: 1,
  $cal(it)$,
)

We establish $cal(P) != scr(P)$.
Preview
math.scr()->

body
必須引数
必須引数
必須引数は、関数を呼び出す際に必ず指定しなければなりません。
位置引数
位置引数
位置引数は順序通りに指定することで、引数名を省略して設定できます。

スタイルを適用するコンテンツ。

原文(英語)を開く

検索