2024-07-05 11:04:27 +00:00
// .--------------------------------------------------------------------------.
// | Declaration of Authorship |
// '--------------------------------------------------------------------------'
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
// Author: Sven Vogel
// Edited: 28.06.2024
// License: MIT
2024-07-01 10:13:57 +00:00
2024-07-05 11:04:27 +00:00
#let new_declaration_of_authorship(config) = context {
2024-07-02 08:57:38 +00:00
2024-07-05 11:04:27 +00:00
pagebreak(weak: true)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
let thesis = config.thesis
let author = config.author
if text.lang == "de" [
#heading("Selbständigkeitserklärung")
2024-06-28 09:54:30 +00:00
] else if text.lang == "en" [
2024-07-05 11:04:27 +00:00
#heading("Declaration of Authorship")
2024-06-28 09:54:30 +00:00
]
2024-07-05 11:04:27 +00:00
v(1em)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
if text.lang == "de" [
2024-06-28 09:54:30 +00:00
Ich versichere hiermit, dass ich meine Prüfung mit dem Thema
] else if text.lang == "en" [
2024-07-05 11:04:27 +00:00
I hereby confirm that I have written this thesis with the subject
2024-06-28 09:54:30 +00:00
]
2024-07-05 11:04:27 +00:00
v(1em)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
set align(center)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
text(weight: "bold", thesis.title)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
if thesis.subtitle != none {
linebreak()
thesis.subtitle
}
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
set align(left)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
v(1em)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
set par(justify: true)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
if text.lang == "de" [
selbständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel benutzt habe. Ich versichere zudem, dass die eingereichte elektronische Fassung mit der gedruckten Fassung übereinstimmt.
] else if text.lang == "en" [
independently and have not used any sources or aids other than those specified. I also confirm that the electronic version submitted is identical to the printed version.
]
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
set align(horizon)
2024-06-28 09:54:30 +00:00
2024-07-05 11:04:27 +00:00
grid(
2024-06-28 09:54:30 +00:00
// set width of columns
// we need two, so make both half the page width
columns: (50%, 50%),
row-gutter: 0.75em,
align(left, {line(length: 6cm)}),
align(left, {line(length: 6cm)}),
2024-07-05 11:04:27 +00:00
align(left, if text.lang == "de" [ Ort, Datum ] else if text.lang == "en" [ Place, Date ] else { panic("no translation for language: ", text.lang) }),
2024-06-28 09:54:30 +00:00
align(left, if text.lang == "de" [ Unterschrift ] else if text.lang == "en" [ Signature ] else { panic("no translation for language: ", text.lang) }))
2024-07-05 11:04:27 +00:00
}