-
-
Notifications
You must be signed in to change notification settings - Fork 214
Page format
Giorgio Garofalo edited this page Nov 6, 2024
·
13 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 |
- Figures
- Image size
- TeX formulae
- Table caption
- Code caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Cross-references
- Page breaks
- Text symbols (text replacement)
- Emojis
- Document metadata
- Theme
- CSS
- Fonts
- Page format
- Page margin content
- Page counter
- Persistent headings
- Automatic page break
- Numbering
- Paragraph style
- Caption position
- Table of contents
- Bibliography
- Footnotes
- Stacks (row, column, grid)
- Container
- Align
- Float
- Figure
- Clip
- Box
- Collapsible
- Landscape
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Table generation
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more