Skip to content
Discussion options

You must be logged in to vote

Use #show: touying-set-config.with(config-page(header: ...)) to change the header configuration at any point in your presentation:

// Initial header  
#show: default-theme.with(  
  config-page(  
    header: text(gray, utils.display-current-short-heading(level: 2)),  
  ),  
)  
  
// Later in presentation - change header  
#show: touying-set-config.with(config-page(  
  header: text(  
    blue,  
    weight: "bold",  
    utils.display-current-short-heading(level: 1),  
  ),  
))

You can also override headers on individual slides using the config parameter:

#slide(config: config-page(header: [Custom Header for This Slide]))[
  Slide content with custom header
]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by OrangeX4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants