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 don't quite understand why \tableofcontents in a \twocolumn document yields only one column (or how to change that - ideally without including multicol just for the ToC...)?

\documentclass[twocolumn]{scrbook}  % twocolumn set document-wide...
\usepackage{lipsum}
\begin{document}
\tableofcontents                    % ...but not working for the ToC?
\chapter{Foo}
\lipsum[1]
\section{Bar}
\lipsum[2]
\subsection{Baz}
\lipsum[3]
\section{FooBarBaz}
\lipsum[4]
\end{document}
share|improve this question
up vote 8 down vote accepted

As you're using a KOMA-script class, use \unsettoc from the tocbasic package. See chapter 13 of the KOMA-script manual for details.

\documentclass[twocolumn]{scrbook}
\unsettoc{toc}{onecolumn}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\chapter{Foo}
\lipsum[1]
\section{Bar}
\lipsum[2]
\subsection{Baz}
\lipsum[3]
\section{FooBarBaz}
\lipsum[4]
\end{document}
share|improve this answer
2  
"Every good solution is obvious once you've found it." Thanks. – DevSolar Aug 15 '11 at 14:36

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.