From bb00c834084bdade202e9f28d5334dd0dbaaf758 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 29 Nov 2024 18:31:54 +0100 Subject: [PATCH] style: run typstyle format --- src/pages/titlepage.typ | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/pages/titlepage.typ b/src/pages/titlepage.typ index 41b8c4c..faa8d19 100644 --- a/src/pages/titlepage.typ +++ b/src/pages/titlepage.typ @@ -102,19 +102,23 @@ #let rows = int(config.authors.len() / 3 + 0.5) #for i in range(0, rows) { - let cols = calc.min(config.authors.len() - i * 3, 3) + let cols = calc.min(config.authors.len() - i * 3, 3) - grid(columns: cols, column-gutter: 1.5em, ..config.authors.slice(i * 3, i * 3 + cols).map(author => - grid(columns: 1, row-gutter: 1em, - text(size: 1.25em, author.name), - text(size: 1em, author.company), - text(size: 1em, author.contact), - [ - #str(author.matriculation-number), - #author.course - ] - ))) - } + grid(columns: cols, column-gutter: 1.5em, ..config + .authors + .slice(i * 3, i * 3 + cols) + .map(author => grid( + columns: 1, + row-gutter: 1em, + text(size: 1.25em, author.name), + text(size: 1em, author.company), + text(size: 1em, author.contact), + [ + #str(author.matriculation-number), + #author.course + ], + ))) + } ] #set align(bottom)