1.7

Table Of Contents
1.
On the menu, select Edit > Stylesheets.
2.
Select the Print context.
3.
Click New (or, when there are already CSS rules for paragraphs, click the selector p and
click Edit).
4.
Click Format.
5.
After Widows and Orphans, type the minimum number of lines that should be kept
together.
Alternatively, manually set the set the widows and orphans properties in a style sheet:
1.
Open the style sheet for the Print context: on the Resources pane, expand the Styles
folder and double-click context_print_styles.css.
2. Add a CSS rule, like the following:
p { widows: 4; orphans: 3 }
Per paragraph
To change the widow or orphan setting for one paragraph only:
1.
Select the paragraph, using the breadcrumbs or the Outline pane (next to the Resources
pane).
2.
Select Format > Paragraph, on the menu.
3.
After Widows and Orphans, type the number of minimum number of lines that should be
kept together.
In tables
The CSS properties widows and orphans can be used in tables. They are not available in the
Table Formatting dialog, however, so they must be added manually, either directly in the style
attribute of the <table> element (on the Source tab in the Workspace) or in a style sheet rule, as
follows:
1.
On the menu, select Edit > Stylesheets.
2.
Select the Print context.
3.
Click New (or, when there are already CSS rules for tables, click the selector table and
click Edit).
Page 86