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

Open
manuelVo opened this issue Nov 27, 2024 · 1 comment
Open

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

manuelVo opened this issue Nov 27, 2024 · 1 comment
Labels
question Further information is requested

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants