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

bad slide layout when content is none #50

Open
QuadnucYard opened this issue Jun 5, 2024 · 1 comment
Open

bad slide layout when content is none #50

QuadnucYard opened this issue Jun 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@QuadnucYard
Copy link

Use the Quick start example, and add a slide with content set to {} (or none)

#import "@preview/touying:0.4.2": *

#let s = themes.simple.register(aspect-ratio: "16-9")
#let (init, slides) = utils.methods(s)
#show: init

#let (slide, empty-slide) = utils.slides(s)
#show: slides

= Title

#slide(self => (self.methods.touying-slide)(self: self, repeat: none, section: (title: [Contents]), {}))

== First Slide

Hello, Touying!

This will yield:

image

If we put the slide at the end:

= Title

== First Slide

Hello, Touying!

#slide(self => (self.methods.touying-slide)(self: self, repeat: none, section: (title: [Contents]), {}))

image

@OrangeX4 OrangeX4 added the bug Something isn't working label Jun 11, 2024
@Enter-tainer
Copy link

I believe this is related #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants