summaryrefslogtreecommitdiff
path: root/tests/typ/layout/pagebreak.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-12-15 20:27:41 +0100
committerLaurenz <laurmaedje@gmail.com>2021-12-15 20:27:41 +0100
commit2a3d0f4b390457174ed09347dd29e97ff9a783e4 (patch)
tree0e0634bff6b7f64131267f4cbe05651c1c91d900 /tests/typ/layout/pagebreak.typ
parent244ad386ec271ff86a2101eb4cc38d37a55552b9 (diff)
Set Rules Episode VII: The Set Awakens
Diffstat (limited to 'tests/typ/layout/pagebreak.typ')
-rw-r--r--tests/typ/layout/pagebreak.typ12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/typ/layout/pagebreak.typ b/tests/typ/layout/pagebreak.typ
index e0ffc92e..9a74d2bf 100644
--- a/tests/typ/layout/pagebreak.typ
+++ b/tests/typ/layout/pagebreak.typ
@@ -3,7 +3,7 @@
---
First of two
#pagebreak()
-#page(height: 40pt)
+#set page(height: 40pt)
Second of two
---
@@ -12,7 +12,7 @@ A
#box[
B
#pagebreak()
- #page("a4")
+ #set page("a4")
]
C
@@ -23,13 +23,13 @@ D
---
// Test a combination of pages with bodies and normal content.
-#page(width: 80pt, height: 30pt)
+#set page(width: 80pt, height: 30pt)
-Fi[#page(width: 80pt)rst]
-[#page(width: 70pt) Second]
+Fi[#set page(width: 80pt);rst]
+[#set page(width: 70pt); Second]
#pagebreak()
#pagebreak()
Fourth
#page(height: 20pt)[]
Sixth
-[#page() Seventh]
+[#set page(); Seventh]