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?
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?
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
tocbibind package (or using special class faetures) because the LoF shouldn't be always preceded by a page break if one uses the article class.
– lockstep
Mar 18 '12 at 17:30
\listfigurename, so that you can change its meaning as outlined in the question which lockstep pointed to.
– egreg
Mar 18 '12 at 17:42
article) - you'll need to replace {chapter} with {section} or something similar.
– einpoklum
Sep 13 '17 at 18:08
\cleardoublepage instead of \clearpage? Is there any difference if you aren't working with a two-sided document?
– TakingItCasual
Jul 08 '20 at 06:10
This answer depends on your document class and some related packages.
tocbibindlistof=totoc.\addcontentsline\listoffigures creates an entry in the table of contents.tocbibind helped, thanks! Manually with \addcontentsline did generate a wrong numbering.
– swiesend
Aug 19 '18 at 13:52
listof=totoc? as an option behind \listoffigures? (using scrbook)
– Lilo
Jul 21 '21 at 10:02
There's a really simple way to do this. Maybe the last comment meant that, but I'm not sure.
Change the name of \listofigures by using \renewcommand\listfigurename{}. So you can easy use \section{Abbildungsverzeichnis} to insert the list in your table of contents.
report prints \listoffigures as a \chapter*, not a \section. Moreover, your approach will provide a numbered section (not common with the LoF/LoT/ToC front matter). Finally, even if you remove \listfigurename, you'll be setting a sectional unit twice with your approach.
– Werner
Jan 02 '14 at 19:33