Keep an InDesign heading with its text

Use Keep Options to move a heading with the first two lines of its paragraph when a column fills.

Asset preparation2 min read

A heading sits at the bottom of a column while its paragraph starts in the next one. InDesign can keep the heading with the first lines of that paragraph as text reflows.

Set the rule on the heading

In two linked text frames or columns, put a one-line heading and a paragraph of at least three lines near the end of the first column. Apply a paragraph style named Section heading to that heading and to an earlier one with room for its text.

Open Window → Styles → Paragraph Styles. Edit Section heading, open Keep Options, and set Keep with Next to 2 Lines. Keep Start Paragraph at Anywhere for this example. Confirm the change. The setting belongs on the heading paragraph: it keeps its last line together with the first two lines of the following paragraph. For a heading that wraps, also keep all its lines together in Keep Options. Adobe's paragraph-break guidance

Check the reflow

Add text immediately before the second heading until the first column has room for the heading alone. The heading and the next two lines should move to the next column together. The earlier heading should stay in place.

Delete the added text. Once there is enough room, the heading and two lines should move back.

Check the end of the story

An empty gap at the bottom of the first column may be the space needed to keep the group together. Inspect the last threaded frame for the red overset indicator. If text is hidden, add space or revise the copy and recheck the ending. Avoid adding a manual column break to solve this one heading: it stays in the text even after earlier copy changes.

If the heading does not follow the rule, inspect the paragraph style and any local overrides, then verify that the heading and body are separate paragraphs in the same threaded story.

Image tools
All guides
Keep an InDesign heading with its text | Formatry Media — Formatry