summaryrefslogtreecommitdiff
path: root/tests/typ/layout/fixed.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-06-26 15:47:37 +0200
committerLaurenz <laurmaedje@gmail.com>2021-06-26 15:47:37 +0200
commitd53c933e4d56e6c0484d81814779ddb1597ee032 (patch)
tree493aa2f8397a26b11a1137d2882994686b5ac7de /tests/typ/layout/fixed.typ
parent784018124d13a4cfb050b8bf1fecd283cdc309db (diff)
Add box and block functions
Diffstat (limited to 'tests/typ/layout/fixed.typ')
-rw-r--r--tests/typ/layout/fixed.typ14
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]]