add fade transision and speker-note
This commit is contained in:
parent
e0b90f4d17
commit
36679dfe8c
@ -6,6 +6,7 @@
|
||||
subtitle: none,
|
||||
authors: [],
|
||||
date: none,
|
||||
duration: none,
|
||||
doc,
|
||||
) = {
|
||||
|
||||
@ -19,6 +20,21 @@
|
||||
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: [#title],
|
||||
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],
|
||||
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,
|
||||
)
|
||||
|
||||
@ -12,6 +13,8 @@
|
||||
title: [First slide title]
|
||||
)[
|
||||
#lorem(20)
|
||||
|
||||
#pdfpc.speaker-note("This is a note that only the speaker will see.")
|
||||
]
|
||||
|
||||
#focus-slide(
|
||||
@ -33,4 +36,11 @@
|
||||
|
||||
#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!_
|
||||
```
|
||||
)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user