diff options
| author | Martin Haug <mhaug@live.de> | 2021-06-27 18:06:39 +0200 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2021-06-27 18:06:39 +0200 |
| commit | 9bd8b7ddac046f581dc750e148147901d08cb0f4 (patch) | |
| tree | 0e7a39d25fe2bcccc7625568548759b330b48008 /tests/typ/layout | |
| parent | 57bd3e23c79878d106ab8be17c71caca6c4f5a7c (diff) | |
Code review, new stack test
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/stack.typ | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/typ/layout/stack.typ b/tests/typ/layout/stack.typ index 006a1412..50ed1eb1 100644 --- a/tests/typ/layout/stack.typ +++ b/tests/typ/layout/stack.typ @@ -7,3 +7,12 @@ rect(3cm, forest), rect(1cm, conifer), ) + +--- + +#let rect(width, color) = rect(width: 1cm, height: 0.4cm, fill: color) +// This stack overflows. +#box(height: 0.5cm, stack( + rect(3cm, forest), + rect(1cm, conifer), +)) |
