Ask Your Question

How Can We Add Tabulation Parameters on Alphabetic Index?

asked 2018-08-28 16:19:55 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello everybody,

I have a beautiful alphabetic index but I need to use two columns, but the most popular entries are mixed with page numbers, so it becomes really difficult to read the page numbers.

Something like this : First entry.................5 Second entry 5, 6, 7, 8, 9

What I want is to create an tabulation in order to add a clear separation between entries and page numbers that will be visible on popular entries, something like this : FIrst entry.................5 Second entry ..........6, 7 ...........8, 9

Thank you, G.

edit retag flag offensive close merge delete


By the way, you shouldn't have posted as wiki because it is inconvenient for everybody, firstly to you (you won't earn karma points needed to gain privileges here).

ajlittoz gravatar imageajlittoz ( 2018-08-28 17:37:04 +0100 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-08-28 17:35:35 +0100

ajlittoz gravatar image

Your question is not well formatted by I suppose that you'd like to get something like that: formatted index

Entries in the index are "formatted" by paragraph styles Index n where n is the level (1 for primary entries, 2 for secondarry, …).

If I correctly interpret your question, you'd like that the key would align on the left margin and the page number(s) on the right margin, with overflow lines in case of really "popular" keys also aligned right.

Consider that an index paragraph contains two "objects": the short title (key) and a long paragraph content (page numbers). It is easy to request right alignment for the numbers so that they always tend to "flee" from the title. However, setting this alignment also makes the title right align on the next tab stop, which is not a desired effect. As it is not possible to have two different alignments in a single paragraph, we need to break the paragraph alignment rule at a specific location. This can't efficiently be done with a single tab as in the default entry formatting. We'll then use two.

First step: index entry layout

  1. Right-click on the index and Edit Index.
  2. Select the relevant entry level (2 in my case)
  3. Add another tab T after (or before) the existing tab with . as fill character

Your settings should look like: image Index setup

Second step: update paragraph style(s)

The changes is the index entry definition must taken into account in the associated paragraph style. Right-click on Index 2 (in my case; you may have another level number or several) in the style side pane (F11) and Modify.

  • in Indents & spacing tab, create a negative indent so that 1) the key "outstands" away from the page numbers, 2) the page numbers are offset to the right on lines 2 and following

    • Set Before text to 3cm
    • Set First line to -3cm

      Important remark: This combination of First line (negative value) and Before text automatically creates an implicit tabulation stop at Before text. This the heart of the trick.

      In my case, I set Before text to 3.5 cm because it is a level 2 and I want these entries a bit offset to the right so that we see immediately the difference between levels 1 and 2.

  • In Alignment tab, check Right

  • In Tabs tab, create a tab stop at the paragraph right margin (8cm in my case) with Type Right and Fill character as a dotted line (strictly speaking, this is not necessary because it is already done in the index entry descriptor, but make sure). Push New.

Don't forget to push the OK button to save your changes.

Right-click in the index and Update index. Your index look now like what's displayed in the red oval.

The blue oval demonstrates a limitation of my settings. There, the key is very long and is not entirely contained in the "outdent" between First line and Before text. The first tab creates the ... (more)

edit flag offensive delete link more

answered 2018-08-29 01:28:15 +0100

Guilevar gravatar image


You perfectly understood my needs and I perfectly understood your explanation, So I did something really good with the table and I rigt now I am really happy. Specifically, this is what I did: On my paragraph style (Index 1): I used an indent of 2cm before text and an indent of -2 on the first line. On index edition window: I add a tab as you said. The fist one without Fill character plus aligned right ; the second one with filled character plus aligned right. The result is really satisfying, So thank you very much for your help ! ! I image description

edit flag offensive delete link more


Merci beaucoup, you're welcome. Please be kind enough if you deem said answer to be of good value to upvote it with the up-arrow.

ajlittoz gravatar imageajlittoz ( 2018-08-29 07:56:20 +0100 )edit

By the moment, I cannot vote because I don't have enough points. I still have questions related to alphabetic index, so I should get additional points. Only then I will come back and upvote your answer. Merci encore

Guilevar gravatar imageGuilevar ( 2018-08-29 10:24:15 +0100 )edit

Ask an independent question but not as wiki otherwise you'll be doomed forever in the low karma circles of hell ;-) The wiki feature is not fit for the kind of question on this site.

ajlittoz gravatar imageajlittoz ( 2018-08-29 10:42:37 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-08-28 16:19:55 +0100

Seen: 58 times

Last updated: Aug 29 '18