2020.2

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. Open the Formatting dialog. To do this, you can:
l
Select the paragraph using the breadcrumbs or the Outline pane (next to the
Resources pane) and then select Format > Paragraph in the menu.
l
Right-click the paragraph and select Paragraph... from the contextual menu.
2.
After Widows and Orphans, type the minimum number of lines that should be kept
together.
In tables
The CSS properties widows and orphans can be used in tables to prevent a number of rows
from being separated from the rest of the table.
A Standard Table doesn't flow over multiple pages by default. Splitting a Standard Table over
multiple pages requires setting the Connect-specific data-breakable attribute on all of its rows.
You can either open the Source tab, or write a script to replace each <tr> with <tr data-
breakable="">. Note that the effect will only be visible in Preview mode.
To set the number of widows and orphans for a table:
Page 151