Skip to main content
Known Participant
September 2, 2022
Question

Issue of Levels in Table of Contents

  • September 2, 2022
  • 2 replies
  • 410 views

Hi

I'm having an issue of levels in my table of content. 

There are 4 main headings and subheadings

 

Main Topic Title

    Heading 1

        Heading 2

            Heading 3

 

But when I update the table of content it is not appearing in this format. Everything is left aligned. For reference I'm attached a screenshot.

(I mentioned Heading sequences on left that is applied to the titles in the chapter)

This topic has been closed for replies.

2 replies

Dave Creamer of IDEAS
Community Expert
Community Expert
September 2, 2022

The screen shot you showed had heading 3 at the fourth level, so I assume the others are numbered appropriately too (Main: level 1; Heading 1: level 2; Heading 2: level 3). 

 

It does not look like you created separate paragraph styles to format the actual TOC itself and I suspect all your headings are align left.  Where it says Entry Style: [Same Style], you should select the style you want it to look like on the TOC. (You must create the styles first.)

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
James Gifford—NitroPress
Legend
September 2, 2022

You have to assign a TOC level to each paragraph style you include in the list:

 

For no good reason, this hides under the "More Options" material. Expand the TOC box for this and other (fairly basic) settings.

 

It's not automatic on heading level; ID doesn't maintain a hierarchy of heading levels the way, say, Word does.

 

Dave Creamer of IDEAS
Community Expert
Community Expert
September 2, 2022

I could be wrong, but I thought the Level setting only affects alpha order and PDF bookmarks. 

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
James Gifford—NitroPress
Legend
September 3, 2022

You're correct in that it has no effect on a printed TOC; the layout is entirely controlled by the assigned styles.

 

However, for everything else including EPUB and PDF exports, the hierarchy of any 'live' TOC is set by these levels. I've been setting the styles and the levels simultaneously for so long the difference blurred in my recollection.