summaryrefslogtreecommitdiff
path: root/tests/typ/layout/enum.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/enum.typ')
-rw-r--r--tests/typ/layout/enum.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/layout/enum.typ b/tests/typ/layout/enum.typ
index 2606a64d..a90e1896 100644
--- a/tests/typ/layout/enum.typ
+++ b/tests/typ/layout/enum.typ
@@ -36,6 +36,18 @@ Empty \
a + 0.
---
+// Test item number overriding.
+1. first
++ second
+5. fifth
+
+#enum(
+ enum.item(1)[First],
+ [Second],
+ enum.item(5)[Fifth]
+)
+
+---
// Alignment shouldn't affect number
#set align(horizon)