summaryrefslogtreecommitdiff
path: root/tests/typ/layout/enum-numbering.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/enum-numbering.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/enum-numbering.typ')
-rw-r--r--tests/typ/layout/enum-numbering.typ55
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/typ/layout/enum-numbering.typ b/tests/typ/layout/enum-numbering.typ
deleted file mode 100644
index 7efe195f..00000000
--- a/tests/typ/layout/enum-numbering.typ
+++ /dev/null
@@ -1,55 +0,0 @@
-// Test enum numbering styles.
-
----
-// Test numbering pattern.
-#set enum(numbering: "(1.a.*)")
-+ First
-+ Second
- 2. Nested
- + Deep
-+ Normal
-
----
-// Test full numbering.
-#set enum(numbering: "1.a.", full: true)
-+ First
- + Nested
-
----
-// Test numbering with closure.
-#enum(
- start: 3,
- spacing: 0.65em - 3pt,
- tight: false,
- numbering: n => text(
- fill: (red, green, blue).at(calc.rem(n, 3)),
- numbering("A", n),
- ),
- [Red], [Green], [Blue], [Red],
-)
-
----
-// Test numbering with closure and nested lists.
-#set enum(numbering: n => super[#n])
-+ A
- + B
-+ C
-
----
-// Test numbering with closure and nested lists.
-#set text(font: "New Computer Modern")
-#set enum(numbering: (..args) => math.mat(args.pos()), full: true)
-+ A
- + B
- + C
- + D
-+ E
-+ F
-
----
-// Error: 22-24 invalid numbering pattern
-#set enum(numbering: "")
-
----
-// Error: 22-28 invalid numbering pattern
-#set enum(numbering: "(())")