-
-
Notifications
You must be signed in to change notification settings - Fork 6
Block styles
The presentation of block elements can be adjusted by setting style keys. Block keys support styling properties from XSL fo:block and XSL extensions.
Appendix title.
Appendix table of contents.
-
maximum-level: <n>— Number of TOC levels to show
TOC entry in appendix TOC. <n> is a number ranging from 1 to 6, representing each of the six TOC entry levels.
Default body text, for example <p> elements.
Chapter title.
title-numbering: 'true' | 'false'
Chapter table of contents.
-
maximum-level: <n>— Number of TOC levels to show
TOC entry in chapter TOC. <n> is a number ranging from 1 to 6, representing each of the six TOC entry levels.
Code block element.
-
line-numbering: 'true' | 'false'— Line numbering. -
show-whitespace: 'true' | 'false'— Show whitespace characters.
Cover page.
Cover page title.
content: content-template
Cover page subtitle or alternative title.
Definition list element.
-
dl-type: 'table' | 'list' | 'html'— Style definition list as bulleted list or indented list.
Example element.
Example element title.
Figure element.
-
caption-number: 'chapter' | 'document'— Number figures with chapter prefix or use whole document numbering. -
caption-position: 'before' | 'after'— Place figure caption before or after figure.
Figure caption.
-
content: Contents of figure caption. Supported fields are:-
number: caption number -
title: caption contents
-
Glossary title.
Topic titles. <n> is a number ranging from 1 to 6, representing each of the six heading levels.
title-numbering: 'true' | 'false'
Hazard statement element.
Hazard statement label element.
Label for hazard statement elements with @type.
Index title.
Note element with @type note or without @type.
Label for note elements.
-
content— Content template.
Note element with @type. Type values are:
notetipfastpathrestrictionimportantrememberattentioncautionnoticedangerwarningtroubleother
To add an image to a note, use the background-image property.
style:
note-other:
background-image: legal.svg
background-repeat: no-repeat
# image width plus padding
padding-start: 60pt + 1em
# image width plus parent indentation
start-indent: 60pt + from-parent(start-indent)Label for note elements with @type.
-
content— Content template.
Ordered list.
Parameter list element.
Part title.
title-numbering: 'true' | 'false'
Part table of contents.
-
maximum-level: <n>— Number of TOC levels to show
Bookmap chapter TOC entry in part TOC.
TOC entry in part TOC. <n> is a number ranging from 1 to 6, representing each of the six TOC entry levels.
Parameter definition element within a parameter list entry.
Parameter list entry element.
Preformatted element.
Parameter term element within a parameter list entry.
Section element.
Section element title.
Short description and abstract styles.
Table element.
-
caption-number: 'chapter' | 'document'— Number figures with chapter prefix or use whole document numbering. -
caption-position: 'before' | 'after'— Place figure caption before or after figure. -
table-continued: 'true' | 'false'— Output "table continued" when table breaks across pages.
Table caption.
-
content: content-template— Contents of table caption. Supported fields are:-
number: caption number -
title: caption contents
-
Table header row
Boolean key to generate default section labels for tasks.
Table of contents.
-
maximum-level: <n>— Number of TOC levels to show
Bookmap appendix TOC entry.
Bookmap chapter TOC entry.
Bookmap part TOC entry.
TOC entry in main TOC. <n> is a number ranging from 1 to 6, representing each of the six TOC entry levels.
Unordered list.