Headings
Chapters and Parts are often used to group sections. Sometimes a Chapter will contain Parts, and sometimes a Part will contain Chapters. Subparts serve the same function, but usually only have a number (or letter) and a heading. Crossheadings don't group sections and they never have a number; they are standalone 'headings' and are not preferred.
How to mark up Chapters
Enter Edit mode.
On one line, start a Chapter with
CHAP <number> - <heading>
.The number and heading are both optional.
The heading should use Sentence case, not ALL CAPS.
Use "space hyphen space" between the number and the heading.
Put the contents of the Chapter on the following lines, indented.
If the Chapter doesn't have a number, you should still use a hyphen before the heading – otherwise the heading will be recorded as the number in the XML.
Example
How to mark up Parts
Enter Edit mode.
On one line, start a Part with
PART <number> - <heading>
.The number and heading are both optional.
The heading should use Sentence case, not ALL CAPS.
Use "space hyphen space" between the number and the heading.
Put the contents of the Part on the following lines, indented.
If the Part doesn't have a number, you should still use a hyphen before the heading – otherwise the heading will be recorded as the number in the XML.
Example
How to mark up Subparts
Enter Edit mode.
On one line, start a Subpart with
SUBPART <number> - <heading>
.The number and heading are both optional.
The heading should use Sentence case, not ALL CAPS.
Use "space hyphen space" before the heading.
Put the contents of the Subpart on the following lines, indented.
If the Subpart doesn't have a number, you should still use a hyphen before the heading – otherwise the heading will be recorded as the number in the XML.
Example
How to mark up Crossheadings
Only use Crossheadings when no other type of heading or grouping makes sense. This happens most often in Schedules.
Enter Edit mode.
On one line, mark text as a heading with
CROSSHEADING <the heading>
.The heading should use Sentence case, not ALL CAPS.
Example
Exercise
In Edit mode, copy and paste the following content into your editor.
Correct it so that it looks like the screenshot below in View mode.
Chapter 2 should have the correct heading (using Sentence case).
Part 1 should have the correct heading (also using Sentence case).
The first Subpart should contain sections 5 and 6.
The second Subpart should contain sections 7 and 8.
Your goal is to make it look like this:
Last updated