Creating a table of contents in InDesign – Basics Tutorial

0
Creating a table of contents in InDesign – Basics Tutorial

Catalogues, magazines and journals usually have many pages. The table of contents (TOC) on the first three pages helps readers navigate the publication. Adobe InDesign provides a convenient function to automatically generate a table of contents. This saves you a great deal of work. In this InDesign tutorial, you will learn how to use this function and what requirements have to be met.

Table of contents in Adobe InDesign

The more pages a catalogue or chapters a book has, the longer the table of contents will be. Manually entering the titles and page numbers in the table of contents is a very time-consuming task. To save you valuable time, InDesign provides the “Table of Contents” function to automatically generate a TOC based on paragraph formats.

Content

Basic requirements

Two basic requirements are necessary for InDesign to include the desired content in the table of contents. Firstly, each page to be included in the table of contents must be in the same document as the TOC itself. So if you have a 60-page article, for example, your document will comprise all 60 pages. Secondly, the text must be properly formatted. This means that all contents, such as headings or body text, must have a separate paragraph format and must be set up accordingly.

A computer screen displays InDesign Inhaltsverzeichnis features in a design program, with a golfer swinging a club on the left and a paragraph styles panel on the right over German placeholder text.

Creating the table of contents

In this example, we want to create a table of contents for a three-page article on golf. We want the table of contents to include subheadings, too. Go to the Layout menu and select Table of Contents to open the Table of Contents panel. Then click the More Options button to show further formatting options.

A computer screen displays InDesign Inhaltsverzeichnis features in a design program, with a golfer swinging a club on the left and a paragraph styles panel on the right over German placeholder text.

Title of the InDesign table of contents

In the Title box, you can type a title for your TOC which will appear at the top of the table of contents. This box is set to “Contents” by default. You can also leave this box empty as in our example since we already included the term “Table of Contents” in the layout on the corresponding page.

Screenshot of the InDesign Inhaltsverzeichnis settings panel in a design software, displaying options for TOC style, styles included in the table of contents, level selection, and various checkboxes for additional customization.

Formats in the table of contents

In the Style menu of the TOC, you can now select one of the paragraph styles defined previously by clicking the Add button to add them to the Include Paragraph Styles list. In this example, we first add the paragraph style for the heading and then for the subheading. As a result, all texts assigned the “heading” or “subheading” paragraph style will be included in the table of contents regardless of which pages they are on.

A screenshot of the InDesign Inhaltsverzeichnis settings window, displaying options for styling, adding or removing paragraph styles, and other features for generating a detailed table of contents.

Assigning a new style

The heading you want to add to the TOC is inserted in exactly the style specified by the “heading” paragraph style. The same applies to the subheading.

Paragraph styles

To improve the readability of the TOC, first click the heading paragraph style under Include Paragraph Styles and choose the paragraph style for formatting the heading in the Entry Style drop-down list box. In the example, we assign the “Subheading” paragraph style to the heading included in the table of contents and the “Text” paragraph style to the subheading included in the table. Entry Style also lets you choose whether to display the page number before or after the text.

A table of contents page titled InDesign Inhaltsverzeichnis features a list of golf courses with page numbers on the left and a photo of a golfer swinging a club on the right, alongside a green box displaying the number 16.

Positioning the TOC

To position the TOC, confirm the dialog with OK. You will then see that the table of contents is attached the mouse pointer. Click anywhere within your document to insert the TOC. If the paragraph styles have been set up properly, you should now see the subheadings listed together with the corresponding page number.

Formatting the TOC

In the next step, we want to format the table of contents so that the text is aligned to the left and the page number to the right. We want to connect the two elements using a dotted line as is common practice for TOCs. First drag out the text frame which includes the table of contents to its final size and copy the value for the width of the text frame.

Heading: hiding the page number

Click Layout to open the Table of Contents panel again and click the heading. The page number of the heading is not required. In the Page Number drop-down menu, therefore choose No Page Number.

A screenshot of the InDesign Inhaltsverzeichnis dialog box in a desktop publishing program, showing options for TOC style, included paragraph styles, page number settings, and other formatting preferences.

Right-aligning the page number with leader dots

In the Table of Contents panel, click your subheading, go to the Entry Style drop-down menu and choose New Paragraph Style. First assign an unambiguous name to your paragraph style such as “Content”.

A screenshot of the New Paragraph Style settings window in Adobe InDesign, helpful for setting up styles when creating an InDesign Inhaltsverzeichnis, showing fields for style name, based on, next style, shortcut, and options in the left sidebar.

Then click Basic Character Formats and restore the original formatting of the subheading unless it has been applied automatically.

A screenshot of the New Paragraph Style settings window in a design program like InDesign Inhaltsverzeichnis, displaying options for font family, style, size, kerning, tracking, leading, and various other text formatting features.

Defining the indent

We want our sample TOC to have a left indent. Click the Indents and Spacing tab and define a Left Indent of 7 mm.

A screenshot of the New Paragraph Style settings in a software program, showing the Indents and Spacing section with various text alignment and spacing options for InDesign Inhaltsverzeichnis setup.

Using tabs

Click Tabs and choose the right-justified tab icon. Click anywhere within the displayed ruler to define your alignment point. Then select the value in the X box and replace it with the copied width value of your text frame (see image below). In our example, the value is 98 mm.

Inserting a leader

Under “Leader” you can now define what to display between the text and the page number. We want to insert a leading line that is not too narrow, so we add a space and a dot. This means that a space and a dot will be inserted alternately at the end of the text. This sequence will be repeated until the right-aligned page number is reached. Next confirm your settings with OK.

A screenshot of the Tabs settings in the New Paragraph Style window of Adobe InDesign, showing tab stop controls, alignment options, and measurement units in millimeters—essential for formatting your InDesign Inhaltsverzeichnis.

Right-aligning and inserting the tab

The Between Entry And Number box in the Table Of Contents panel contains a circumflex and a t, ^t, by default which tells InDesign to insert a tab. But since we want the page number to be right-aligned, we delete the contents of this box, open the adjacent drop-down menu and choose Right Indent Tab. A circumflex and y should now appear in the field. Once you have confirmed the panel settings with OK, the formatting will be updated and the table of contents looks much tidier and better organised.

A screenshot of the InDesign Inhaltsverzeichnis dialog box in a desktop publishing program, showing options to select styles, set tab positions, and choose separators for the table of contents entries.

Updating the TOC

If you change your subheadings later on, this change will not be applied automatically to the TOC. To update it, select the text frame of the table of contents and click Layout and then Update Table Of Contents. Your InDesign table of contents is up to date again.

Screenshot of Adobe InDesign showing a golf magazine layout with images, text sections, and the Table menu open. An InDesign Inhaltsverzeichnis table is selected on the left page, with paragraph styles displayed on the right.

Credits:
Designer: media designer Christoph Ullrich.