Page Category Keys
page
The keys in the page
category control the size, margins, and background of the pages in a document (i.e., canvas).
We recommended that you define this category before all other categories.
The background of the title page can be styled independently of other pages. See Title Page and Title Page Category Keys for details. |
Key | Value Type | Example |
---|---|---|
Color |
|
|
image macro | path |
|
|
image macro | path |
|
|
image macro | path |
|
|
initial-zoom |
|
|
layout |
|
|
margin |
Measurement | Measurement[top,right,bottom,left] |
|
Measurement |
|
|
Measurement |
|
|
mode |
|
|
size |
Named size | Measurement[width,height] |
|
Disable background-color
To disable the background color for the page, set the value of background-color
to white (i.e., #FFFFFF
).
The color keyword transparent
is not recognized in this context.
Inner and outer margins
The margins for recto
(right-hand, odd-numbered) and verso
(left-hand, even-numbered) pages are calculated automatically from the margin-inner
and margin-outer
values.
These margins and used when the value prepress
is assigned to the media
document attribute.
If no cover is specified, the recto margin is not applied to the title page.
To apply the recto margin to the title page, but not include a cover, assign the value ~
to the front-cover-image
and back-cover-image
attributes.
See Cover Category Keys for information about the cover
category keys.
page-numbering
The key in the page-numbering
category controls where the integer (1-based) page numbering begins.
Key | Value Type | Example |
---|---|---|
start-at |
Start page | Integer |
|
See Starting integer page numbering for more information about the start-at
key, its values, and their requirements.