Forcing a Break
in Your Chapter Headings

Let’s say you have a chapter heading with this text:  “Forcing a Break in Your Chapter Headings”

And, in the theme you’ve chosen, the chapter heading comes out like this in the PDF:

Forcing a Break in Your Chapter
Headings

But you would like it to come out like this:

Forcing a Break in
Your Chapter Headings

You can do this by entering the following in the Chapter Title field in the Pressbooks editor:

"Forcing a Break in<br />Your Chapter Heading"

Notes and Explanations

  • The <br /> is the HTML tag for “break.”
  • Make sure there is no space on either side of the <br /> tag.
  • Pressbooks will strip this break when generating the Table of Contents — since the styling for the TOC won’t want the same break as the chapter heading.
  • This break will also be present in the EPUB, which might cause some funny breaking on small screens.
chapter-heading-break

Chapter Heading Break