cetz-package / cetz

CeTZ: ein Typst Zeichenpaket - A library for drawing stuff with Typst.
https://cetz-package.github.io
GNU Lesser General Public License v3.0
733 stars 34 forks source link

Add `draw.floating(body)` to allow elements without bounds #620

Closed Jollywatt closed 1 month ago

Jollywatt commented 1 month ago

This is an example implementation of #619, with an API similar to draw.hide.

Up to you to settle on a name. I chose floating for now because float is a type.

Jollywatt commented 1 month ago

Oh no what have I done! This PR contains a whole bunch of extra commits...

Jollywatt commented 1 month ago

That's better. (Somehow the master on my fork included some other unmerged commits)

johannes-wolf commented 1 month ago

LGTM. Please add a line describing the addition to CHANGES.md.