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

Disable show-strong-with-alert on a per-slide basis #123

Closed
manuelVo opened this issue Nov 27, 2024 · 3 comments
Closed

Disable show-strong-with-alert on a per-slide basis #123

manuelVo opened this issue Nov 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@manuelVo
Copy link

I'd like to disable show-stromg-with-alert on selected slides (specifically, the title slide). However, setting this config in the title slide has no effect. The setting passed to touying-slides seems to always take precedence over the setting passed to touying-slide.

Example code:

#import "@preview/touying:0.5.3": *
#import themes.metropolis: *

#show: metropolis-theme.with(
  config-info(
    author: [*Author 1*, Author 2, Author 3],
  ),
)

#title-slide(config-common(show-strong-with-alert: false))

Note, that Author 1 will be colored orange, even though the setting has been disabled for the title slide.

@OrangeX4
Copy link
Member

At the moment, you can:

#import "@preview/touying:0.5.3": *
#import themes.metropolis: *

#show: metropolis-theme.with(
  config-info(
    author: [#text(weight: "bold")[Author 1], Author 2, Author 3],
  ),
)

#title-slide()

@OrangeX4 OrangeX4 added the question Further information is requested label Nov 28, 2024
@manuelVo
Copy link
Author

manuelVo commented Dec 4, 2024

Thanks for your reply. I take that workaround, but I still think it would be nice to configure this on a per-slide basis so the theme could just make it work correctly automagically :)

@OrangeX4
Copy link
Member

OrangeX4 commented Dec 4, 2024

Yes, I'll think about how to fix it in the next release.

@OrangeX4 OrangeX4 added enhancement New feature or request and removed question Further information is requested labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants