HP Integrity NonStop H-Series User Manual

Page 210

Advertising
background image

Splitting Paragraphs

Designing the Page Layout

058060 Tandem Computers Incorporated

8–29

Splitting Paragraphs

Paragraphs can present special problems when they are interrupted by
page breaks. When a page break leaves the first line of a paragraph alone at
the bottom of a page, the line is called an orphan. When a page break carries
over only the last line of a paragraph to the top of a new page, the line is
called a widow. By default, TFORM widows and orphans contain two lines.

If you want widows or orphans to consist of more than two lines, you
change the settings using the STYLE PARAGRAPHS command. To control
orphans, enter the STYLE PARAGRAPHS TOP command. To control
widows, enter the STYLE PARAGRAPHS BOTTOM command. For
example, to make sure that at least three lines of a paragraph stay together
at the bottom of a page, or at least three lines are carried over to the next
page, you enter the following commands:

\STYLE PARAGRAPHS BOTTOM 3
\STYLE PARAGRAPHS TOP 3

Command

Number of lines to keep together

Indicates beginning

or end of paragraph

You can, of course, control the number of lines by putting a KEEP
command before the lines you want together. The STYLE PARAGRAPHS
command is most useful when you want to set widow and orphan control
for an entire document.

If you enter the STYLE PARAGRAPHS BOTTOM or STYLE PARAGRAPHS
TOP command with no values, TFORM reverts to the default setting.

Note

You must have SET JOIN ON to use the STYLE PARAGRAPHS BOTTOM or STYLE
PARAGRAPHS TOP command.

Advertising
This manual is related to the following products: