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

[FR] New function: #blank-slide #140

Open
KronosTheLate opened this issue Jan 22, 2024 · 5 comments
Open

[FR] New function: #blank-slide #140

KronosTheLate opened this issue Jan 22, 2024 · 5 comments

Comments

@KronosTheLate
Copy link
Contributor

I am currently facing an issue where I want to insert a tall image. In powerpoint I would simply have it overlap with other elements, using the height. However, it appears as if all available slides (with the metropolis theme) clip the image, much above/below the bottom/top:
image

I think that this issue could be solved, and possibly many others, by creating a function #blank-slide for all themes. It would impose as little as possible (nothing?), and possibly have keyword-argument that allow e.g. incrementing the logical slide number.

@KronosTheLate
Copy link
Contributor Author

I found what I was looking for: #polylux-slide. It however looks mainly intended for building templates. Should the documentation and name be adjusted to make it seem less hacky to use it for something like I am doing, and also to add discoverability?

@andreasKroepelin
Copy link
Owner

I agree that simply using polylux-slide is the way to go here. That's not hacky at all and the intended use. Themes (in the future, they will be known as templates because that's what they really are) just give you some more pre-existing scaffold for your slides. But if you don't want/need that and prefer a blank slide instead, then polylux-slide it is.

@KronosTheLate
Copy link
Contributor Author

That makes a lot of sense. Perhaps it would suffice to just make a note about it in the docs? Me for example, was quite uncertain if this was hacky or more prone to breakage than other methods.

@andreasKroepelin
Copy link
Owner

I was hoping this first section of the docs where I deliberately don't use themes makes it clear that that's what you can do.

@KronosTheLate
Copy link
Contributor Author

Yes, fair point. Perhaps I am just spoiled, expecting things to be very spelled out in terms of intended usage in possibilities. I had the idea that #polylux-slide was used for building themes, and that users should not expect to use it in a presentation with a theme.

Would you mind aliasing blank-slide to polylux-slide? I feel like it is more discoverable, and more clear in what it might be used for. I know I am being very nitpicky here, but I feel like it would be a marginal improvement without drawback.

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