情報アイコン
情報 / 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".
言語アイコン
未翻訳

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

direction

The four directions into which content can be laid out.

Possible values are:

  • ltr: Left to right.
  • rtl: Right to left.
  • ttb: Top to bottom.
  • btt: Bottom to top.

These values are available globally and also in the direction type's scope, so you can write either of the following two:

#stack(dir: rtl)[A][B][C]
#stack(dir: direction.rtl)[A][B][C]
Preview

定義
ヘルプアイコン

axis

The axis this direction belongs to, either "horizontal" or "vertical".

self.axis(
)->
右矢印アイコン
例を表示
#ltr.axis() \
#ttb.axis()
Preview

start

The start point of this direction, as an alignment.

self.start(
)->
右矢印アイコン
例を表示
#ltr.start() \
#rtl.start() \
#ttb.start() \
#btt.start()
Preview

end

The end point of this direction, as an alignment.

self.end(
)->
右矢印アイコン
例を表示
#ltr.end() \
#rtl.end() \
#ttb.end() \
#btt.end()
Preview

inv

The inverse direction.

self.inv(
)->
右矢印アイコン
例を表示
#ltr.inv() \
#rtl.inv() \
#ttb.inv() \
#btt.inv()
Preview

検索