diff --git a/00-templates/template.typ b/00-templates/template.typ index 9b0ba88..0ab046b 100644 --- a/00-templates/template.typ +++ b/00-templates/template.typ @@ -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], diff --git a/slides.pdf b/slides.pdf index a12b591..3c09c92 100644 Binary files a/slides.pdf and b/slides.pdf differ diff --git a/slides.pdfpc b/slides.pdfpc new file mode 100644 index 0000000..7003e9a --- /dev/null +++ b/slides.pdfpc @@ -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!_"}]} \ No newline at end of file diff --git a/slides.typ b/slides.typ index 59382b7..344d918 100644 --- a/slides.typ +++ b/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!_ + ``` + ) ]