diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-12-15 11:12:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-12-15 11:12:38 +0100 |
| commit | 57f5c0a1b15775f9500335f455c7dc7d70cea9f5 (patch) | |
| tree | 1448c12ba70acd3bcd96aea973a511641497f3de /tests/typ/layout | |
| parent | ae38be9097bbb32142ef776e77e627ac12379000 (diff) | |
Set Rules Episode V: The Tests Strike Back
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/background.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/page.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/pagebreak.typ | 7 |
3 files changed, 6 insertions, 5 deletions
diff --git a/tests/typ/layout/background.typ b/tests/typ/layout/background.typ index 6303a83b..f55262b2 100644 --- a/tests/typ/layout/background.typ +++ b/tests/typ/layout/background.typ @@ -1,7 +1,7 @@ // Test placing a background image on a page. --- -#page(paper: "a10", flip: true) +#page(paper: "a10", flipped: true) #font(fill: white) #place( dx: -10pt, diff --git a/tests/typ/layout/page.typ b/tests/typ/layout/page.typ index dc6c7c81..3dad26c8 100644 --- a/tests/typ/layout/page.typ +++ b/tests/typ/layout/page.typ @@ -24,7 +24,7 @@ [#page(margins: 0pt, left: 20pt) Overriden] // Flipped predefined paper. -[#page(paper: "a11", flip: true) Flipped A11] +[#page(paper: "a11", flipped: true) Flipped A11] --- #page(width: 80pt, height: 40pt, fill: eastern) diff --git a/tests/typ/layout/pagebreak.typ b/tests/typ/layout/pagebreak.typ index f9a935bc..e0ffc92e 100644 --- a/tests/typ/layout/pagebreak.typ +++ b/tests/typ/layout/pagebreak.typ @@ -4,6 +4,7 @@ First of two #pagebreak() #page(height: 40pt) +Second of two --- // Make sure that you can't do page related stuff in a container. @@ -24,11 +25,11 @@ D #page(width: 80pt, height: 30pt) -[#page() First] -[#page() Second] +Fi[#page(width: 80pt)rst] +[#page(width: 70pt) Second] #pagebreak() #pagebreak() Fourth -[#page(height: 25pt)] +#page(height: 20pt)[] Sixth [#page() Seventh] |
