summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-17 12:11:00 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-17 12:11:00 +0200
commitdb820ae9aa095cf47d4ae3a582467b01613c3711 (patch)
tree93712ec28190dd754a89e7a9266c9855f2a0bd2c /tests/typ/text
parent4494b443bb34fed2208ee3fc87e9a18e7d14b2ab (diff)
Repeat function
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/repeat.typ15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/typ/text/repeat.typ b/tests/typ/text/repeat.typ
new file mode 100644
index 00000000..0036999a
--- /dev/null
+++ b/tests/typ/text/repeat.typ
@@ -0,0 +1,15 @@
+// Test the `repeat` function.
+
+---
+#let sections = (
+ ("Introduction", 1),
+ ("Approach", 1),
+ ("Evaluation", 3),
+ ("Discussion", 15),
+ ("Related Work", 16),
+ ("Conclusion", 253),
+)
+
+#for section in sections [
+ #section(0) #repeat[.] #section(1) \
+]