Using ‘keep with next’ and ‘widow/orphan control’
Have you ever formatted a document in MS Word, only for the layout to fall apart when changes are made to the text? For example, headings may suddenly be split over two pages or be separated from the text that follows them, or a page may start with a blank line. This post explains how to create formatting that is robust and will withstand changes to the text.
When you format a document, you want any headings that continue for several lines to appear on a single page, and all headings to stay with at least a couple of lines of the text that follows them. It is easy to achieve this by:
- using styles for the headings (if you’re not sure how to do this, see my blog post Three reasons to use styles in MS Word)
- setting the styles to have ‘Keep with next’ and ‘Keep lines together’.
Here is one way to set up a robust and reliable Heading 1 in Word:
- In your document, put your cursor in some text and apply the style ‘Heading 1'.
- On the Home tab, click on the Paragraph Settings button at the bottom right-hand side of the Paragraph box.
The Paragraph dialogue box appears.
Under the ‘Line and Page Breaks’ tab, ensure that the first three boxes are
- Widow/orphan control
- Keep with next
- Keep lines together
Then click 'OK' to get out of that box.
with your cursor still in the Heading 1 text that you have modified, right click on Heading 1.
From the list that appears, select ‘Update Heading 1 to Match Selection’:
Now all your text that is styled as Heading 1 will have those settings. You can repeat this process for Heading 2, Heading 3 and so on.
These settings ensure that your headings will not split across two pages and, where necessary, they will automatically move to the next page, to stay with the text that follows them.
When I receive a document from a client, it generally has spaces between paragraphs of Normal text. The document may look fine, but if I show the hidden formatting (by clicking ¶ on the Home tab), I often find that the spacing has been added using hard returns, so it looks something like this, with two paragraph marks between each paragraph:
This approach can lead to messy formatting, such as a new page starting with a blank line or unevenly spaced text. A better option is to use spacing for your styles. For example, to amend the Normal style, I could:
- Put my cursor in some text and apply Normal style.
- Open the Paragraph dialogue box (as described above), but this time click on the ‘Indents and Spacing’ tab.
- Set the spacing after to be 6 pt (using the up and down arrow next to ‘After’ moves in 6 pt increments – if you prefer a different spacing you can just type in a number):
Once you have applied 6-pt spacing after the text, your Normal text will be nicely spaced, without the need for extra paragraph marks.
Tip: When working with a client’s document, I fix the style, then use a shortcut from Editor’s Toolkit Plus to remove multiple paragraph marks.
You might find it a huge relief to understand how to fix these issues with headings and spacing. Some of my clients have come to me in frustration after hours of trying to wrangle spacing in Word. The ‘widow/orphan control’ and ‘keep with next’ are not obvious. Hopefully, next time you can apply these settings in advance and avoid formatting frustrations.