Recent chats
ASKGEEZ Q&A GUIDETechnology & devices

How can I keep a heading with the paragraph that follows it?

Quick answer

In Word, select the heading paragraph and enable Keep with next in the Paragraph dialog’s Line and Page Breaks settings. This keeps the heading with the paragraph after it. Then inspect the pages: the setting can move content onto another page. Avoid adding repeated blank lines to force a layout; use paragraph pagination controls instead. [S1] [S2]

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

A heading is stranded at the bottom of a page while its paragraph starts on the next one. What should I change? I’m using a recent version of Word.

Geez

Select the heading paragraph, open the Paragraph dialog, and find the Line and Page Breaks tab. Turn on Keep with next. In Word for Microsoft 365, Word 2024, 2021, and 2019, this setting keeps that paragraph with the one that follows it; the support guidance also describes the option for Word 2016. [S1] [S2]

Select the heading paragraph itself, rather than just a few words in it. The control applies to a paragraph, so selecting the whole heading paragraph is the straightforward way to keep it attached to the next paragraph.

Follow-up question

I don’t see that option, and I’m not sure whether I need Keep lines together instead. How do I tell them apart?

Geez

Look in the paragraph’s pagination settings: Word’s guidance places Keep with next under Paragraph > Line and Page Breaks, with one article labeling the section Pagination. [S1] [S2] If the dialog is open but the option is not visible, check that you are in the Line and Page Breaks area.

The settings do different jobs. Keep with next links a paragraph to the paragraph after it, which addresses a heading separated from its opening paragraph. Keep lines together prevents one paragraph from splitting across pages. Page break before forces a new page before the selected paragraph. [S1] For your case, start with Keep with next on the heading; use Page break before only if you want the heading to start a new page.

Follow-up question

What if the heading moves up or the page gets crowded after I turn it on? I’ve been pressing Enter several times to push things around.

Geez

That movement may be expected: these controls adjust automatic pagination, and Word’s support guidance says to inspect the resulting layout because content may move to another page. [S1] Review the pages around the heading after changing the setting. If the arrangement is still awkward, check whether another paragraph setting or an intentional page break is affecting the layout.

Repeated blank lines are a fragile way to manage page placement. Word’s guidance advises against adding extra line breaks between paragraphs for spacing because Word treats each line break as a new paragraph and page breaks may not occur properly. [S2] Remove the extra blank paragraphs, apply the pagination setting to the heading, and review the result again. The exact layout can depend on the document, so check your own file rather than assuming the same page count.

Follow-up question

Can you show me a small example and a repeatable check before I share the document?

Geez

Suppose your draft contains:

Project update

The team reviewed the schedule and listed the next steps.

Select the Project update heading paragraph and enable Keep with next. Leave the following paragraph as a separate paragraph. Then inspect the pages where that heading appears: it should stay with its following paragraph, though other content may move to make room. [S1] Avoid inserting several empty paragraphs between the heading and its text to force the placement. [S2]

For a quick review, check each heading near a page bottom, confirm it is attached to the intended next paragraph, and scan for unwanted large gaps or moved content. If a paragraph itself is split awkwardly, consider whether Keep lines together is the relevant control for that paragraph; it is not a substitute for linking the heading to what follows. [S1]

A practical checklist

  • Select the heading paragraph, not merely a word in it.

  • Open Paragraph > Line and Page Breaks and enable Keep with next for that heading. [S1]

  • Use Keep lines together only when the goal is to prevent one paragraph from splitting across pages. [S1]

  • Remove repeated blank paragraphs used to force spacing or page placement. [S2]

  • Review the pages around the heading after changing pagination settings; content may move. [S1]

A few more useful answers

Should I apply Keep with next to every paragraph?

Use it where a paragraph should stay attached to the one after it, such as a heading and its opening paragraph. Review the resulting layout, since pagination settings can move content. [S1]

Does Keep with next force the heading to the top of a page?

No. Word’s guidance describes it as keeping the selected paragraph with the following one. Page break before is the separate setting described as forcing a new page. [S1]

What should I use if one paragraph breaks across two pages?

Keep lines together is the setting described for preventing a paragraph from splitting. It addresses a different issue from keeping a heading with the next paragraph. [S1]

Sources

References used for this guide.

  1. [S1] Use Line and Page Breaks settings in Word
    support.microsoft.com · Checked
  2. [S2] Keep text together in Word
    support.microsoft.com · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work