0

If I use

\documentclass{article}

\usepackage[toc,page]{appendix}

\begin{document}

\tableofcontents

\begin{appendices}

    \section{Some Header}
    ..

    \section{Another Header}
    ..

\end{appendices}

\end{document}

I get

enter image description here

How can I indent the two sections in the table of contents, so the TOC behaves just like \section{} and \subsection{} with each appendix being indented under the Appendices title just like a subsection would be indented under a section (i.e. same font, the dots between the header and the page number, etc)?

2

It is really wrong to do stuff like that but here you go.

jamgreenAppendixToc

\documentclass{article}

\usepackage[toc,page]{appendix}

\begin{document}

\tableofcontents

\begin{appendices}
    \renewcommand{\thesubsection}{\Alph{subsection}}
    \subsection{Some Header}
    ..

    \subsection{Another Header}
    ..
\end{appendices}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.