TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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 noticed that the distance from the top of the page to the chapter title differs from the table of contents and list of <> ones. I can see why, as these elements have specific purposes and semantics in a document:

My explanation

I have a document in which this distance should be the very same, for project reasons. The following code refers to the previous image:

\newindex[List of Foo]{iof}


Hi there\sindex[iof]{Bar}


Hi there\sindex[iof]{Foo}



Chapters could have the same distance of the table of contents / lists of <> or vice versa. I'm stuck with this issue. Any ideas?

share|improve this question
I also noticed that different line spacing with the setspace changes the upper margin :-(. I normally use \singlespacing for ToC etc. but need to have larger spacing for the main content of my thesis. – Martin Scharrer Jul 17 '11 at 14:50
@Martin: I didn't noticed that! Thanks for mentioning it. =) – Paulo Cereda Jul 17 '11 at 15:08
@Paulo: I changed the question title because an index is not a ToC. – lockstep Jul 17 '11 at 15:13
@lockstep: Thanks, it looks way better now. =) – Paulo Cereda Jul 17 '11 at 15:16
up vote 7 down vote accepted

You have stumbled upon LaTeX bug 3126 (\twocolumn interfering with \topskip). Load my idxlayout package (which uses multicol) to avoid the bug.






Hi there!\index{Foo}


share|improve this answer
Thanks, lockstep! I'll read the idxlayout documentation, seems very interesting. – Paulo Cereda Jul 17 '11 at 14:56
In imakeidx we redefine theindex to use multicols so the problem doesn't show. – egreg Jul 17 '11 at 15:18
@egreg: The same is true for idxlayout. – lockstep Jul 17 '11 at 15:20
I should have known. Of course this has the advantage that the final page has balanced columns. – egreg Jul 17 '11 at 15:25

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.