Open platformer opened 1 year ago
The reason this issue occurs is that indent guides extend by row-gutter / 2
in both directions. However, when a block is broken across pages, the padding next to the pagebreak is determined by the block's inset
.
This issue has an experimental solution in https://github.com/platformer/typst-algorithms/tree/tablex, but there are various bugs that prevent this branch from being merged.
This issue is pretty low priority since it's unlikely for a user to want to typeset breakable figures anyway. Though resolving this issue could make this package a viable option for typesetting entire programs with Typst.
Potentially related to https://github.com/typst/typst/issues/735.
For both
algo
andcode
, if the figure is broken across pages andinset
is smaller thanrow-gutter
, indent guides will extend beyond the element's borders.]