commit e0b90f4d17e05b8cabe98276c57000f11f0b8627 Author: Klagarge Date: Fri May 17 16:23:05 2024 +0200 Initial commit diff --git a/00-templates/FR-DE_HEI_rvb.png b/00-templates/FR-DE_HEI_rvb.png new file mode 100644 index 0000000..e1e07bb Binary files /dev/null and b/00-templates/FR-DE_HEI_rvb.png differ diff --git a/00-templates/template.typ b/00-templates/template.typ new file mode 100644 index 0000000..9b0ba88 --- /dev/null +++ b/00-templates/template.typ @@ -0,0 +1,32 @@ +#import "@preview/polylux:0.3.1": * +#import themes.clean: * + +#let slide_template( + title: [Title], + subtitle: none, + authors: [], + date: none, + doc, +) = { + + set text(font: "Inria Sans") + + show: clean-theme.with( + //aspect-ratio: "4-3", + footer: [#authors #h(0.2cm)-#h(0.2cm) Bachelor thesis #datetime.today().display("[year]")], + short-title: [#title], + logo: image("./FR-DE_HEI_rvb.png"), + color: rgb("#ea366a"), + ) + + title-slide( + title: [#title], + subtitle: [#subtitle], + authors: ([#authors]), + date: [#date], + ) + + doc + +} + diff --git a/slides.pdf b/slides.pdf new file mode 100644 index 0000000..a12b591 Binary files /dev/null and b/slides.pdf differ diff --git a/slides.typ b/slides.typ new file mode 100644 index 0000000..59382b7 --- /dev/null +++ b/slides.typ @@ -0,0 +1,36 @@ +#import "00-templates/template.typ": * + +#show: doc => slide_template( + title: [Title], + subtitle: [Subtitle], + authors: [Author A, Author B], + date: datetime.today().display("[day].[month].[year]"), + doc, +) + +#slide( + title: [First slide title] +)[ + #lorem(20) +] + +#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? +]