General ⇒ Table of contents across several pages
Table of contents across several pages
This might be a stupid question but i'll go ahead and ask it anyway.
I have a table of contents spread across several pages and at the bottom of one page I have the entry for say section 6 but at the top of the next page is the entry for subsection 6.1. This looks quite naff and I was wondering if there was anyway around this so that the entries are on the same page?
Any suggestions would be appreciated.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Table of contents across several pages
you could insert directly before section 6:
Code: Select all
\addtocontents{toc}{\protect\newpage}
Code: Select all
\addtocontents{toc}{\protect\enlargethispage{\baselineskip}}
Re: Table of contents across several pages
Cheers
