ADD example
This commit is contained in:
58
example/slides.typ
Normal file
58
example/slides.typ
Normal file
@@ -0,0 +1,58 @@
|
||||
#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!_
|
||||
```
|
||||
)
|
||||
]
|
||||
Reference in New Issue
Block a user