2024-07-01 11:50:54 +00:00
|
|
|
// .--------------------------------------------------------------------------.
|
|
|
|
// | Abstract |
|
|
|
|
// '--------------------------------------------------------------------------'
|
|
|
|
|
|
|
|
// Author: Sven Vogel
|
|
|
|
// Edited: 28.06.2024
|
|
|
|
// License: MIT
|
2024-06-28 13:20:58 +00:00
|
|
|
|
2024-07-05 11:04:27 +00:00
|
|
|
#let new_abstract(config) = context {
|
2024-07-08 19:57:23 +00:00
|
|
|
|
2024-07-05 11:04:27 +00:00
|
|
|
set align(center + horizon)
|
2024-07-02 08:57:38 +00:00
|
|
|
|
2024-07-05 11:04:27 +00:00
|
|
|
// only include summary when a language other than english is used
|
|
|
|
if text.lang == "de" [
|
|
|
|
// Summary is supposed to be on separate page
|
2024-06-28 13:20:58 +00:00
|
|
|
#pagebreak(weak: true)
|
|
|
|
|
2024-07-05 11:04:27 +00:00
|
|
|
= Zusammenfassung
|
|
|
|
#config.thesis.summary
|
2024-06-28 13:20:58 +00:00
|
|
|
]
|
2024-07-05 11:04:27 +00:00
|
|
|
|
|
|
|
// abstract is supposed to be on separate page
|
|
|
|
pagebreak(weak: true)
|
|
|
|
|
|
|
|
heading("Abstract")
|
|
|
|
config.thesis.abstract
|
|
|
|
}
|