LaTeX LaTeX: Formatting List of Figures to say 'Figure 1'

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Latex List
AI Thread Summary
The discussion centers on modifying the output of the \listoffigures command in LaTeX to include the word "Figure" before each figure number in the list. The user initially expresses a desire for the list to display as "Figure 1: Caption of figure 1." Instead of the default format. A solution is provided, suggesting the use of the \renewcommand{\cftfigfont}{Figure } command to achieve this formatting. Additionally, a similar command for tables is mentioned, \renewcommand{\cfttabfont}{Table }, to ensure consistency in the document. The conversation emphasizes the importance of editing the style file to implement these changes effectively.
Saladsamurai
Messages
3,009
Reaction score
7
Hello all :smile: I am hoping someone can help with this:

When I use the \listoffigures command in LaTeX, it shows up as follows:
Code:
List of Figures

1    Caption of figure 1.  ...... 1
2    Caption of figure 2.  ...... 2

But I wanted to actually say Figure 1, Figure 2, ... like this:

Code:
List of Figures

[I]Figure 1:[/I]    Caption of figure 1.  ...... 1
[I]Figure 2:[/I]    Caption of figure 2.  ...... 2

thank you :smile:
 
Physics news on Phys.org
go into the style file and add "Figure" to the counter for the list of figures command
 
thanks Dr. T :smile: I will give it a shot.
 
Hello
Dr T
can u please elaborate how to achieve this...should i need to add some package or what?
 
%For List of Figures to say Figure X.X
\renewcommand{\cftfigfont}{Figure }

%For List of Tables to say Table X.X
\renewcommand{\cfttabfont}{Table }
 

Similar threads

Replies
3
Views
2K
Replies
3
Views
3K
Replies
7
Views
4K
Replies
9
Views
2K
Replies
1
Views
3K
Replies
1
Views
3K
Replies
5
Views
5K
Back
Top