style: run typstyle format
This commit is contained in:
parent
793e31c87a
commit
bb00c83408
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue