diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-17 12:11:00 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-17 12:11:00 +0200 |
| commit | db820ae9aa095cf47d4ae3a582467b01613c3711 (patch) | |
| tree | 93712ec28190dd754a89e7a9266c9855f2a0bd2c /tests | |
| parent | 4494b443bb34fed2208ee3fc87e9a18e7d14b2ab (diff) | |
Repeat function
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) \ +] |
