books Formal book interiors with LibreOffice

Follow these steps to format your next professional book with LibreOffice Writer

Technical writers need to create all kinds of professional book interiors. One common example is a training workbook, which uses a simple book interior: page numbers are 1, 2, 3 and the front matter is included in the page count, although typically without page numbers. That is, the cover page is actually “page 1,” but only body text pages show page numbers.

But if you look closely at any professionally-produced book, you’ll find more formal internal formatting:

  • The cover page, copyright page, and table of contents do not have page numbers
  • The preface, foreword, and other front matter have page numbers like i, ii, iii
  • Body text page numbers are 1, 2, 3
  • Chapters in the front matter and body text always start on the right

Overview

LibreOffice Writer can produce this formatting, mostly by leveraging styles, with a few manual page breaks to reset page numbers. I use these steps to format a formal book interior:

  1. Create new page styles for front matter: Front Left and Front Right
  2. Create a new heading style for front matter headings: Front Heading 1
  3. Modify Heading 1 to insert a page break before it
  4. Modify Subtitle to insert a page break after it
  5. Add the table of contents
  6. Insert manual page breaks to restart page numbering: i, ii, iii and 1, 2, 3
  7. Add page headers and footers
  8. Apply other special formatting
  9. Export the book as a PDF file

Set up the front matter

Create new page styles for front matter called Front Left and Front Right. Set the “Next page style” for Front Left pages to be Front Right, and set the “Next page style” for Front Right pages to Front Left.

Creating the Front Left page style

Front Left pages should use “Only left” page layout, and Front Right pages should use “Only right.” Both should use i, ii, iii page numbers.

I also set my page size to 6×9

Create a new style for front matter headings called Front Heading 1, which inherits from Heading 1.

Right-click to add a new style

Creating the Front Heading 1 style

Under the “Text Flow” tab, insert a page break before it, with Front Right page style.

Adding a page break before Front Heading 1

Use Front Heading 1 for all front matter headings, such as “Preface” or “Foreword.”

Start new pages automatically

Modify the Heading 1 style to insert a page break before it, with Right Page style. LibreOffice already provides Right Page and Left Page styles.

Adding a page break before Heading 1

Modify the Subtitle style to insert a page break after it, without a specific style. This starts the copyright page on a new page.

Adding a page break after Subtitle

Table of contents

Add the table of contents. Let LibreOffice build it automatically, using styles: Front Heading 1 and Heading 1 as both “first-level” headings.

Inserting a new table of contents

Set Heading 1 and Front Heading 1 to level 1

Modify the Contents Heading style to insert a page break before it, without a specific style. By default, this will use whatever page style is currently in use, which is Default Page Style at this point.

Adding a page break before Contents Heading

Add manual page breaks where needed

Insert manual page breaks after the table of contents and before the other front matter, and after the front matter and before the first chapter.

Adding a manual page break

Make the new page Default Page Style, and set the initial page number to 0 or whatever the next page will be. For example, if you add a page break on a right page, set the new page number to 0 so the next right-hand page will be “page 1.”

Set the new page number to 0

Add your own formatting

Add page headers and footers to Right Page, Left Page, Front Right, and Front Left pages. Insert a field for the page number. Add whatever text you prefer for the header; I usually insert the book’s title on left pages and the section title (“Heading > Heading contents”) on right pages.

Adding the chapter title as a field

Apply other special formatting. For example, my formal book interiors usually apply hyphenation to the body text, and justify the text. I also prefer to center the page header and footer, and add a border to separate them from the main text. For certain books, I might also add extra space above a chapter title, to help the new chapter stand apart from the rest of the book interior.

Export the finished book

Export the book as a PDF file. Don’t forget to refresh the table of contents first, and to include any automatically-inserted blank pages.

Exporting the project as a PDF file


Creating a formal book interior requires a few extra steps, but the final product looks much more professional. If you'd like to see an example, you can download a sample formal book interior in LibreOffice format, and as a PDF:

Buy the book!
From Markup to Markdown