-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcover.typ
44 lines (32 loc) · 943 Bytes
/
cover.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#import "/layout/fonts.typ": *
#let cover(
title: "",
degree: "",
program: "",
author: "",
) = {
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: none,
number-align: center,
)
set text(
font: fonts.body,
size: 12pt,
lang: "en"
)
set par(leading: 1em)
// --- Cover ---
v(1cm)
align(center, image("../figures/tum_logo.png", width: 26%))
v(5mm)
align(center, text(font: fonts.sans, 2em, weight: 700, "Technical University of Munich"))
v(5mm)
align(center, text(font: fonts.sans, 1.5em, weight: 100, "School of Computation, Information and Technology \n -- Informatics --"))
v(15mm)
align(center, text(font: fonts.sans, 1.3em, weight: 100, degree + "’s Thesis in " + program))
v(15mm)
align(center, text(font: fonts.sans, 2em, weight: 700, title))
v(10mm)
align(center, text(font: fonts.sans, 2em, weight: 500, author))
}