I need a heading Appendices in my Table of Content (TOC) with two subheadings. For example:
Appendices
A. First appendix
B. Second appendix
In my case, there is TOC headings: A Appendix; It should be Appendices. Subheadings were A.1 and A.2; it should be A and B.
Best Answer
In your
main.tex
, you can useThe above definitions insert
Appendices
into the ToC to match the formatting of a\chapter
. Subsequent\chapter
s are forced to match\chapter*
and corrected at\backmatter
. I've inserted\chapter
s and\section
s verbatim in the above code, but you can include them via\input
as suggested in the template.Appendix
\chapter
s are titled asAppendix X: <title>
within the document andX <title>
in the ToC. The use of\texorpdfstring{<TeX>}{<PDF>}
allows for proper setting of the bookmarks that result in the PDF.