2
1
HEI-Typst-presentation/example/slides.typ
2024-06-20 08:37:26 +02:00

59 lines
1.0 KiB
Plaintext

#import "/00-templates/template.typ": *
#show: doc => slide_template(
title: [HEI Slides],
subtitle: [Template with Polylux],
authors: [Firstname Lastname],
date: datetime.today(),
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.")
]
#slide(
title: [Slide with pictures]
)[
#side-by-side(gutter: 3mm, columns: (1fr, 1fr))[
- First element
- Second element
- Third element
][
#image("placeholder.svg", width: 100%)
]
]
#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!_
```
)
]