page-number-style
The style that should be used for generating page numbers. Will be used to fill the placeholder “%p
” in page-number-format
.
Availability
Available in: Document Settings
Type
Available values
Value | Description |
---|---|
decimal |
Use decimal numbers to fill the placeholder. Used as default. |
lowercase-alpha |
Use lowercase alphabetic characters to fill the placeholder. (a … z, aa … zz, …) |
uppercase-alpha |
Use uppercase alphabetic characters to fill the placeholder. (A … Z, AA … ZZ, …) |
lowercase-roman |
Use lowercase roman numerals to fill the placeholder. (i, ii, iii, iv, v, …) |
uppercase-roman |
Use uppercase roman numerals to fill the placeholder. (I, II, III, IV, V, …) |
Default value
decimal
Inherited
No.
Example
// Show "- 1 -", "- 2 -" in the footer area of a page.
document-settings {
page-number-format: "- %p -"
page-number-style: decimal
}
area-footer {
content: page-number
text-alignment: center
}