page format - iamgio/quarkdown GitHub Wiki

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
⚠️ **GitHub.com Fallback** ⚠️