Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
Please, provide also the information about the class you're using. –  egreg Mar 18 '12 at 17:28

3 Answers 3

up vote 19 down vote accepted

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
share|improve this answer
3  
I prefer loading the 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
    
This work but is there a way to change the \listfigurename to something else? –  lpostula Mar 18 '12 at 17:32
1  
@kasmanit Have a look at tex.stackexchange.com/questions/28516/… –  lockstep Mar 18 '12 at 17:35
    
@kasmanit That's why I used \listfigurename, so that you can change its meaning as outlined in the question which lockstep pointed to. –  egreg Mar 18 '12 at 17:42

This answer depends on your document class and some related packages.

  • If you are using a standard class you can use the package tocbibind
  • If you are using a KOMA-script class you can use the option listof=totoc.
  • If you want to add the entry manual you can use the command \addcontentsline
  • If you are using the class memoir the command \listoffigures creates an entry in the table of contents.
share|improve this answer
    
Thanks for the answer –  lpostula Mar 18 '12 at 17:32

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.

share|improve this answer
3  
This is very risky, since it depends on the document class. For example, 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 2 at 19:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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