Page Layout(un)Numbered chapters in Table of Contents (indent)

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
spee
Posts: 4
Joined: Thu Jan 28, 2010 5:50 pm

(un)Numbered chapters in Table of Contents (indent)

Post by spee »

I have some unnumbered chapters in table of contents (\tableofcontents).
However, they are (obvious) displayed similar to numbered chapters except for some white space instead of a chapter number. I was wondering if it's possible to change the indent of these chapters, so they start/are line-out with the chapter number of the numbered chapters (like abstract).

Thanks

Recommended reading 2024:

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

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

spee
Posts: 4
Joined: Thu Jan 28, 2010 5:50 pm

(un)Numbered chapters in Table of Contents (indent)

Post by spee »

After being puzzled for awhile I found the solution just after posting previous post!

Had to change:

Code: Select all

\addcontentsline{toc}{chapter}{\protect\numberline{}List of symbols}
into:

Code: Select all

\addcontentsline{toc}{chapter}{List of symbols}
Was using the extra part as I copy/paste some code to alter page numbering, but turns out this part is not related to the numbering :)
Post Reply