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

When list-ofs follow each other they overlap, at least with my setup. Here's an example:




% New list of source code listings
\newcommand{\sourcename}{Source Code Listing}
\newcommand{\listsourcename}{List of Source Code}









\begin{figure} \caption{Some  fig} \end{figure}
\begin{figure} \caption{Other fig} \end{figure}

\begin{source} \caption{Some  src} \end{source}
\begin{source} \caption{Other src} \end{source}


Compile with:

xelatex test.tex && xelatex test.tex

This is the result:

I could add some vertical space, but is there a more correct way of handling this?

share|improve this question
up vote 5 down vote accepted

That's a side effect of the petersen chapter style. The definition of this style contains (among other things) the code line


which results in the observed overlap. One probably could add some safeguarding for the case of two unnumbered chapters starting on the same page, but IMO it's acceptable to manually add some vertical space in this case.

share|improve this answer
That explains it thank you very much. – Thor Sep 2 '12 at 20:27

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.