-
Notifications
You must be signed in to change notification settings - Fork 8
Page format
Giorgio Garofalo edited this page Nov 6, 2024
·
4 revisions
The .pageformat
function configures the page format for paged
and slides
documents. All its parameters are optional, and are:
Parameter | Description | Accepts |
---|---|---|
size |
Name of the paper format. |
A0 ..A10 , B0 ..B5 , letter , legal , ledger
|
width |
Page width. If size is set too, this value overrides its width. |
Size , e.g. 300px , 15cm , 5.8in
|
height |
Page height. If size is set too, this value overrides its height. |
Size , e.g. 300px , 15cm , 5.8in
|
orientation |
Whether width and height of the paper format (size ) should be swapped. This defaults to portrait for plain and paged documents and to landscape for slides . |
portrait , landscape
|
margin |
Blank space between page borders and content. |
Sizes , e.g. 1cm , 15mm 30px , 2in 1in 3in 2in
|
columns |
Number of columns in each page. If set to 2 or higher, the document has a multi-column layout. |
Positive integer |
- Syntax of a function call
- Declaring functions
- Dynamic typing
- Localization
- Including other Quarkdown files
- Importing external libraries
- Document metadata
- Theme
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Table of contents
- Stacks (row, column, grid)
- Align
- Container
- Box
- Collapsible
- Whitespace
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- TeX formulas
- Alerts (quote types)
- Quotation source
- Figure
- Image size
- Table caption
- Decorative headings
- Page break
- Text symbols (text replacement)
- Paper: abstract, definitions, theorems, and more