About Arbortext Styler > Arbortext Styler Window and Editors > Breaks Category > Breaks Category - Keeps
  
Breaks Category - Keeps
The Keeps sub-category provides options for keeping elements together across page, line, and column boundaries, and controlling widows and orphan lines in print, PDF, and RTF outputs.
The following table describes the properties in the Keeps sub-category.
* 
When the Structure type field is set to Inline for an element, only the Keep properties (print/PDF and RTF only) fields are available. All other properties are deactivated.
Property
Description
Default Value
Widow and orphan control (print/PDF and RTF only)
Limits or permits the appearance of widows and orphans in a document, which refers to a line of text left by itself at the top (widow) or bottom (orphan) of a column or page. Specify the number (Any number, 2 or more, 3 or more) of lines to keep at the top of a page or column and the number of lines to keep at the bottom of a page or column.
If a page or column break occurs in the middle of a table, each table row is considered as a line. When you make settings in the Number of lines to keep at top of page or column or Number of lines to keep at bottom of page or column fields in the context of table these define the number of table rows to control. Widow and orphan control will work correctly within a table that breaks over pages.
Number of lines to keep at top of page or column
Select Any number to permit a widow line in a page or column if needed, i.e. the last line of a text block that has broken over a page or column by itself. Select 2 or more or 3 or more to specify that, if a text block has to run onto the next column or page, it may only do so by at least two or three lines, respectively.
Number of lines to keep at bottom of page or column
Select Any number to permit an orphan line in a page or column if needed, i.e. the first line of a text block that remains on the previous page when the block breaks over to the next column or page. Select 2 or more or 3 or more to specify that, if a text block has to run onto the next column or page, it must leave behind at least two or three lines, respectively.
Keep properties (print/PDF and RTF only)
Controls the breaking of elements over line, column, or page boundaries.
For every option defined, the priority setting specifies the “strength” of the keep, from 0 to 7: 0 always allows breaks and 7 permits no breaks.
Keep scope
Specifies the area in the document in which the defined keeps should apply to the element. The available options are: Same line, Same column, or Same page.
* 
Only Same line applies to elements whose structure type is Inline.
Keep content together priority
Enter a value from 0–7 in this field to specify that element content should be kept together. The value determines the strictness of the keep.
Keep with previous priority
Enter a value from 0–7 in this field to specify that this element should be kept with the previous element. The value determines the strictness of the keep.
This is not available for elements whose structure type is Inline.
Keep with next priority
Enter a value from 0–7 in this field to specify that this element should be kept with the next element. The value determines the strictness of the keep.
This is not available for elements whose structure type is Inline.
Multiple Break Points and Keeps Settings
If two or more break points are found to fit, and each has a keeps setting, composition will break at the location with the lowest keeps level while attempting to place the maximum content on a page.
Note these two examples:
1. If two break points have a level of 3, the break point that fits the most content is chosen.
2. If one break point with a level of 5 has more content than a second break point, which has a level of 4, the second break point is chosen. It is chosen because of its lower keeps value.