Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Autosizing text/image to prevent wrapping to next slide #109

Closed
willismonroe opened this issue Sep 26, 2023 · 2 comments
Closed

Comments

@willismonroe
Copy link

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.

@andreasKroepelin
Copy link
Owner

andreasKroepelin commented Sep 26, 2023

There actually is a current PR that does what you want, I think: #96

I'm a bit behind reviewing PRs currently, though.

@willismonroe
Copy link
Author

Ah that's amazing, sorry should've checked the PRs. Also I forgot about #fit-to-height I'll play around with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants