-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathfeedbacklog_template.typ
58 lines (48 loc) · 1.28 KB
/
feedbacklog_template.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#let feedbacklog(
titleEnglish: "",
supervisor: "",
advisors: (),
author: "",
presentationDate: datetime,
feedbacklogSubmissionDate: datetime,
body,
) = {
// Set the document's basic properties.
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: "1",
number-align: center,
)
// Save heading and body font families in variables.
let body-font = "New Computer Modern"
let sans-font = "New Computer Modern Sans"
// Set body font family.
set text(
font: body-font,
size: 12pt,
lang: "en"
)
align(center, text(font: "sans-font", 1.7em, weight: 700, "Presentation Feedbacklog" + linebreak() + titleEnglish))
v(7.5mm)
align(center, text(font: "sans-font", 1.2em, weight: 400, feedbacklogSubmissionDate.display("[day]. [month repr:long] [year]")))
v(7.5mm)
line(length: 100%, stroke: 0.5pt)
align(
center,
box(
align(
left,
grid(
columns: 2,
gutter: 1em,
strong("Author: "), author,
strong("Supervisor: "), supervisor,
strong("Advisors: "), advisors.join(",\n"),
strong("Presentation Date: "), presentationDate.display("[day].[month].[year]"),
)
)
)
)
line(length: 100%, stroke: 0.5pt)
body
}