diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/repeat.png | bin | 0 -> 6637 bytes | |||
| -rw-r--r-- | tests/typ/text/repeat.typ | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/text/repeat.png b/tests/ref/text/repeat.png Binary files differnew file mode 100644 index 00000000..898de96f --- /dev/null +++ b/tests/ref/text/repeat.png 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) \ +] |
