2 Commits

Author SHA1 Message Date
pencelheimer 612e70a897 fixed authors list 2025-02-14 23:48:59 +02:00
pencelheimer 67dc761845 updated readme and lab template to 0.13 2025-02-14 23:48:47 +02:00
4 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ To use the template, include it in your project and utilize the provided functio
#import "path/to/template.typ": *
// Setup the document
#show: pz-lb-template.with(
#show: lab-pz-template.with(
title: "Some title",
)
BIN
View File
Binary file not shown.
-3
View File
@@ -1,5 +1,4 @@
#import "template.typ": *
#import "@preview/indenta:0.0.3": fix-indent
#show: lab-pz-template.with(
doctype: "ЛБ",
@@ -23,8 +22,6 @@
worknumber: 1,
)
#show: fix-indent()
#v(-spacing)
== Мета роботи
+10 -8
View File
@@ -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\ ])