Skip to main content
Known Participant
July 16, 2025
Question

Table of Content with Page number first.

  • July 16, 2025
  • 1 reply
  • 147 views

Table of Content with Page number first.

 

I am trying to get the page number before the Section Name in a TOC. What I would like to do is have the page numbers right align to a tab, then a tab between them so the Section Name align to a left tab. I can't figure out how to set up the styles to get it to work. 

 

The page number is a Character style.

In the TOC style I have the Page number and a Tab between the page number and the section. 

1 reply

Peter Kahrel
Community Expert
Community Expert
July 16, 2025

InDesign's TOC won't let you add anything at the start of a line, so you'll have to do that after the TOC was generated using a find/change query.

 

You can use this GREP query to add a tab at the start of every line:

 

Find what: ^

Change to: [Tab character]

 

Set up tab stops in the paragraph style used for the TOC entries.