From ba72a81c78da3bcbd64377574c6391dd78eea975 Mon Sep 17 00:00:00 2001 From: servostar Date: Tue, 19 Nov 2024 11:55:23 +0100 Subject: [PATCH] style: run typstyle --- src/pages/titlepage.typ | 46 +++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/src/pages/titlepage.typ b/src/pages/titlepage.typ index ab5ec5e..4b6f952 100644 --- a/src/pages/titlepage.typ +++ b/src/pages/titlepage.typ @@ -101,15 +101,22 @@ align: top + left, stroke: none, [Matrikelnummer, Kurs:], - par(leading: 0.5em, for author in config.authors { - str(author.matriculation-number) + ", " + author.course - linebreak() - }), + par( + leading: 0.5em, + for author in config.authors { + str(author.matriculation-number) + ", " + author.course + linebreak() + }, + ), + [Betrieb, Betreuer:], - par(leading: 0.5em, for author in config.authors { - author.company + ", " + author.supervisor - linebreak() - }), + par( + leading: 0.5em, + for author in config.authors { + author.company + ", " + author.supervisor + linebreak() + }, + ), ) ] else if text.lang == "en" [ #grid( @@ -119,15 +126,22 @@ align: top + left, stroke: none, [Student ID, Course:], - par(leading: 0.5em, for author in config.authors { - str(author.matriculation-number) + ", " + author.course - linebreak() - }), + par( + leading: 0.5em, + for author in config.authors { + str(author.matriculation-number) + ", " + author.course + linebreak() + }, + ), + [Company, Supervisor:], - par(leading: 0.5em, for author in config.authors { - author.company + ", " + author.supervisor - linebreak() - }), + par( + leading: 0.5em, + for author in config.authors { + author.company + ", " + author.supervisor + linebreak() + }, + ), ) ] else [ #context panic("no translation for language: ", text.lang)