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

Progress bar off-by-one #147

Open
Garmelon opened this issue Jan 27, 2024 · 0 comments
Open

Progress bar off-by-one #147

Garmelon opened this issue Jan 27, 2024 · 0 comments

Comments

@Garmelon
Copy link

When using a theme that includes a progress bar in its header (e.g. university), the progress bar appears to be off by one slide.

If a slide has animations, the progress bar is different for the first subslide and subsequent subslides. If I counted correctly, it is incorrect on the first subslide and correct on subsequent subslides.

This appears to be caused by logic.logical-slide being too low in the header: ... of page because it is only step()-ed in the body. I'm not sure how one would go about fixing this.

Example:

#import "@preview/polylux:0.3.1": *
#import themes.university: *

#show: university-theme

#title-slide(
  title: [Progress bar example]
)

#slide[
  - Slide 1 #pause
  - with some #pause
  - animations
]

#slide[
  - Slide 2 #pause
  - with some #pause
  - animations
]

#slide[
  - Slide 3 #pause
  - with some #pause
  - animations
]
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

1 participant