grouped some elmt defs in misc.typ

This commit is contained in:
2025-07-16 15:29:30 +02:00
parent d51a08830d
commit 7106cc3e22
6 changed files with 68 additions and 69 deletions

View File

@ -1,6 +1,6 @@
#import "core/draw/participant.typ"
#let PAR-SPECIALS = "?[]"
#let PAR-SPECIALS = ("?", "[", "]")
#let SHAPES = (
"participant",
"actor",
@ -50,7 +50,7 @@
}
#let _exists(participants, name) = {
if name == "?" or name == "[" or name == "]" {
if name in PAR-SPECIALS {
return true
}