Skip to main content
Participant
Mar 13, 2025 10:28 AM UTC
Answered

Inhaltsverzeichnis mit rechtsbündiger Seitenzahl vor Eintrag

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!

Peter Kahrel
Peter KahrelCorrect answer
Community Expert
Mar 14, 2025 11:04 AM UTC

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

 

10 replies

Willi Adelberger
Community Expert
Community Expert
Mar 17, 2025 8:28 AM UTC

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.

Translate
Peter Kahrel
Community Expert
Community Expert
Mar 17, 2025 8:37 AM UTC

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

Translate
Community Expert
Mar 14, 2025 8:36 AM UTC

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

Translate
Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
Mar 14, 2025 11:04 AM UTC

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

 

Translate
Participant
Mar 17, 2025 7:33 AM UTC

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. 🙂

Translate