add fade transition and speaker-note
This commit is contained in:
parent
e0b90f4d17
commit
7c423edd3b
@ -6,6 +6,7 @@
|
|||||||
subtitle: none,
|
subtitle: none,
|
||||||
authors: [],
|
authors: [],
|
||||||
date: none,
|
date: none,
|
||||||
|
duration: none,
|
||||||
doc,
|
doc,
|
||||||
) = {
|
) = {
|
||||||
|
|
||||||
@ -19,6 +20,21 @@
|
|||||||
color: rgb("#ea366a"),
|
color: rgb("#ea366a"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if duration != none{
|
||||||
|
pdfpc.config(
|
||||||
|
duration-minutes: duration,
|
||||||
|
default-transition: (
|
||||||
|
type: "fade",
|
||||||
|
)
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
pdfpc.config(
|
||||||
|
default-transition: (
|
||||||
|
type: "fade",
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
title-slide(
|
title-slide(
|
||||||
title: [#title],
|
title: [#title],
|
||||||
subtitle: [#subtitle],
|
subtitle: [#subtitle],
|
||||||
|
BIN
slides.pdf
BIN
slides.pdf
Binary file not shown.
1
slides.pdfpc
Normal file
1
slides.pdfpc
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"pdfpcFormat":2,"disableMarkdown":false,"defaultTransition":"fade:1:180:horizontal:outward","pages":[{"idx":0,"label":1,"overlay":0,"forcedOverlay":false,"hidden":false},{"idx":1,"label":2,"overlay":0,"forcedOverlay":false,"hidden":false,"note":"This is a note that only the speaker will see."},{"idx":2,"label":3,"overlay":0,"forcedOverlay":false,"hidden":false},{"idx":3,"label":4,"overlay":0,"forcedOverlay":false,"hidden":false},{"idx":4,"label":5,"overlay":0,"forcedOverlay":false,"hidden":false,"note":"# My notes\nDid you know that pdfpc supports Markdown notes? _So cool!_"},{"idx":5,"label":5,"overlay":1,"forcedOverlay":true,"hidden":false,"note":"# My notes\nDid you know that pdfpc supports Markdown notes? _So cool!_"}]}
|
10
slides.typ
10
slides.typ
@ -5,6 +5,7 @@
|
|||||||
subtitle: [Subtitle],
|
subtitle: [Subtitle],
|
||||||
authors: [Author A, Author B],
|
authors: [Author A, Author B],
|
||||||
date: datetime.today().display("[day].[month].[year]"),
|
date: datetime.today().display("[day].[month].[year]"),
|
||||||
|
duration: 10, // time in minutes for presentation or counter timer if no field is given
|
||||||
doc,
|
doc,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -12,6 +13,8 @@
|
|||||||
title: [First slide title]
|
title: [First slide title]
|
||||||
)[
|
)[
|
||||||
#lorem(20)
|
#lorem(20)
|
||||||
|
|
||||||
|
#pdfpc.speaker-note("This is a note that only the speaker will see.")
|
||||||
]
|
]
|
||||||
|
|
||||||
#focus-slide(
|
#focus-slide(
|
||||||
@ -33,4 +36,11 @@
|
|||||||
|
|
||||||
#pause
|
#pause
|
||||||
...you can see the current section at the top of the slide?
|
...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!_
|
||||||
|
```
|
||||||
|
)
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user