forked from ls1intum/thesis-template-typst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proposal_template.typ
46 lines (41 loc) · 1.01 KB
/
proposal_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
// The project function defines how your document looks.
// It takes your content and some metadata and formats it.
// Go ahead and customize it to your liking!
#let project(
title: "",
titleGerman: "",
degree: "",
program: "",
supervisor: "",
advisors: (),
author: "",
startDate: none,
submissionDate: none,
body,
) = {
// Set the document's basic properties.
set document(title: title, author: author)
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"
)
show math.equation: set text(weight: 400)
show heading: set text(font: body-font)
set heading(numbering: "1.1")
set par(leading: 1em)
// Main body.
set par(justify: true)
body
pagebreak()
bibliography("thesis.bib")
}