Skip to main content
Participant
March 13, 2025
Answered

Inhaltsverzeichnis mit rechtsbündiger Seitenzahl vor Eintrag

  • March 13, 2025
  • 2 replies
  • 1653 views

Liebe Community

 

Ich benötige ein Inhaltsverzeichnis, bei dem die Zahlen vor den Einträgen erscheinen. Die Zahlen sollen dabei rechtsbündig und der Text linksbündig dargestellt werden. Gibt es eine elegante Möglichkeit, dies umzusetzen? Eine mögliche Lösung wäre, einen Tabulator vor der Seitenzahl einzufügen. Allerdings kann ich im Inhaltsverzeichnis-Fenster nur Elemente zwischen dem Eintrag und der Seitenzahl einfügen, nicht jedoch davor. Hat jemand eine Idee, wie sich das anders realisieren lässt? 

 

Vielen lieben Dank im Voraus!

Correct answer Peter Kahrel

Well, you do in fact need a character style for the page number because it's at a bigger point size and you need to apply a negative baseline offset to align the top of the page number with the top of the entry.

 

Then you need to set tab stops in the paragraph style for the entry: a right-justified tab to right-align the page numbers, and a normal (left-justified) tab for the entry.

 

In the TOC style window, in the 'Between Entry and Number' field, enter ^t^i (tab and indent-to-here).

 

Finally in the generated TOC you then need to insert a tab before each page number, i.e. at the start of each toc entry. In the GREP tab:

 

Find what: ^

Change to: \t

 

2 replies

Willi Adelberger
Community Expert
Community Expert
March 17, 2025

Och habe eine Suchen-Ersetzen-Routine geschaffen,die ein Ziffernleerzeiche vor die ersten Ziffern setzt. Einmal eingerichtet ist es nur ein Klick nach der aktualisierung eines IHVs.

Peter Kahrel
Community Expert
Community Expert
March 17, 2025

That's a possibility, but works only with tabular digits. And you need to take three-digit numbers into account.

Community Expert
March 14, 2025

In the Table of Contents setup change the Page Number to Before Entry

Then youc an apply a Character Style to this entry .

 

 

For the Between Entry and Number is a ^t - but you can put anything in here

for a right indent tab use ^y 

 You can pick from the Drop Down menu

 

More info here - if need something specific let us know.

https://helpx.adobe.com/ie/indesign/using/creating-table-contents.html

Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
March 14, 2025

Well, you do in fact need a character style for the page number because it's at a bigger point size and you need to apply a negative baseline offset to align the top of the page number with the top of the entry.

 

Then you need to set tab stops in the paragraph style for the entry: a right-justified tab to right-align the page numbers, and a normal (left-justified) tab for the entry.

 

In the TOC style window, in the 'Between Entry and Number' field, enter ^t^i (tab and indent-to-here).

 

Finally in the generated TOC you then need to insert a tab before each page number, i.e. at the start of each toc entry. In the GREP tab:

 

Find what: ^

Change to: \t

 

Participant
March 17, 2025

Besten Dank für die Antwort. So hatte ich es schlussendlich auch erstellt, dachte aber, dass es eine elegantere bzw. automatische Möglichkeit geben könnte den Tab vor der Seitenzahl einzufügen. 🙂