CTAN update: WrapBlock
Update. Loading the package slowed down a document without any block: Its shipout/foreground hook made LaTeX build a picture on every page (up to 40% slower with LuaLaTeX). Version 0.1.4 asks for the foreground only on a page where a deferred image waits; output is unchanged.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/wrapblock The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/wrapblock/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
WrapBlock – Wrap a closed block of text around an image
The package provides one environment, wrapblock, which sets an image beside a block of text: the text is narrowed along the image, then takes the full width again below it. The block is closed: the text that follows the environment never runs beside the image.
The text of the block may hold lists, nested to any depth, and displayed equations, and a block may be the first thing in a list item. The image and the lines beside it stay on the same page: when the image does not fit at the bottom of a page, the text fills that bottom at full width and the image goes to the top of the next page.
The package works with pdfLaTeX and LuaLaTeX, and leaves the structure of a tagged PDF as it would be without it. It needs a LaTeX kernel of June 2023 or later. Related packages are wrapfig, wrapfig2 and wrapstuff.
| Paket | WrapBlock |
| Version | 0.1.4 2026-11-19 |
| Copyright | 2026 Antonin Marchand |
| Betreuer | Antonin Marchand |