Take the 2-minute tour ×
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.

When using a documentclass of book, it seems there is a \newpage inserted after the \tableofcontents and \listoffigures. How can I suppress this? In articles, the following works. How can I get this layout with a book?

\twocolumn
\tableofcontents
\listoffigures
\listoftables
\printglossaries
\onecolumn
share|improve this question
    
This is because these document elements issue a \clearpage or \cleardoublepage, depending on the book mode (onecolumn or twocolumn). In fact, these elements are formatted as \chapter*, which issue the above commands. Do you have other \chapter* commands in your document? –  Werner Oct 6 '11 at 22:10
    
I do not have any \chapter* commands. –  mankoff Oct 6 '11 at 22:20
1  
@cmhughes' answer would do the trick. If you want to be complete, you could add \let\clearpage\relax as well. You didn't mention whether you're using a oneside or twoside book. The grouping restores the redefinition after \endgroup. –  Werner Oct 6 '11 at 22:32
    
@Werner: Thanks, made the edit. –  cmhughes Oct 6 '11 at 22:37
add comment

1 Answer

up vote 5 down vote accepted

You could temporarily redefine cleardoublepage

\documentclass{book}

\usepackage[english]{babel}
\usepackage{blindtext} % generates a dummy document

\begin{document}

\begingroup
\let\cleardoublepage\relax
\let\clearpage\relax
\tableofcontents
\listoffigures
\listoftables
\endgroup

\blinddocument

\end{document}
share|improve this answer
add comment

Your Answer

 
discard

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.