move
ShowableShowable functions can be customized with show
rules.
Showable functions can be customized with
show
rules.Move 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 are the inputs to a function. They are specified in parentheses after the function name.
move()
body
The content to move.
Hello, world!#move(dy: -2pt)[!]#move(dy: 2pt)[!]

dx
The horizontal displacement of the content.
dy
The vertical displacement of the content.