diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-18 15:10:11 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-18 15:10:11 +0100 |
| commit | 1a6fb48bc5e95d0a9ef243ab62517557189c0eea (patch) | |
| tree | 06f704fe638d5ae25f4976874500c5da75316348 /tests/layouts | |
| parent | 1eb25f86dd6763c4f2d7e60b6d09af60ada50af6 (diff) | |
Page style modification functions 📜
- `page.size`
- `page.margins`
Diffstat (limited to 'tests/layouts')
| -rw-r--r-- | tests/layouts/align.typ | 3 | ||||
| -rw-r--r-- | tests/layouts/coma.typ | 3 | ||||
| -rw-r--r-- | tests/layouts/pagebreaks.typ | 4 | ||||
| -rw-r--r-- | tests/layouts/styles.typ | 3 |
4 files changed, 9 insertions, 4 deletions
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ index e993a43b..34c2f16f 100644 --- a/tests/layouts/align.typ +++ b/tests/layouts/align.typ @@ -1,4 +1,5 @@ -{size:150pt x 215pt} +[page.size: width=150pt, height=215pt] +[page.margins: 0pt] // ---------------------------------- // // Without newline in between. diff --git a/tests/layouts/coma.typ b/tests/layouts/coma.typ index e9fb0994..237b24f4 100644 --- a/tests/layouts/coma.typ +++ b/tests/layouts/coma.typ @@ -1,4 +1,5 @@ -{size:420pt x 300pt} +[page.size: width=450pt, height=300pt] +[page.margins: 1cm] [box][ *Technical University Berlin* [n] diff --git a/tests/layouts/pagebreaks.typ b/tests/layouts/pagebreaks.typ index 6252ecb9..4d3c1843 100644 --- a/tests/layouts/pagebreaks.typ +++ b/tests/layouts/pagebreaks.typ @@ -1,4 +1,6 @@ -{size:150pt x 200pt} +[page.size: width=150pt, height=200pt] +[page.margins: 0pt] + {lorem:100} [page.break] diff --git a/tests/layouts/styles.typ b/tests/layouts/styles.typ index 25057d8a..63745026 100644 --- a/tests/layouts/styles.typ +++ b/tests/layouts/styles.typ @@ -1,4 +1,5 @@ -{size:250pt x 500pt} +[page.size: width=250pt, height=300pt] +[page.margins: 10pt] _Emoji:_ Hello World! 🌍 |
