My university wants figures in Appendix to be mentioned separately in TOC. Like this:
LIST OF APPENDIX
TABLES……………………………………………………………………ixLIST OF APPENDIX
FIGURES………………………………………………………………….
x
All this in Table of Contents. How do I do that ?
I want list of figures and tables in appendix to be printed separately.
Following is the minimal working example using a template:
\documentclass[letterpaper,12pt,times,authoryear,print,index,oneside,custombib]{Classes/PhDThesisPSnPDF}
\ifdefineAbstract
\pagestyle{empty}
\includeonly{Declaration/declaration, Abstract/abstract}
\fi
\ifdefineChapter
\includeonly{Chapter3/chapter3}
\fi
\begin{document} \frontmatter
\begin{titlepage} \maketitle \end{titlepage}
\include{Abstract/abstract}
\tableofcontents
\listoffigures
\listoftables
%\printnomenclature
\include{Chapter1/chapter1} \include{Chapter2/chapter2}
\include{Chapter3/chapter3} %\include{Chapter4/chapter6}
%\include{Chapter5/chapter5} %\include{Chapter6/chapter6}
%\include{Chapter7/chapter7}
\begin{appendices} % Using appendices environment for more
functunality
\include{Appendix1/appendix1} \include{Appendix2/appendix2}
\listoffigures
\end{appendices}
% *************************************** Index
******************************** \printthesisindex % If index is present
\end{document}
EDIT
How can I split the List fo figures? I want all figures that appear in the appendix to be in a separate list of figures.
\documentclass{book}
\usepackage{capt-of}
\begin{document}
\tableofcontents
\listoffigures% List only the entries of the main part
\captionof{figure}{Wombat}
\captionof{figure}{Capybara}
\captionof{figure}{Duck}
\appendix
\listoffigures% List of only the entries of the appendix
\captionof{figure}{Ant}
\captionof{figure}{Biever}
\captionof{figure}{Cockroach}
\end{document}
Best Answer
This solution adds separate
\listofappendixfigures
and\listofappendixtables
commands and a relevant entry to theToC
.It changes the
\tf@lof
etc. file handles after the appendix such that no patching of\caption
is needed.Please note that the file handles are not restored afterwards! Any usage of
\caption
or\captionof
will still write to the new.apt
and.apf
ToC files.I used the
MWE
added by Johannes_B.The code uses some adapted lines from my answer to this question: Printing a separate list of appendices.