You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation for place() is a bit misleading #3159
first
#place(top+left, dx: 100pt, rect(width: 30pt, height: 30pt, fill: aqua))
second
third
produces this output
while it would be expected to produce this output (here achieved by moving the #place call at the end)
as per the documentation:
Places content at an absolute position.
Placed content will not affect the position of other content. Place is always relative to its parent container and will be in the foreground of all other content in the container. Page margins will be respected.
Either the behavior or the documentation is therefore incorrect.
The documentation is perhaps a bit misleading here. In general, everything except for a few things (text, inline equations, boxes) is block-level and so is place. However, it will not affect other block-level containers.
Activity
laurmaedje commentedon Jan 9, 2024
The documentation is perhaps a bit misleading here. In general, everything except for a few things (text, inline equations, boxes) is block-level and so is
place. However, it will not affect other block-level containers.[-]place() triggers paragraph break[/-][+]Documentation for `place()` is a bit misleading[/+]SolidTux commentedon Sep 9, 2024
This can sometimes be circumvented with
box(place(...))by the way. I don't know in which cases this breaks, though.Clarify place documentation
SolidTux commentedon Sep 27, 2024
Thanks a lot!