TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the package makeidx which works fine. When I try to format the index with file.ist I have a problem, as the options indent_space and indent_length don't have any effect at all. item_0 works fine nevertheless.

Can anyone help me?

share|improve this question
Welcome to TeX.sx! Would you mind adding a minimal working example (MWE)? – clemens Nov 1 '12 at 20:40
Welcome to TeX.SX! As far as I know, indent_space is used for indenting lines in the produced .ind file, but it has no effect for the final typesetting. What precisely do you want to achieve? – egreg Nov 1 '12 at 20:41
What does it help to format the .ind file? I just want to reduce the indention in the final index. – Tina Giesler Nov 1 '12 at 21:00
You could use the package idxlayout to format the index. – user21511 Nov 1 '12 at 21:35
@TinaGiesler MakeIndex does nothing regarding the spacing parameters in the typeset index; for instance, item_0 default is to break a line in the .ind file and add \item in front of the entry; how \item is interpreted by LaTeX doesn't concern MakeIndex – egreg Nov 2 '12 at 10:30
up vote 3 down vote accepted

As user21511 has commented, use my idxlayout package to tinker with the indentation of index entries and (sub)subentries. The most relevant package options (see the manual for details) are indentunit, hangindent, subindent and subsubindent, also have a look at itemlayout.





Some text.\index{An index entry long enough to cause a line break}%
    \index{An index entry long enough to cause a line break!A subentry}



enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.