My Minimum Working Example:
\documentclass{article}
\usepackage{appendix}
\begin{document}
\section{My First Section}
\section{My Second Section}
\begin{appendices}
\section*{My First Appendix}
Here I want something like:
\noindent My First Subsection ........... 1
\noindent My Second Subsection ........ 1
\subsection*{My First Subsection}
\subsection*{My Second Subsection}
\section*{My Second Appendix}
\end{appendices}
\end{document}
The result:
So basically, I want a table of contents within My First Appendix, only containing references to the subsections appearing in this Appendix.
Best Answer
Below I present another two options.
Here's one possibility using the
titletoc
package; simply use \DoToC whereever you want to generate the partial ToC:Here's now one possibility using the
etoc
package; simply use\localtableofcontents
whereever you want to generate the partial ToC: