diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-26 15:47:37 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-26 15:47:37 +0200 |
| commit | d53c933e4d56e6c0484d81814779ddb1597ee032 (patch) | |
| tree | 493aa2f8397a26b11a1137d2882994686b5ac7de /tests/typ/layout/fixed.typ | |
| parent | 784018124d13a4cfb050b8bf1fecd283cdc309db (diff) | |
Add box and block functions
Diffstat (limited to 'tests/typ/layout/fixed.typ')
| -rw-r--r-- | tests/typ/layout/fixed.typ | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/typ/layout/fixed.typ b/tests/typ/layout/fixed.typ deleted file mode 100644 index 51646eaa..00000000 --- a/tests/typ/layout/fixed.typ +++ /dev/null @@ -1,14 +0,0 @@ -// 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 the width is set. -L #right[R] \ -#rect(width: 50pt)[L #right[R]] \ -#rect[L #right[R]] - -// Pad inherits expansion behaviour. -#rect(pad[PL #right[PR]]) -#pad[PL #right[PR]] |
