I am trying to create a table of contents inside the appendices environment, however I am unable to do so. In the example below I want a table of contents for Section1.
I have tried the minitoc but am having no luck. Any suggestions?
Thanks
\documentclass[12pt,a4paper]{article}
\usepackage[titletoc, title]{appendix}
\begin{document}
...
\tableofcontents\newpage
\listoffigures\newpage
\listoftables\newpage
...
\begin{appendices}
\section{Section1}
...
%Want the toc here
...
\subsection{subSec}
...
\subsubsection{subsubSec}
...
\section{Section2}
...
\end{appendices}
\end{document}
Best Answer
You can use the
titletoc
package to produce partial ToCs; a little example:An image of the resulting partial ToC:
Of course, you can customize the partcial ToC in many ways; in the following example I changed the indentation for the entries in the partial ToC using the notion of prefixes and added some rules before and after the partial ToC:
Using \starlist, \printlist, \stoplist one can also produce partial LoFs and LoTs: