[Tex/LaTex] Insert list of figures in the table of contents

table of contents

Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents?

So in the the table of content there will be a line saying List of figures ... 19 for example?

Best Answer

The List of Figures is produced with \listoffigures; you have to manually add it to the table of contents, so it should be preceded by \cleardoublepage in order to ensure that the page reference is correct. Uncomment the \phantomsection line if you're using hyperref:

\cleardoublepage
% \phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
Related Question