diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/library/stack.png | bin | 0 -> 264 bytes | |||
| -rw-r--r-- | tests/typ/library/stack.typ | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/library/stack.png b/tests/ref/library/stack.png Binary files differnew file mode 100644 index 00000000..684905f7 --- /dev/null +++ b/tests/ref/library/stack.png diff --git a/tests/typ/library/stack.typ b/tests/typ/library/stack.typ new file mode 100644 index 00000000..c773ec79 --- /dev/null +++ b/tests/typ/library/stack.typ @@ -0,0 +1,9 @@ +// Test the `stack` function. + +--- +#let rect(width, color) = rect(width: width, height: 1cm, fill: color) +#stack( + rect(2cm, #2a631a), + rect(3cm, #43a127), + rect(1cm, #9feb52), +) |
