summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/meta/figure.typ22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/typ/meta/figure.typ b/tests/typ/meta/figure.typ
index 7d618d06..36e2da47 100644
--- a/tests/typ/meta/figure.typ
+++ b/tests/typ/meta/figure.typ
@@ -109,3 +109,25 @@ We can clearly see that @fig-cylinder and
table(columns: 2)[a][b],
caption: [The table with custom separator.],
)
+
+---
+// Test localized default separator
+#set text(lang: "fr", region: "CH")
+
+#figure(
+ circle(),
+ caption: [Un cercle.],
+)
+#set text(lang: "es")
+
+#figure(
+ polygon.regular(size: 1cm, vertices: 3),
+ caption: [Un triángulo.],
+)
+
+#set text(lang: "fr", region: "CA")
+
+#figure(
+ square(),
+ caption: [Un carré.],
+)