diff --git a/README.md b/README.md index 66acc86..f93ef63 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,19 @@ polylux2pdfpc slides.typ pdfpc slides.pdf # add `-s` for swap the presentation/presenter screens ``` +## Example +Here some slide example + + + +| | | +| ---- | ---- | +| | | + ## Contribution Contributions are welcome! If you have ideas for improvements or find bugs, feel free to open an issue or submit a pull request on the [repository](https://git.kb28.ch/Klagarge/HEI-Typst-presentation). diff --git a/example/01-title.png b/example/01-title.png new file mode 100644 index 0000000..ce90cbc Binary files /dev/null and b/example/01-title.png differ diff --git a/example/02-slide.png b/example/02-slide.png new file mode 100644 index 0000000..92341e6 Binary files /dev/null and b/example/02-slide.png differ diff --git a/example/03-picture.png b/example/03-picture.png new file mode 100644 index 0000000..9aa28f4 Binary files /dev/null and b/example/03-picture.png differ diff --git a/example/04-focus.png b/example/04-focus.png new file mode 100644 index 0000000..73ae69d Binary files /dev/null and b/example/04-focus.png differ diff --git a/example/05-section.png b/example/05-section.png new file mode 100644 index 0000000..b7859d6 Binary files /dev/null and b/example/05-section.png differ diff --git a/example/placeholder.svg b/example/placeholder.svg new file mode 100644 index 0000000..1911dab --- /dev/null +++ b/example/placeholder.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/example/slides.pdf b/example/slides.pdf new file mode 100644 index 0000000..a379b47 Binary files /dev/null and b/example/slides.pdf differ diff --git a/example/slides.pdfpc b/example/slides.pdfpc new file mode 100644 index 0000000..4061bae --- /dev/null +++ b/example/slides.pdfpc @@ -0,0 +1 @@ +{"pdfpcFormat":2,"duration":10,"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},{"idx":5,"label":6,"overlay":0,"forcedOverlay":false,"hidden":false,"note":"# My notes\nDid you know that pdfpc supports Markdown notes? _So cool!_"},{"idx":5,"label":6,"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/example/slides.typ b/example/slides.typ new file mode 100644 index 0000000..7caa094 --- /dev/null +++ b/example/slides.typ @@ -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!_ + ``` + ) +]