summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authork-84mo10 <115140693+k-84mo10@users.noreply.github.com>2023-12-26 06:28:00 +0900
committerGitHub <noreply@github.com>2023-12-25 22:28:00 +0100
commit9741885aaf35aec33945b9b7b939d5f1a826fef5 (patch)
tree489c06ccd95c6f010fb406a2374f2ddd052e0396 /tests
parentb1256283da047fd4e2c0ba24d981759c745661bb (diff)
Contemporary Japanese numbering (#3012)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/meta/numbering.typ18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/typ/meta/numbering.typ b/tests/typ/meta/numbering.typ
index 445290c5..024c1a0f 100644
--- a/tests/typ/meta/numbering.typ
+++ b/tests/typ/meta/numbering.typ
@@ -83,5 +83,21 @@
}
---
+#set text(lang: "jp", font: ("Linux Libertine", "Noto Serif CJK JP"))
+#for i in range(0, 9) {
+ numbering("あ", i)
+ [ and ]
+ numbering("I.あ", i, i)
+ [ for #i \ ]
+}
+
+#for i in range(0, 9) {
+ numbering("ア", i)
+ [ and ]
+ numbering("I.ア", i, i)
+ [ for #i \ ]
+}
+---
// Error: 17-19 number must be at least zero
-#numbering("1", -1)
+#numbering("1", -1)
+