diff options
| author | Zachary Capalbo <zach.geek@gmail.com> | 2023-06-12 08:28:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-12 14:28:25 +0200 |
| commit | 19bf1f58944a42f17903869c162a33aba22b80b0 (patch) | |
| tree | 08fc6cfcec146a35e9268cfe13a3735ff8e3acb8 /tests | |
| parent | ce875d32f0c8638e89229f165d092dcc6afa4472 (diff) | |
Clear page to Even Or Odd (#1427)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/layout/pagebreak-parity.png | bin | 0 -> 3897 bytes | |||
| -rw-r--r-- | tests/typ/layout/pagebreak-parity.typ | 23 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/ref/layout/pagebreak-parity.png b/tests/ref/layout/pagebreak-parity.png Binary files differnew file mode 100644 index 00000000..af08bac1 --- /dev/null +++ b/tests/ref/layout/pagebreak-parity.png diff --git a/tests/typ/layout/pagebreak-parity.typ b/tests/typ/layout/pagebreak-parity.typ new file mode 100644 index 00000000..4d6ae941 --- /dev/null +++ b/tests/typ/layout/pagebreak-parity.typ @@ -0,0 +1,23 @@ +// Test clearing to even or odd pages. + +--- +#set page(width: 80pt, height: 30pt) +First +#pagebreak(to: "odd") +Third +#pagebreak(to: "even") +Fourth +#pagebreak(to: "even") +Sixth +#pagebreak() +Seventh +#pagebreak(to: "odd") +#page[Nineth] + +--- +#set page(width: auto, height: auto) + +// Test with auto-sized page. +First +#pagebreak(to: "odd") +Third |
