GeneralHow do I put the title of the second page of TOC?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ssutee
Posts: 2
Joined: Sun Jun 08, 2008 7:06 am

How do I put the title of the second page of TOC?

Post by ssutee »

If table of contents exceeds one page, how do I put the title like "Table of Contents (Continued)" at the second page?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

How do I put the title of the second page of TOC?

Post by Stefan Kottwitz »

Hi ssutee,

you could use \addtocontents. For example:

Code: Select all

\addtocontents{toc}{\protect\chapter*{Table of Contents (Continued)}}
before the \chapter or \section that generates the toc entry that's set on the second toc page.
The exact solution depends on your documentclass and your wishes, you don't have to use \chapter* in the code line above, you could just use something like \Large\bfseries ... if you use fragile commands as parameter for \addtocontents then use \protect like I did above.

Stefan
LaTeX.org admin
ssutee
Posts: 2
Joined: Sun Jun 08, 2008 7:06 am

Re: How do I put the title of the second page of TOC?

Post by ssutee »

Thank you very much. You're my life saver.
Post Reply