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
Include page parameter to not disrupt current text flow #4442
duplicateThis issue or pull request already existsfeature requestNew feature or requestlayoutRelated to the layout category, which is about composing, positioning, etc.
... it would be helpful to have a parameter that allows for specification that the text flow of the current page should not be interrupted, and the full-page figure will appear on the subsequent page.
I can think of a few ways this might be implemented:
An interrupt-text-flow parameter (default value: true) that, if set to false, will be kept from any rendering until the current page is full.
An insert-after parameter (default value: none) that, if set to a label of some document element, will be inserted into the document one page after the label-specified content is completed, not interrupting text flow.
Use Case
In many academic publications, large tables or images are pushed to be on their own page, often on a landscape page, while not interrupting the text flow after it is mentioned with a page break that leaves unused page space.
I think this might be better as a parameter on figure instead of page. figure already has the placement attribute, which accepts none (here), top and bottom.
It might be possible to add new options page and flipped-page there and let typst figure out the rest, similar to LaTeX's p figure placement.
duplicateThis issue or pull request already existsfeature requestNew feature or requestlayoutRelated to the layout category, which is about composing, positioning, etc.
Activity
freundTech commentedon Jun 29, 2024
I think this might be better as a parameter on
figureinstead ofpage.figurealready has theplacementattribute, which acceptsnone(here),topandbottom.It might be possible to add new options
pageandflipped-pagethere and let typst figure out the rest, similar to LaTeX'spfigure placement.laurmaedje commentedon Jul 1, 2024
Agreed. I'll close this in favor of #3967.
bensetterholm commentedon Oct 24, 2025
FWIW, a workaround in the meantime is to wrap the figure inside another figure environment that spans an entire page.