Page Layout ⇒ Remove "Contents" from TOC?
-
- Posts: 8
- Joined: Fri Apr 25, 2008 5:50 pm
Remove "Contents" from TOC?
But it includes the word "Contents" at the beginning, and I would like to remove that -- (my TOC runs one line onto the next page).
Is there an option to do this? Many thanks.
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
Remove "Contents" from TOC?
There's another way, enlarging the page a bit, such as:
Code: Select all
\addtocontents{toc}{\protect\enlargethispage{\baselineskip}}
-
- Posts: 8
- Joined: Fri Apr 25, 2008 5:50 pm
Re: Remove "Contents" from TOC?
I'm using the aastex document class, if that helps.
Can I get around it by manually adding sections/subsections to a generic Table of Contents (that avoids using the \tableofcontents command)? Not sure that is the command that produces "Contents" at the top, though.
-
- Posts: 8
- Joined: Fri Apr 25, 2008 5:50 pm
Remove "Contents" from TOC?
Code: Select all
\renewcommand{\contentsname}{}
Thanks.