Closed willismonroe closed 1 year ago
There actually is a current PR that does what you want, I think: #96
I'm a bit behind reviewing PRs currently, though.
Ah that's amazing, sorry should've checked the PRs. Also I forgot about #fit-to-height
I'll play around with that.
This is a future request, I know it's not an easy problem. When I'm writing slides I often end up having to manually size text so that it doesn't wrap to the next page/slide. It would be nice if polylux (or typst in general) offered a function (of flag on the
text
function) that prevented the block from wrapping to the next page and resized it to keep it on the page.Same thing with images, if I include an image on a slide, I don't want it to appear on the next slide. I guess fundamentally this is an issue with how slides vs. pages work. Generally slides should never wrap contents onto another slide.