TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My appendix style looks like this:

%  \coversheet{\uppercase\expandafter{\@@appendixname}}  % REMOVE COVERSHEET

Then in the main tex file I have:


In the appendix1 tex file I have:

\chapter{Flooding Test Graphs}

The actual appendix page title looks fine, but the TOC looks like this:


I would like it to say:


There are similar questions and answers posted, but I still can't seems to get it to work.

On the last line of the style file I tried:


This just writes "APPENDIX" over "A FLOODING TEST GRAPHS"

share|improve this question

migrated from stackoverflow.com Feb 17 '12 at 12:00

This question came from our site for professional and enthusiast programmers.

the \renewcommand{\appendix}{\par ... \Alph{chapter}} seems to be missing a } in your example... is that in your code too? – henrique Feb 17 '12 at 12:18
This response helped, but it's not quite what I need yet. I need the whole word Appendix to be capitalized in the Table of Contents. Right now, only the "A" is capitalized. Also, when I use the appendices environment, it puts the word APPENDIX followed by a number above the chapter heading for each chapter even if the chapter is not in the Appendix. Do you know how to solve this problem? – user12216 Feb 29 '12 at 23:27

Use \usepackage[titletoc]{appendix} and then use the appendices environment:

enter image description here

\usepackage[titletoc]{appendix}% http://ctan.org/pkg/appendices
\chapter{A chapter} \chapter{A chapter} \chapter{A chapter}

\chapter{An appendix} \chapter{An appendix}
share|improve this answer
Note that adding \usepackage{appendix} isn't sufficient. You need to use the titletoc option (or specify \appendixtocon). Merely using \appendix also does not suffice; use the appendices environment. – Werner Feb 18 '12 at 16:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.