summaryrefslogtreecommitdiff
path: root/tests/typ/structure/enum.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/structure/enum.typ')
-rw-r--r--tests/typ/structure/enum.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/structure/enum.typ b/tests/typ/structure/enum.typ
index 40aad625..d4c30385 100644
--- a/tests/typ/structure/enum.typ
+++ b/tests/typ/structure/enum.typ
@@ -12,7 +12,7 @@
---
// Test automatic numbering in summed content.
#for i in range(5) {
- [+ #roman(1 + i)]
+ [+ #numbering(1 + i, "I")]
}
---
@@ -42,7 +42,7 @@
start: 4,
spacing: 0.65em - 3pt,
tight: false,
- label: n => text(fill: (red, green, blue)(mod(n, 3)), [#upper(letter(n))]),
+ label: n => text(fill: (red, green, blue)(mod(n, 3)), numbering(n, "A")),
[Red], [Green], [Blue],
)