Force a page break (PDF-only)

While our pagination algorithm does its best to break pages in the best location, sometimes it falls short of your expectations. You can use character styles and processing instructions to insert page breaks after specific words or characters, or after a specific paragraph. These page breaks will only appear in your PDF, and your EPUB will still reflow and break naturally.

Force a page break after a specific character

You can insert a page break after a specific word or character in your text by using character styles. Here’s how:

  1. Find the word or character that you want the page to break after. This character will appear at the end of the current page, and any text following it will appear at the beginning of the next page.

  2. Select the word or character, and in the Styles pane (see “Fine-tune Word Styles” for more about the Styles pane), click to apply the HED SPAN Page break after character style.

You won’t notice a major change in your Word document, but the next time you create a PDF, you should see the page break in the location you chose.

To remove the break: select the text again (we recommend selecting a bit of extra text before and after the styled text as well, just to be safe), and in the Styles pane, click the Normal character style to apply it.

Force a page break after a paragraph

To force a page to break after an entire paragraph, you’ll use a processing instruction (see “Add special layout instructions” for more background info). Here’s how:

  1. In your Word document, find the paragraph that you want the page to break after.

  2. Insert a new paragraph directly after that chosen paragraph.

  3. In the Styles pane, find the HED Processing instruction style, and click to apply it to your new paragraph.

  4. In your new processing instruction paragraph, type the following:

    ATTRS=class: pageBreakAfter

The next time you create a PDF, you should see the page break in the location you chose.

To remove the break, simply delete the new processing instruction paragraph that you created in the steps above.