I am submitting a manuscript where the way I wrote it I use titletoc to create a ToC just for the Appendix. See the image and MRE. But here is the problem. Now I need to submit the manuscript for the final version and I am only allowed to use packages on this list.
Can anyone help me reproduce an Appendix only ToC that is right at the start of the Appendix like what I have, but only using allowed packages (e.g: appendix)?
I am working in Overleaf for what its worth.
\documentclass{article} \usepackage{lipsum} % only for the example % I AM NOT ALLOWED TO USE THIS PACKAGE \usepackage{titletoc} \newcommand\DoToC{% \startcontents \textbf{Appendix Table of Contents}\vskip3pt\hrule\vskip5pt \printcontents{}{1}{}{} \vskip3pt\hrule\vskip5pt } \begin{document} \newpage \section{First section} \lipsum \section{Second section} \lipsum \appendix % this makes an appendix TOC \DoToC \section{Appendix A} \label{appendix_a} \lipsum \section{Appendix B} \label{appendix_b} \lipsum \end{document} 
titletocpackage on purpose. Besides, in the same page they mention conversion to HTML, in which format this TOC would probably be irrelevant. I suggest that (a) first you ask explicitly if you are allowed to include this TOC, (b) if it is for just two (sub-)sections, you could produce it by hand, using a table (or similar),\refand\pageref. They even use thezrefpackage.