- Defining Styles
- Using Style Settings
- Class Reference
-
Settings Reference
-
Document Settings
- baseline-grid-size
- column-count
- column-spacing-width
- footnote-enumeration
- footnote-placement
- footnote-style
- locale
- page-binding
- page-height
- page-inset-bottom
- page-inset-inner
- page-inset-outer
- page-inset-top
- page-number-format
- page-number-reset
- page-number-style
- page-orientation
- page-width
- section-break
- two-sided
- Headers and Footers
- Footnotes Area
- Inline
- Media
- Footnotes
- Paragraph
- Divider
- List
- Table
- Table Cell
- Table of Contents
- Table of Contents Item
-
Document Settings
- Editor Plugins
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
}