2
1
HEI-Typst-presentation/slides.typ

47 lines
849 B
Plaintext

#import "00-templates/template.typ": *
#show: doc => slide_template(
title: [Title],
subtitle: [Subtitle],
authors: [Author A, Author B],
date: datetime.today().display("[day].[month].[year]"),
duration: 10, // time in minutes for presentation or counter timer if no field is given
doc,
)
#slide(
title: [First slide title]
)[
#lorem(20)
#pdfpc.speaker-note("This is a note that only the speaker will see.")
]
#focus-slide(
foreground: white,
background: rgb("#ea366a")
)[
_Focus!_
This is very important.
]
#new-section-slide("Let's start a new section!")
#slide(
title: [Dynamic slide]
)[
Did you know that...
#pause
...you can see the current section at the top of the slide?
#pdfpc.speaker-note(
```md
# My notes
Did you know that pdfpc supports Markdown notes? _So cool!_
```
)
]