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.typ28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/typ/layout/enum.typ b/tests/typ/layout/enum.typ
new file mode 100644
index 00000000..9512e1b5
--- /dev/null
+++ b/tests/typ/layout/enum.typ
@@ -0,0 +1,28 @@
+// Test enumerations.
+
+---
+#enum[Embrace][Extend][Extinguish]
+
+---
+1. First.
+ 2. Indented
+
++ Second
+
+---
+// Test automatic numbering in summed content.
+#for i in range(5) {
+ [+ #numbering("I", 1 + i)]
+}
+
+---
+// Mix of different lists
+- Bullet List
++ Numbered List
+/ Term: List
+
+---
+// Edge cases.
++
+Empty
++Nope