Initial commit
This commit is contained in:
commit
e0b90f4d17
BIN
00-templates/FR-DE_HEI_rvb.png
Normal file
BIN
00-templates/FR-DE_HEI_rvb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
32
00-templates/template.typ
Normal file
32
00-templates/template.typ
Normal file
@ -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
|
||||
|
||||
}
|
||||
|
BIN
slides.pdf
Normal file
BIN
slides.pdf
Normal file
Binary file not shown.
36
slides.typ
Normal file
36
slides.typ
Normal file
@ -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?
|
||||
]
|
Loading…
Reference in New Issue
Block a user