[Tex/LaTex] Listing appendix entries separately

appendicestable of contents

I have two chapters in the appendix – tables and figures( "Appendix A Figures" and Appendix B Tables"), i want the TOC of the document to show the entries in each. For example, "A.1 This is some figure". I have no idea how to do this. Currently only the Appendix A and B are listed in the TOC.

\documentclass[12pt,twoside,a4paper]{book}
\usepackage[titletoc,page]{appendix}
\usepackage{caption}


\begin{document}
\tableofcontents



\begin{appendices}


\captionsetup[table]{list=no}
\renewcommand{\thesection}{\thechapter.\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
\chapter{Tables \label{app:figures}}
\begin{table}
\caption{Test table one}
\end{table}

\begin{table}
\caption{Test table one}
\end{table}
\end{appendices}
\end{document}

Best Answer

enter image description here

You can combine the list of tables and tables of contents by telling LaTeX to use the same extension for the lists.

\documentclass[12pt,twoside,a4paper]{book}
\usepackage[titletoc,page]{appendix}
\usepackage{caption}

\makeatletter
\def\ext@figure{toc}
\def\ext@table{toc}
\makeatother

\begin{document}
\tableofcontents



\begin{appendices}


%\captionsetup[table]{list=no}
\renewcommand{\thesection}{\thechapter.\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
\chapter{Tables \label{app:figures}}
\begin{table}
\caption{Test table one}
\end{table}

\begin{table}
\caption{Test table two}
\end{table}
\end{appendices}
\end{document}