restructured code in separated files
This commit is contained in:
17
src/participant.typ
Normal file
17
src/participant.typ
Normal 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
|
||||
}
|
Reference in New Issue
Block a user