TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I want to change the alignment of the appendices. I'm using


\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % for chapters




I'm having to modify a couple other things. This is what I have.

APPENDICES................. 10
APPENDIX A ................ 13
APPENDIX B ................ 15

This is what I need.

APPENDICES................. 10
   APPENDIX A ............. 13
   APPENDIX B ............. 15
share|improve this question
Welcome to TeX.sx! – Peter Jansson Apr 4 '13 at 20:49
Which document class are you using? – Gonzalo Medina Apr 4 '13 at 21:35
report. I'm editing to include more info. – Jeremiah Apr 4 '13 at 21:57
up vote 4 down vote accepted

One possibility is to use \titlecontents from the titletoc package.


  • Notice that the titletoc option for the appendix package is no longer needed.

  • \uppercase is a TeX command that shouldn't be used in LaTeX documents; one can use \MakeUppercase instead; however, both these commands receive an argument, so the use of \uppercase (or \MakeUppercase) as it was being done in the example provided in the question will produce errors.

  • Notice also that some of the original settings were replaced for some redefinitions and patches in my answer; in particular, I used a redefinition of \l@chapter to use the dotted leaders and to style the chapter entries using upper case. The internal commands \@cftmaketoctitle, \@cftmakeloftitle, and \@cftmakelottitle from tocloft were patched (with the help of the etoolbox package) to use upper case fonts for the titles of the ToC, LoF, and LoT, respectively.

The code:


  \ifnum \c@tocdepth >\m@ne
    \vskip 1.0em \@plus\p@
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \hskip -\leftskip
\mkern \@dotsep mu\hbox{.}\mkern \@dotsep
\nobreak\hb@xt@\@pnumwidth{\hss #2}\par



\chapter{Test Regular Chapter}
\chapter{First Test Appendix}
\chapter{Second Test Appendix}


enter image description here

As a final remark, (and just as a suggestion), I think that it would be better to use small capitals instead of upper case fonts for the entries in the ToC; this would also have an additional advantage: the implementation would be considerably easier.

share|improve this answer
Sorry, I forgot to mention I'm using the report document class. This doesn't quite work. I'll play with it and see what I can come up with. Thanks – Jeremiah Apr 4 '13 at 21:54
@Jeremiah I've updated my answer. Please take into account the remarks. – Gonzalo Medina Apr 5 '13 at 1:02
Sorry I disappeared, family. This works great!! – Jeremiah Apr 5 '13 at 13:03
@Jeremiah No problem. So, you need, at some point in your document, to revert to the standard style for the chapter ToC entries (no upper case, boldfaced, dotless entries)? – Gonzalo Medina Apr 5 '13 at 13:06
Thanks, I edited that remark out when I figured it out. For the record @Gonzalo was answering this question - I need to revert back to the previous style. – Jeremiah Apr 5 '13 at 13:09

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.