CTAN Comprehensive TeX Archive Network

Florilegium – Procedurally generated floral page margins for Lua, with a library for pdf

florilegium grows a floral garden in the margin of every page of a Lua document. Nothing is an image: every petal, leaf and stem is a curve computed in Lua while the page is processed, painted like an ink wash, and written straight into the PDF.

Each plant in the margin is a species sampled from a genome of botanical traits, and its flowers bring relevant visitors (e.g., bees, butterflies, beetles, snails, birds). The garden fills whatever space the text leaves, can put a flower beside each heading, ages from spring to autumn over a document, and follows the outer margin on two-sided pages. There are also decorated initials, ornaments in the text, a geometric and a mathematical theme, and density and intensity settings.

A library draws the same species as pics, in pure , under pdf or through the Lua engine under Lua.

The package was made with the assistance of AI (Claude), as its README and manual explain.

Sources/graphics/pgf/contrib/florilegium
Documentation
Support
Bug tracker
Announcements
Repository
Developers
Version2.0.1
LicensesMIT License
The Project Public License 1.3c
Copyright2026 Kevin Raymond
MaintainerKevin Raymond
TopicsDecoration
Use Lua
PGF
Marginal
Use Lua

Download the contents of this package in one zip archive (7.0M).

Community Comments

Loading...

Package Links

Guest Book Sitemap Contact Contact Author