blob: 44126d2da11c6dba1679d34cd8db48d7c5e3c020 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Test page margins.
---
// Set all margins at once.
[
#set page(height: 20pt, margins: 5pt)
#place(top + left)[TL]
#place(bottom + right)[BR]
]
---
// Set individual margins.
#set page(height: 40pt)
[#set page(left: 0pt); #align(left)[Left]]
[#set page(right: 0pt); #align(right)[Right]]
[#set page(top: 0pt); #align(top)[Top]]
[#set page(bottom: 0pt); #align(bottom)[Bottom]]
// Ensure that specific margins override general margins.
[#set page(margins: 0pt, left: 20pt); Overriden]
|