未翻訳
このページはまだ翻訳されていません。原文の内容が表示されています。
move
ElementElementElement functions can be customized with set
and show
rules.
Element
Element functions can be customized with
set
and show
rules.Moves content without affecting layout.
The move
function allows you to move content while the layout still 'sees'
it at the original positions. Containers will still be sized as if the
content was not moved.
Example
#rect(inset: 0pt, move(
dx: 6pt, dy: 6pt,
rect(
inset: 8pt,
fill: white,
stroke: black,
[Abra cadabra]
)
))

引数ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters
Parameters are the inputs to a function. They are specified in parentheses after the function name.
dx
SettableSettableSettable parameters can be customized for all following uses of the function with a set
rule.
Settable
Settable
Settable parameters can be customized for all following uses of the function with a
set
rule.The horizontal displacement of the content.
デフォルト値: 0% + 0pt
dy
SettableSettableSettable parameters can be customized for all following uses of the function with a set
rule.
Settable
Settable
Settable parameters can be customized for all following uses of the function with a
set
rule.The vertical displacement of the content.
デフォルト値: 0% + 0pt
body
RequiredRequiredRequired parameters must be specified when calling the function.PositionalPositionalPositional parameters are specified in order, without names.
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters are specified in order, without names.
The content to move.