forked from pencelheimer/typst_nure_template
fixed authors list
This commit is contained in:
BIN
lab_example.pdf
BIN
lab_example.pdf
Binary file not shown.
18
template.typ
18
template.typ
@ -634,14 +634,16 @@
|
||||
|
||||
#columns(2)[
|
||||
#set align(left)
|
||||
|
||||
#if authors.len() == 1 [
|
||||
#let author = authors.at(0)
|
||||
#if author.gender == "m" { [Виконав:\ ] } else { [Виконала:\ ] }
|
||||
ст. гр. #author.group\
|
||||
#author.name\
|
||||
#if author.variant != none { [Варіант: №#author.variant] }
|
||||
] else [
|
||||
#set par(first-line-indent: 0pt)
|
||||
#if authors.len() == 1 {
|
||||
let author = authors.at(0)
|
||||
if author.gender == "m" [Виконав:\ ] else [Виконала:\ ]
|
||||
[
|
||||
ст. гр. #author.group\
|
||||
#author.name\
|
||||
]
|
||||
if author.variant != none [Варіант: №#author.variant]
|
||||
} else [
|
||||
Виконали:\
|
||||
ст. гр. #authors.at(0).group\
|
||||
#authors.map(a => [ #a.name\ ])
|
||||
|
Reference in New Issue
Block a user