diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-16 12:47:14 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-16 12:47:14 +0100 |
| commit | 79638d4bbdc140a8dca0ccfdf70ffd607d5da251 (patch) | |
| tree | 3da8a7d345ccac389d07c8327d9c63fd7209a250 /tests/typ/layout/stack-1.typ | |
| parent | 73c4701749ac3919c5b845002052326502c67306 (diff) | |
Don't wrap already layoutable nodes into flows/pars unnecessarily
Diffstat (limited to 'tests/typ/layout/stack-1.typ')
| -rw-r--r-- | tests/typ/layout/stack-1.typ | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/typ/layout/stack-1.typ b/tests/typ/layout/stack-1.typ index b8d8a09d..42a0137d 100644 --- a/tests/typ/layout/stack-1.typ +++ b/tests/typ/layout/stack-1.typ @@ -13,9 +13,8 @@ w => rect(width: w, height: 10pt, fill: next()) } -#let items = for w in widths { (shaded(w),) } +#let items = for w in widths { (align(right, shaded(w)),) } -#align(right) #page(width: 50pt, margins: 0pt) #stack(dir: btt, ..items) #pagebreak() |
