I'm writing my thesis using \documentclass{harvard-thesis}
My desired result for TOC would be:
Chapter 1.
Chapter 2.
Appendix A.
I use this to include the word "Chapter" in front of chapter numbers in TOC:
\renewcommand{\cftchappresnum}{Chapter }
My appendix was shown in TOC as "Chapter A" instead of the desired "Appendix A":
>\appendix
>\renewcommand\chaptername{Appendix }
>\include{appendices/appendixA}
I have applied solutions from How to force Latex to change from "A Appendix's name" to "Appendix A", Changing “Chapter A” to “Appendix A” in TOC as well as this patch:
\makeatletter
\patchcmd{\@chapter}{\protect {Chapter }}{\ifappendix{Appendix }\else{Chapter
}\fi}{}{}
\makeatother
\AtBeginEnvironment{appendices}{\appendixtrue}
None of them works. My current result for TOC is:
Chapter 1.
Chapter 2.
Chapter A.
If I comment out the renewcommand that includes "Chapter" then Appendix A will show correctly:
1.
2.
Appendix A.
Can someone help?


harvard-thesisis not unique: Several versions of LaTeX document class files with this name may be found on the Internet. Which version might you be using? Please advise. – Mico Dec 12 '17 at 16:39