I have a document in two column mode. All works fine (all in two columns) -- except the table of contents (toc). Strangely I found a solution:
\unsettoc{toc}{onecolumn}
This leads to a toc in two columns?! I do not understand since it says literally
onecolumn
in the command.
(screenshot; taken from the manual)
\documentclass[
twoside = false,
twocolumn = true,
listof=totoc,
]{scrbook}
% Comment in/out to see effect
\unsettoc{toc}{onecolumn}
\begin{document}
\tableofcontents
\chapter{Chapter}
Test
\section{Section}
Test
\subsection{SubSection}
Test
\subsubsection{SubSubSection}
Test
\paragraph{Paragraph}
Test
\subparagraph{SubParagraph}
Test
\end{document}
\unsettoc{toc}{onecolumn}
active
\unsettoc{toc}{onecolumn}
NOT active
After the Solution
Be aware that there is a UNset
(unsettoc
) command and set
(setuptoc
) command. I didn't read carefully enough!
\unsettoc
switches an option off. So by default the optiononecolumn
seems to be set and by\unsettoc{toc}{onecolumn}
you switch it off.unsettoc
command work to influence toc columns in the Koma class that should be explicitly asked. Might also put something to that effect in the title.