2024-05-17 14:23:05 +00:00
|
|
|
#import "@preview/polylux:0.3.1": *
|
|
|
|
#import themes.clean: *
|
|
|
|
|
|
|
|
#let slide_template(
|
|
|
|
title: [Title],
|
|
|
|
subtitle: none,
|
|
|
|
authors: [],
|
|
|
|
date: none,
|
2024-05-18 12:22:59 +00:00
|
|
|
duration: none,
|
2024-06-19 08:28:59 +00:00
|
|
|
handout: false,
|
2024-05-17 14:23:05 +00:00
|
|
|
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"),
|
|
|
|
)
|
|
|
|
|
2024-06-19 08:28:59 +00:00
|
|
|
if handout {
|
|
|
|
enable-handout-mode(true)
|
|
|
|
}
|
|
|
|
|
2024-05-18 12:22:59 +00:00
|
|
|
if duration != none{
|
|
|
|
pdfpc.config(
|
|
|
|
duration-minutes: duration,
|
|
|
|
default-transition: (
|
|
|
|
type: "fade",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
} else {
|
|
|
|
pdfpc.config(
|
|
|
|
default-transition: (
|
|
|
|
type: "fade",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2024-05-17 14:23:05 +00:00
|
|
|
title-slide(
|
|
|
|
title: [#title],
|
|
|
|
subtitle: [#subtitle],
|
|
|
|
authors: ([#authors]),
|
|
|
|
date: [#date],
|
|
|
|
)
|
|
|
|
|
|
|
|
doc
|
|
|
|
|
|
|
|
}
|
|
|
|
|