Initial commit
This commit is contained in:
commit
9aca6c3042
40 changed files with 2557 additions and 0 deletions
3
template/colour.typ
Normal file
3
template/colour.typ
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#let tum_blue = rgb(0, 101, 189)
|
||||
#let tum_white = rgb(255, 255, 255)
|
||||
#let tum_black = rgb(0, 0, 0)
|
||||
98
template/conf.typ
Normal file
98
template/conf.typ
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
#import "cover.typ": cover_page
|
||||
#import "title.typ": title_page
|
||||
#import "contents.typ": contents_page
|
||||
|
||||
#let conf(
|
||||
title: "",
|
||||
author: "",
|
||||
chair: "",
|
||||
school: "",
|
||||
degree: "",
|
||||
examiner: "",
|
||||
supervisor: "",
|
||||
submitted: "",
|
||||
doc
|
||||
) = {
|
||||
cover_page(
|
||||
title: title,
|
||||
author: author,
|
||||
chair: chair,
|
||||
school: school
|
||||
)
|
||||
|
||||
pagebreak()
|
||||
pagebreak()
|
||||
|
||||
title_page(
|
||||
title: title,
|
||||
author: author,
|
||||
chair: chair,
|
||||
school: school,
|
||||
degree: degree,
|
||||
examiner: examiner,
|
||||
supervisor: supervisor,
|
||||
submitted: submitted
|
||||
)
|
||||
|
||||
pagebreak()
|
||||
|
||||
set math.equation(numbering: "(1)")
|
||||
|
||||
set page(
|
||||
paper: "a4",
|
||||
margin: (
|
||||
top: 3cm,
|
||||
bottom: 3cm,
|
||||
x: 2cm,
|
||||
),
|
||||
header: [],
|
||||
footer: []
|
||||
)
|
||||
|
||||
set par(justify: true)
|
||||
set align(left)
|
||||
set text(
|
||||
font: "Times New Roman",
|
||||
size: 12pt,
|
||||
)
|
||||
|
||||
set heading(numbering: "1.")
|
||||
show heading: it => locate(loc => {
|
||||
let levels = counter(heading).at(loc)
|
||||
|
||||
set text(font: "TUM Neue Helvetica")
|
||||
if it.level == 1 [
|
||||
#set text(size: 24pt)
|
||||
#pagebreak()
|
||||
#if levels.at(0) != 0 {
|
||||
numbering("1", levels.at(0))
|
||||
}
|
||||
#it.body
|
||||
#v(1em, weak: true)
|
||||
] else if it.level == 2 [
|
||||
#set text(size: 16pt)
|
||||
#v(1em)
|
||||
#numbering("1.1", levels.at(0), levels.at(1))
|
||||
#it.body
|
||||
#v(1em, weak: true)
|
||||
] else if it.level == 3 [
|
||||
#set text(size: 16pt)
|
||||
#v(1em, weak: true)
|
||||
#numbering("1.1.1", levels.at(0), levels.at(1), levels.at(2))
|
||||
#it.body
|
||||
#v(1em, weak: true)
|
||||
] else [
|
||||
#set text(size: 12pt)
|
||||
#v(1em, weak: true)
|
||||
#it.body
|
||||
#v(1em, weak: true)
|
||||
]
|
||||
})
|
||||
|
||||
contents_page()
|
||||
|
||||
pagebreak()
|
||||
|
||||
doc
|
||||
}
|
||||
|
||||
14
template/contents.typ
Normal file
14
template/contents.typ
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#import "colour.typ": *
|
||||
|
||||
#let contents_page() = {
|
||||
set text(font: "TUM Neue Helvetica")
|
||||
|
||||
show outline.entry.where(
|
||||
level: 1
|
||||
): it => {
|
||||
v(1em)
|
||||
strong(it)
|
||||
}
|
||||
|
||||
outline(indent: auto)
|
||||
}
|
||||
46
template/cover.typ
Normal file
46
template/cover.typ
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#import "colour.typ": *
|
||||
|
||||
#let cover_page(
|
||||
title: "",
|
||||
author: "",
|
||||
chair: "",
|
||||
school: ""
|
||||
) = {
|
||||
set text(
|
||||
font: "TUM Neue Helvetica"
|
||||
)
|
||||
|
||||
set page(
|
||||
paper: "a4",
|
||||
margin: (
|
||||
top: 3cm,
|
||||
bottom: 1cm,
|
||||
x: 1cm,
|
||||
),
|
||||
header: [
|
||||
#grid(
|
||||
columns: (1fr, 1fr),
|
||||
rows: (auto),
|
||||
text(
|
||||
fill: tum_blue,
|
||||
size: 8pt,
|
||||
[#chair \ #school \ Technical University of Munich]
|
||||
),
|
||||
align(bottom + right, image("resources/TUM_Logo_blau.svg", height: 50%))
|
||||
)
|
||||
],
|
||||
footer: []
|
||||
)
|
||||
|
||||
v(1cm)
|
||||
|
||||
set align(top + left)
|
||||
text(size: 24pt, [*#title*])
|
||||
|
||||
v(3cm)
|
||||
|
||||
text(fill: tum_blue, size: 17pt, [*#author*])
|
||||
|
||||
set align(bottom + right)
|
||||
image("resources/TUM_Tower.png", width: 60%)
|
||||
}
|
||||
BIN
template/resources/TUMNeueHelvetica-Bold.ttf
Executable file
BIN
template/resources/TUMNeueHelvetica-Bold.ttf
Executable file
Binary file not shown.
BIN
template/resources/TUMNeueHelvetica-BoldItalic.ttf
Executable file
BIN
template/resources/TUMNeueHelvetica-BoldItalic.ttf
Executable file
Binary file not shown.
BIN
template/resources/TUMNeueHelvetica-Italic.ttf
Executable file
BIN
template/resources/TUMNeueHelvetica-Italic.ttf
Executable file
Binary file not shown.
BIN
template/resources/TUMNeueHelvetica-Regular.ttf
Executable file
BIN
template/resources/TUMNeueHelvetica-Regular.ttf
Executable file
Binary file not shown.
BIN
template/resources/TUM_Flags_169.png
Normal file
BIN
template/resources/TUM_Flags_169.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 430 KiB |
BIN
template/resources/TUM_Flags_43.png
Normal file
BIN
template/resources/TUM_Flags_43.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 399 KiB |
6
template/resources/TUM_Logo_blau.svg
Normal file
6
template/resources/TUM_Logo_blau.svg
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Ebene_1" x="0px" y="0px" width="408.16" height="212.46684" viewBox="-16.014 -31 408.16 212.46684" enable-background="new -16.014 -31 149 114" xml:space="preserve" sodipodi:docname="TUM_Web_Logo_blau.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><metadata id="metadata13"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title>TUM_Web_Logo_blau</dc:title></cc:Work></rdf:RDF></metadata><defs id="defs11"/><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="986" id="namedview9" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="1.754386" inkscape:cx="124.61021" inkscape:cy="115.2546" inkscape:window-x="-11" inkscape:window-y="-11" inkscape:window-maximized="1" inkscape:current-layer="Ebene_1"/>
|
||||
<title id="title2">TUM_Web_Logo_blau</title>
|
||||
<desc id="desc4">TUM</desc>
|
||||
<path fill="#3070b3" d="m 140.54052,-31 v 173.32822 h 44.72985 V -31 H 392.146 V 181.46685 H 353.00738 V 8.138629 H 308.2775 V 181.46685 H 269.13887 V 8.138629 H 224.40902 V 181.46685 H 101.4019 V 8.138629 H 62.26327 V 181.46685 H 23.12462 V 8.138629 H -16.014 V -31 Z" id="path6" style="stroke-width:5.59123"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
BIN
template/resources/TUM_Tower.png
Normal file
BIN
template/resources/TUM_Tower.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 240 KiB |
BIN
template/resources/TUM_Tower_white.png
Normal file
BIN
template/resources/TUM_Tower_white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
64
template/title.typ
Normal file
64
template/title.typ
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
#import "colour.typ": *
|
||||
|
||||
#let title_page(
|
||||
title: "",
|
||||
author: "",
|
||||
chair: "",
|
||||
school: "",
|
||||
degree: "",
|
||||
examiner: "",
|
||||
supervisor: "",
|
||||
submitted: ""
|
||||
) = {
|
||||
set text(
|
||||
font: "TUM Neue Helvetica",
|
||||
size: 10pt
|
||||
)
|
||||
|
||||
set page(
|
||||
paper: "a4",
|
||||
margin: (
|
||||
top: 5cm,
|
||||
bottom: 3cm,
|
||||
x: 2cm,
|
||||
),
|
||||
header: [
|
||||
#grid(
|
||||
columns: (1fr, 1fr),
|
||||
rows: (auto),
|
||||
text(
|
||||
fill: tum_blue,
|
||||
size: 8pt,
|
||||
[#chair \ #school \ Technical University of Munich]
|
||||
),
|
||||
align(bottom + right, image("resources/TUM_Logo_blau.svg", height: 30%))
|
||||
)
|
||||
],
|
||||
footer: []
|
||||
)
|
||||
|
||||
v(1cm)
|
||||
|
||||
set align(top + left)
|
||||
text(size: 24pt, [*#title*])
|
||||
|
||||
v(3cm)
|
||||
|
||||
text(fill: tum_blue, size: 17pt, [*#author*])
|
||||
|
||||
v(3cm)
|
||||
|
||||
[Thesis for the attainment of the academic degree]
|
||||
v(1em)
|
||||
[*#degree*]
|
||||
v(1em)
|
||||
[at the #school of the Technical University of Munich.]
|
||||
|
||||
v(3cm)
|
||||
|
||||
[*Examiner:*\ #examiner]
|
||||
v(0em)
|
||||
[*Supervisor:*\ #supervisor]
|
||||
v(0em)
|
||||
[*Submitted:*\ Munich, #submitted]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue