From 04b55eecd5c2a93d50f87a4efab099342249e872 Mon Sep 17 00:00:00 2001 From: servostar Date: Tue, 15 Apr 2025 14:10:09 +0200 Subject: [PATCH] feat: add coauthor to titlepage --- src/conf.typ | 1 + src/pages/titlepage.typ | 10 ++++++++++ template/main.typ | 3 +++ 3 files changed, 14 insertions(+) diff --git a/src/conf.typ b/src/conf.typ index b9e1328..770732a 100644 --- a/src/conf.typ +++ b/src/conf.typ @@ -26,6 +26,7 @@ ), supervisor-signature: false, authors: ((), ()), + coauthors: (), // information about thesis thesis: ( title: "Unofficial ABB/DHBW Typst template", diff --git a/src/pages/titlepage.typ b/src/pages/titlepage.typ index f1f39cf..64b0905 100644 --- a/src/pages/titlepage.typ +++ b/src/pages/titlepage.typ @@ -138,6 +138,16 @@ } ] + #v(1em) + + #align(center)[ + coauthored in part by + #linebreak() + #for author in config.coauthors { + author + } + ] + #set align(bottom) #pad(top: 1.5em)[ diff --git a/template/main.typ b/template/main.typ index 32c73c0..4cbaca5 100644 --- a/template/main.typ +++ b/template/main.typ @@ -24,6 +24,9 @@ contact: "sven.vogel123@web.de" ) ), + coauthors: ( + "Gorbatschew" + ), thesis: ( title: "Unofficial ABB/DHBW Typst template", subtitle: "for reports and thesises",