diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-11 14:42:20 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-11 14:42:20 +0200 |
| commit | 4017b5a9f67e06145129d75de452c8a42e2d2f5a (patch) | |
| tree | 8ce9c6f80faa75ed62d4f7fbe31d3ceee6e8d4ba /tests/typ/layout/fixed.typ | |
| parent | 4dbd9285c91d59d527f4324df4aaf239ecb007ca (diff) | |
Push some nodes directly into the stack
Diffstat (limited to 'tests/typ/layout/fixed.typ')
| -rw-r--r-- | tests/typ/layout/fixed.typ | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/layout/fixed.typ b/tests/typ/layout/fixed.typ index bcb88fe1..51646eaa 100644 --- a/tests/typ/layout/fixed.typ +++ b/tests/typ/layout/fixed.typ @@ -1,14 +1,14 @@ -// Test shrink-to-fit vs fixed. +// Test shrink-to-fit vs expand. --- #let right(body) = align(right, body) #let pad(body) = pad(left: 10pt, right: 10pt, body) -// Top-level paragraph fills page, boxed paragraph only when width is fixed. +// Top-level paragraph fills page, boxed paragraph only when the width is set. L #right[R] \ #rect(width: 50pt)[L #right[R]] \ #rect[L #right[R]] // Pad inherits expansion behaviour. -#pad[PL #right[PR]] \ #rect(pad[PL #right[PR]]) +#pad[PL #right[PR]] |
