diff --git a/lib.typ b/lib.typ index 09f62a5..b51c4ac 100644 --- a/lib.typ +++ b/lib.typ @@ -73,7 +73,10 @@ [#caption (за даними #sink.pos().first())] } - [#figure(image(path, ..sink.named()), caption: caption) #label(label_string)] + [#figure( + image(path, ..sink.named()), + caption: caption, + ) #label(label_string)] } // Styling {{{1 @@ -702,8 +705,8 @@ if author.variant != none [Варіант: №#author.variant] } else [ Виконали:\ - ст. гр. #authors.at(0).group\ - #authors.map(a => [ #a.name\ ]) + ст. гр. #edu_program\-#authors.at(0).group\ + #for author in authors [#author.name\ ] ] #colbreak() diff --git a/template/config/doc.yaml b/template/config/doc.yaml index aced88f..1e6f7d5 100644 --- a/template/config/doc.yaml +++ b/template/config/doc.yaml @@ -2,17 +2,6 @@ title: Потiк керування та алгоритмічні структу subject: СПМ doctype: ЛБ worknumber: 2 -edu_program: &EDU ПЗПІ -university: ХНУРЕ -authors: - - name: Косач. Л. П. - full_name_gen: Косач Лариси Петрівни - course: 2 - edu: *EDU - gender: f - group: 23-2 - semester: 4 - variant: 8 mentors: - name: Шевченко Т. Г. degree: Доцент кафедри ПІ @@ -20,3 +9,14 @@ mentors: - name: Франко І. Я. degree: Асистент кафедри ПІ gender: m +edu_program: &EDU ПЗПІ +university: ХНУРЕ +authors: + - name: Косач Л. П. + full_name_gen: Косач Лариси Петрівни + course: 2 + edu: *EDU + gender: f + group: 23-2 + semester: 4 + variant: 8