General\listoffigures, display the word 'Figure' before the figure

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
fipoo
Posts: 1
Joined: Mon Jun 30, 2008 9:06 pm

\listoffigures, display the word 'Figure' before the figure

Post by fipoo »

Hi!
How can i set my listoffigures to display the word 'Figure' before the figure number?
What i want is that the List of Figures displays as follows:

Figure 1 - caption...............................page
Figure 2 - caption...............................page
Figure 3 - caption...............................page
...

Can anybody helps me?
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

\listoffigures, display the word 'Figure' before the figure

Post by Stefan Kottwitz »

Hi fipoo,

welcome to this forum!
You could use the tocloft package to customize the list of figures, see its documentation. Have a look at the following small example demonstrating it similar to your description:

Code: Select all

\documentclass[a4paper,10pt]{report}
\usepackage{tocloft}
\renewcommand*\cftfigpresnum{Figure~}
\settowidth{\cftfignumwidth}{\cftfigpresnum}
\renewcommand{\cftfigaftersnumb}{\quad--~}
\begin{document}
\listoffigures
\newpage
\begin{figure}
\centering
Test\caption{Test}
\end{figure}
\end{document}
Stefan
LaTeX.org admin
Post Reply