To format a working TOC successfully, all content in the TOC will need to have a Style applied to it. The same style will need to be applied to the same items. For example, if your book has ten chapters, each chapter will need to be formatted with the same style (for example, Heading 1). If your book has sub-chapters, each sub-chapter title will need to be formatted with a style (for example, Heading 2).
- Go to your first chapter title and highlight (select) it
- While the chapter title is selected, go to the Styles section of the tool bar and apply a style
We recommend using Headings 1 for the main chapter titles and Heading 2 for sub-chapters that you want included in your TOC.
- To keep the same format of your book with the font type, size and color, you can right click in Heading 1 or Heading 2 and Modify so you can adjust the text while keeping the same format
Tip: the chapter title must remain highlighted (selected) for the Style to be applied.
- Repeat steps 1 and 2 for all chapter titles in your manuscript.
Tip: for the Table of Contents to work correctly, and to ensure that the NCX view is enabled, all chapter titles must have the same heading style applied.
After you've applied the same style to all of your chapter titles, you'll need to create a blank page where you want the TOC to appear. It should appear before the main content and after front matter (copyright information or the title page).
- At the top of the window, change from the Home tab to the References tab
- From the tool bar, select Table of Contents. We recommend two options for creating an eBook TOC:
- Select Automatic Table 1 from the Table of Contents
- Select Custom Table of Contents from the
- In the pop-up window, remove the checkmark from Show Page Numbers box
- Change Show Levels to 1 (one)
- Click OK
Automatic Table 1
Custom Table of Contents
The TOC will appear with working links to each chapter in your book. However, this TOC needs to be edited for your eBook. With eBooks, readers can change line spacing and font and margin size, so standard page numbers don't apply to eBooks. Because of this, the TOC numbers in your Word file don't apply and need to be removed to avoid confusing your readers.
- Highlight (select) the page numbers and leading dots ("....123")
- Right-click and select Cut
- Save your Word file
Publish your file as you would any other content.