2
1
HEI-Typst-presentation/00-templates/template.typ

49 lines
822 B
Plaintext
Raw Normal View History

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-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-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
}