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

Wrong title and subtitle in (at least) theme.simple #70

Closed
f3fora opened this issue Sep 5, 2024 · 2 comments
Closed

Wrong title and subtitle in (at least) theme.simple #70

f3fora opened this issue Sep 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@f3fora
Copy link

f3fora commented Sep 5, 2024

The results shown in the picture at
https://touying-typ.github.io/docs/start
is different from the one produce by the shown code.

The following code produces slides where the title is First Slide and the small text above it is also First Slide and not Title

#import "@preview/touying:0.5.2": *
#import themes.simple: *

#show: simple-theme.with(aspect-ratio: "16-9")

= Title

== First Slide

Hello, Touying!

#pause

Hello, Typst!
@OrangeX4
Copy link
Member

OrangeX4 commented Sep 5, 2024

It will be fixed in the next version and you can use #show: simple-theme.with(aspect-ratio: "16-9", header: utils.display-current-heading(level: 1)) first.

@OrangeX4 OrangeX4 added the bug Something isn't working label Sep 5, 2024
@f3fora
Copy link
Author

f3fora commented Sep 5, 2024

Thanks!

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

2 participants