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": * #import "path/to/template.typ": *
// Setup the document // Setup the document
#show: pz-lb-template.with( #show: lab-pz-template.with(
title: "Some title", title: "Some title",
) )
BIN
View File
Binary file not shown.
-3
View File
@@ -1,5 +1,4 @@
#import "template.typ": * #import "template.typ": *
#import "@preview/indenta:0.0.3": fix-indent
#show: lab-pz-template.with( #show: lab-pz-template.with(
doctype: "ЛБ", doctype: "ЛБ",
@@ -23,8 +22,6 @@
worknumber: 1, worknumber: 1,
) )
#show: fix-indent()
#v(-spacing) #v(-spacing)
== Мета роботи == Мета роботи
+10 -8
View File
@@ -634,14 +634,16 @@
#columns(2)[ #columns(2)[
#set align(left) #set align(left)
#set par(first-line-indent: 0pt)
#if authors.len() == 1 [ #if authors.len() == 1 {
#let author = authors.at(0) let author = authors.at(0)
#if author.gender == "m" { [Виконав:\ ] } else { [Виконала:\ ] } if author.gender == "m" [Виконав:\ ] else [Виконала:\ ]
ст. гр. #author.group\ [
#author.name\ ст. гр. #author.group\
#if author.variant != none { [Варіант: #author.variant] } #author.name\
] else [ ]
if author.variant != none [Варіант: #author.variant]
} else [
Виконали:\ Виконали:\
ст. гр. #authors.at(0).group\ ст. гр. #authors.at(0).group\
#authors.map(a => [ #a.name\ ]) #authors.map(a => [ #a.name\ ])