Tell me more ×
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

2 Answers

up vote 9 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? – kasmanit 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 – kasmanit Mar 18 '12 at 17:32

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.