restructured code in separated files

This commit is contained in:
2024-06-18 21:31:13 +02:00
parent 94d0eb286e
commit ed84e06560
12 changed files with 351 additions and 270 deletions

17
src/participant.typ Normal file
View File

@ -0,0 +1,17 @@
#let _par(name, display-name: auto, start-at: 0) = {
return ((
type: "par",
name: name,
display-name: if display-name == auto {name} else {display-name},
start-at: start-at
),)
}
#let _exists(participants, name) = {
for p in participants {
if name == p.name {
return true
}
}
return false
}