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

  • Context: LaTeX 
  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Latex List
Click For Summary
SUMMARY

The forum discussion centers on modifying the LaTeX \listoffigures command to prepend "Figure" to the figure entries. Users can achieve this by adding the command \renewcommand{\cftfigfont}{Figure } in their style file. This adjustment ensures that the List of Figures displays as "Figure 1: Caption of figure 1" instead of just "1 Caption of figure 1." The solution also includes a similar command for tables, \renewcommand{\cfttabfont}{Table }.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of LaTeX style files and commands
  • Basic knowledge of figure and table formatting in LaTeX
  • Experience with LaTeX packages related to formatting
NEXT STEPS
  • Explore LaTeX style file customization techniques
  • Learn about the tocloft package for advanced list formatting
  • Investigate other LaTeX commands for modifying captions and lists
  • Research best practices for organizing figures and tables in LaTeX documents
USEFUL FOR

Researchers, academic writers, and anyone using LaTeX for document preparation who needs to customize the presentation of figures and tables in their work.

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 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
3
Views
7K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K