Page Layout\tableofcontents and Appendices

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
johnst
Posts: 3
Joined: Thu May 07, 2009 12:09 pm

\tableofcontents and Appendices

Post by johnst »

I was not satisfied with appendices defined via
\appendix
\chapter{First}
..
\chapter{Second}
..
and tried to use just one chapter named Appendices and a number of section within it. And I need also to use another name instead of "Appendix" for sections, so I wrote something like

\renewcommand{\thesection}{NonstandardAppendixName \Alph{section}:}

However, the \tableofcontents command does not seem to have recognized correctly my redefinition, in particular it did not recognize that the
length of the "NonstandardAppendixName" has become larger. So the result is that "NonstandardAppendixName" overlaps with the names of sections in the table of contents. The problem is only with the \tableofcontents, in the text everything looks fine.

I need to make \tableofcontents know about the appendix-name-redefinition!
Good ideas from specialists are very much appreciated!

Best wishes,
JohnSt

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\tableofcontents and Appendices

Post by localghost »

Take a look at the tocloft package and study its manual thoroughly.


Best regards
Thorsten
Post Reply