Skip to main content

Keep with Next

When you generate a report, or when you change the content of a Word object, how the pages break ("pagination") may shift. To keep certain items grouped together, use the Microsoft Word settings Keep with next and Keep lines together. Apply the settings to tables, headings, and leading paragraphs for tables.

Keep Lines Together

The Keep lines together setting keeps the lines of a single paragraph on the same page. Without this setting, a paragraph might split over two pages:

Keep Lines Together

Keep with Next

The Keep with next setting keeps the bottom of the selected paragraph and the top of the next paragraph on the same page.

Heading on Different Page

To keep a heading on the same page as the paragraph below it, select the heading and the space below it (if used). Apply the settings as shown:

Heading on Different Page

Table Breaking Across Pages

To keep a table from splitting across two pages, select from the heading or leading paragraph to the bottom row of the table, then apply the settings as shown:

Table Breaking Across Pages

Apply the Settings

  1. With the text selected as described above, right-click, then select Paragraph.
  2. In the Paragraph window, on the Line and Page Breaks tab, check the boxes for Keep with next and Keep lines together. Click OK.

    Paragraph Settings

  3. The selection now appears on the same page.

    Selection on the Same Page

Squares Appear in Margin

When Show Formatting Marks is turned on, black squares appear in the margin for any paragraph that has one of the line and page break settings applied.

Squares Appear in Margin

Tables with No Leading Paragraph

For tables in Word with no heading or leading paragraph to select with them, apply the settings to the table itself using these steps:

  1. Click the table move handle in the upper left corner to select the table. (Hover over the table to make the move handle appear). Alternatively, you can select the table by: click in the table, then in the Table Tools - Layout tab, click Select > Select Table.

    Select Table

  2. With the table selected, in the Home tab, click on the Paragraph launch icon in the bottom right corner of the section.

    Paragraph launch icon

  3. In the Paragraph window, on the Line and Page Breaks tab, check the boxes for Keep with next and Keep lines together. Click OK.

Pagination Tips

  • Don't use hard returns (pressing Enter on your keyboard) to control paragraphs and tables breaking across pages. This creates extra white space in HTML and requires significant manual adjustment whenever content changes.
  • Minimize the manual page breaks in your report, using them only where the text must always start on a new page

Was this article helpful?

We're sorry to hear that.