Theses, Books, Title pagesAppendices in ToC

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Appendices in ToC

Post by templateuser »

Hi,

In the table of contents, the appendices are listed as follows:

A: Appendix title here
B: Appendix title here
C: Appendix title here

See screenshot (http://imgur.com/QqqNSSg.png). Instead I want them to be listed in the following manner:

Appendix A: Appendix title here
Appendix B: Appendix title here
Appendix C: Appendix title here

Does anybody know how to do this? Thanks very much in advance to anybody who can help me out.

Cheers,
Latextemplatesuser

Recommended reading 2024:

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

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

Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Appendices in ToC

Post by Vel »

Hey,

Add the following package to your preamble:

Code: Select all

\usepackage[titletoc]{appendix}
Then encase your Appendix chapters in the appendices environment like so:

Code: Select all

\begin{appendices}
\input{Appendices/AppendixA}
\end{appendices}
That will print "Appendix A Appendix Title Here". I'll leave it to you to figure out how to add a colon after Appendix A if you want one

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Appendices in ToC

Post by templateuser »

Thanks very much!

>> I'll leave it to you to figure out how to add a colon after Appendix A if you want one

Lol! Are you a mathematician by any chance? This is exactly how they write: ``The answer is obvious / trivial and will be left as an exercise for the reader.''

latextemplatesuser
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Appendices in ToC

Post by Vel »

Haha, no just a biologist with very limited time ;)
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply