Text threading and image wrap-around for Typst.
meander provides a core function reflow to segment a page and wrap content around images.
See the documentation.
Quick start
The (contextual) function meander.reflow splits content into
- obstacles: all
placed content at the toplevel (i.e. not inside a subcontainer such as abox) - containers: produced by
meander.container(), optionally specifying an alignment,dx,dy,width,height - flowing text: everything else
|
|
Use multiple containers to produce layouts in columns.
|
|
More complex text outlines can be achieved by playing with obstacles.
|
|
Known issues and roadmap
- [X] boxes must not stretch beyond containers
- [ ] fix the numbering pattern in
enum - [ ] improve
list.itemandenum.itemindentation and vertical spacing - [ ] parameterization of alignment inside boxes
- [ ] proper handling of containers that intersect horizontally
- [ ] hyphenation and justification
- [ ] multi-page handling


