diff options
| author | Martin Haug <mhaug@live.de> | 2022-05-02 18:48:32 +0200 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2022-05-02 18:48:32 +0200 |
| commit | 33213abe7dfcb8d8065faadd2f5b72ec4b718af1 (patch) | |
| tree | 6763bcd9e8b50e3dcce4e08216127c3c8a492648 /tests/typ/layout/page.typ | |
| parent | 9b4397cdab25daff448cefb179a4699f64fa3d3f (diff) | |
New page margins API
Diffstat (limited to 'tests/typ/layout/page.typ')
| -rw-r--r-- | tests/typ/layout/page.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/layout/page.typ b/tests/typ/layout/page.typ index 89d0f2fb..3157ebf9 100644 --- a/tests/typ/layout/page.typ +++ b/tests/typ/layout/page.typ @@ -24,7 +24,7 @@ // Test page fill. #set page(width: 80pt, height: 40pt, fill: eastern) #text(15pt, "Roboto", fill: white, smallcaps: true)[Typst] -#page(width: 40pt, fill: none, margins: auto, top: 10pt)[Hi] +#page(width: 40pt, fill: none, margins: (top: 10pt, rest: auto))[Hi] --- // Just page followed by pagebreak. |
