In typesetting, widows and orphans are lines of text that dangle at the beginning and at the end of a block of text, either at the head or at the foot of a page or of a column of text.
- A paragraph-ending line that falls at the beginning of the following page or column, thus separated from the rest of the text. Mnemonically, a widow is "alone at the top" (of the family tree but, in this case, of the page).
- A paragraph-opening line that appears by itself at the bottom of a page or column, thus separated from the rest of the text. Mnemonically, an orphan is "alone at the bottom" (of the family tree but, in this case, of the page).
- Alternately, a word, part of a word, or very short line that appears by itself at the end of a paragraph. Mnemonically still "alone at the bottom", just this time at the bottom of a paragraph. Orphans of this type give the impression of too much white space between paragraphs.
Regarding page design and the layout of the text, the 15th edition of The Chicago Manual of Style (2003) indicates that an edited manuscript should have neither widows nor orphans, even if their elimination leaves blank space at the bottom of the page or of the column of text. The 16th edition of The Chicago Manual of Style (2011) proposes the acceptability that the layout of some pages can conclude with the first line of a new paragraph at the foot of the page.
The techniques for eliminating widows include:
- Forcing a page break early, producing a shorter page;
- Adjusting the leading, the space between lines of text;
- Adjusting the spacing between words to produce tighter or looser paragraphs;
- Adjusting the hyphenation within the paragraph;
- Adjusting the margins of the page;
- Subtle scaling of the page without distorting the letters;
- Rewriting a portion of the paragraph;
- Reduce the letter-spacing (tracking) of the words;
- Adding a pull quote to the text (usual in magazines); and
- Adding a floating block (figure) to the text, or resizing an existing figure.
An orphan is more easily deleted, either by inserting a blank line or by forcing a page break to push the orphan line onto the next page, to be part of the paragraph to which the orphan belongs. Similarly, an orphan word at the end of a paragraph can be relocated by forcing one or more words from the preceding text line into the paragraph line of the orphan. In web-publishing, this is typically accomplished by concatenating the words in question with a non-breaking space and, if available, by utilizing the orphans: and widows: attributes in Cascading Style Sheets. Sometimes it can also be useful to add non-breaking spaces to the first two (or few) short words of a paragraph to avoid having a single orphaned word placed to the left or right of a picture or table, while the remainder of the text (with longer words) would only appear after the table.
Most full-feature word processors and page layout applications include an automatic paragraph setting that prevents widows and orphans; thus, an orphan is forced to the top of the next page or column; and the text line preceding a widow is forced to the next page or column. In technical writing, where a single source may be published in different formats, with the viewer's expectation of viewing content in different sizes and resolutions, the paragraph settings automatically prevent widows and orphans. Manual overrides, such as inserted empty lines or extra spaces, can cause the insertion of a white space into the middle of pages.
- The Chicago Manual of Style, 15th ed., 2003, University of Chicago Press. 3.11 Overall appearance: "A page should not begin with the last line of a paragraph unless it is full measure and should not end with the first line of a new paragraph."
- The Chicago Manual of Style, 16th ed., 2011, University of Chicago Press. 2.113: "A page should not begin with the last line of a paragraph unless it is full measure. (A page can, however, end with the first line of a new paragraph.)"