未翻訳
このページはまだ翻訳されていません。原文の内容が表示されています。
repeat
要素関数要素関数要素関数はset
ルールやshow
ルールでカスタマイズできます。
要素関数
要素関数は
set
ルールやshow
ルールでカスタマイズできます。Repeats content to the available space.
This can be useful when implementing a custom index, reference, or outline.
Space may be inserted between the instances of the body parameter, so be
sure to adjust the justify
parameter accordingly.
Errors if there are no bounds on the available space, as it would create infinite content.
Example
Sign on the dotted line:
#box(width: 1fr, repeat[.])
#set text(10pt)
#v(8pt, weak: true)
#align(right)[
Berlin, the 22nd of December, 2022
]

引数引数引数は関数への入力値です。関数名の後に括弧で囲んで指定します。
引数
引数は関数への入力値です。関数名の後に括弧で囲んで指定します。
body
The content to repeat.
gap
設定可能引数設定可能引数設定可能引数は、set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。
設定可能引数
設定可能引数
設定可能引数は、
set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。The gap between each instance of the body.
デフォルト値: 0pt
justify
設定可能引数設定可能引数設定可能引数は、set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。
設定可能引数
設定可能引数
設定可能引数は、
set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。Whether to increase the gap between instances to completely fill the available space.
デフォルト値: true