Skip to main content
Participant
May 24, 2023
Question

Applying GREP style to page number in TOC

  • May 24, 2023
  • 1 reply
  • 155 views

Hello,

I've beem trying to find a way to apply a GREP style to the first 0 of the page number in the Table of Contents, so when I have a 3-digit page number, they are all right aligned. I've been looking for other ways to do that but nothing was automated and I can't insert tabs manually every time.

Anyone know if this is possible? Every time I try to apply something to the first character, it changes the titles and not the numbers.

Thank you!

This topic has been closed for replies.

1 reply

Community Expert
July 19, 2023

How is this setup? 

 

You can use a right-align tab for numerals - which would line them up
https://community.adobe.com/t5/indesign-discussions/right-aligned-numbers-in-table-of-contents/td-p/8747820