22 Lists of Figures and Tables

Listing the figures and tables you’ve used in your LaTeX document is very straightforward – to insert a list of figures, simply place a \listoffigures markup tag in the place you want it to appear (usually beginning of the document) and to add a list of tables use \listoftables. Note that for the figures and tables to be included in their respective lists, they need to have a caption added (using the \caption{} tag inside their respective floats).

\documentclass{article}
\usepackage{graphicx}


\begin{document}


\listoffigures
\listoftables

\newpage

Caution: once you include a \listoffigures and \listoftables in your document, LaTeX creates two files in the directory of your .tex file and .pdf output, with extensions .lof (short for list of figures) and .lot (short for list of tables). If you make some changes and you want the lists to be updated, you will need to delete these files first.