# [texhax] Partially multicolumn TOC

Tue Apr 12 15:12:05 CEST 2011

On Apr 12, 2011, at 4:29 AM, Aleksandar Zec wrote:

> Is there a simple way to produce the effect like this in a table of contents:
>
> chapter 1 ................................ ##
> section 1 ....... ##  |  section 6 ....... ##
> section 2 ....... ##  |  section 7 ....... ##
> section 3 ....... ##  |  section 8 ....... ##
> section 4 ....... ##  |  section 9 ....... ##
> section 5 ....... ##  |  section 10 ...... ##
>
> chapter 2 .................................##
> section 11 ...... ##  |  section 14 ...... ##
> section 12 ...... ##  |  section 15 ...... ##
> section 13 ...... ##  |  section 16 ...... ##
>
> I.e. only sections go to \begin{multicols}{2}...\end{multicols},
> everything other stays intact? Ideally, this should be pagebreak-safe.
>
> Thank you very much in advance.

Brute force way should be to place

and

at appropriate points in your document.

If you're willing to keep track, you could add the code to \chapter

William

--