commit 09bc78c920211b6dec899bcd051c7894084d3595
parent 707f8ab9dcc3fe85d2ac61d6863912ac3fc45f89
Author: orangerot <orangerot@orangerot.dev>
Date: Wed, 12 Nov 2025 15:12:29 +0100
fix: label name must not be empty
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/muendliche-pruefung-mathematik/lib.typ b/muendliche-pruefung-mathematik/lib.typ
@@ -67,7 +67,7 @@
doc
) = [
#let checkbox(checked: false) = if (checked) {$times.square$} else {$square$}
- #let input(width: 1fr, name: "", body) = box(width: width, height: 1em, inset: (bottom: 2pt), baseline: 2pt, stroke: (bottom: 0.5pt),align(right, [#body #label(name)]))
+ #let input(width: 1fr, body) = box(width: width, height: 1em, inset: (bottom: 2pt), baseline: 2pt, stroke: (bottom: 0.5pt),align(right, body))
#let grid_arguments(it) = {
let g = it.fields()
let _ = g.remove("label")