Menu - window - type and tables - index
In index palette menu - generate index - press "more options"
Entry separators - following topic - add tab character - ok
Go to text with needed "index level" paragraph style - open tabs palette and do as you need align of numbers, than redefine that style.
It's always better to say the same thing with the pictures! … with color! … and even with sound!
Obi-wan: Darn it, did I forget to add the sound? Trumpets, perhaps? Or the sound of children laughing by a bubbling brook?
GeorgeS: I always take a visual approach to answers—that's how I learn and how I teach my students. On the forums, I struggle daily with the trying to decipher the OPs level of knowledge from how a question was worded. Between their phrasing of "vertical alignment" which I think we both took to mean right-align tabs, and your phrase "open tabs palette and do as you need align of number"—I wondered if someone without a strong knowledge of InDesign and tabs might get stuck there so I hopped in with pictures. I meant to support your answer and certainly did not mean to offend you or upset you. I think one of the strengths of the forums is the collaborative aspects of answering questions. Several of us may answer the same question in our own way, and the OP gets to pick the approach that meets their specific learning style.
Thank you all especially Barb for being very illustrative in her answers.
I shall try the procedure and will report soon.
I tried the procedure and it did not work. Problem is I don't have the page numbers assigned to paragraph style Index Level 2. It is assigned to Index level 1. The topic is also assigned to Index level 1. I mean, I tried with Index Level 1 and it messed up everything.
Any idea how to correct this issue?
Instead of setting up a right aligned tabulator stop, I would use the tabulator to reight edge, which aligns the number to the right edge of the column.
- If you type use shift + tabulator key.
- In most dialogs use ^y instead of ^t.
- In GREP and some other use \y instead of \t
Accompanied to this, you might consider to use a right last line intend to expose the numbers in Index or TOC.
So you have a one-level index? Can you share a screen shot of how it is messed up?