5

This question already has an answer here:

I have a problem when trying to add the word "Figure" before the actual number in the list of figures. I guess it will be the same for all languages, since the langauge setting will make it in my language automatically. But what I have so far is only the number like the upper line, and it should be like the second line (which was poorly made with paint, just in case you wonder).

enter image description here

Here is the code I am using for figures so far:

\begin{figure}[ht]
\centering
\includegraphics[width=1.0\textwidth]{imageName.png}
\caption[CaptionText]{CaptionText\footnotemark.}
\end{figure}
\footnotetext{CaptionTextn. Available under \url{www.nowhere.com}, seen on Date.}

marked as duplicate by karlkoeller, Masroor, Martin Schröder, Benedikt Bauer, Thorsten Jan 21 '14 at 13:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

10

A simple method that works in this case.

Replace

\listoffigures

with

{%
\let\oldnumberline\numberline%
\renewcommand{\numberline}{\figurename~\oldnumberline}%
\listoffigures%
}

MWE

\documentclass{article}

\usepackage[colorlinks]{hyperref}
\usepackage[demo]{graphicx} % remove the option demo in your document

\begin{document}

\begin{figure}[ht]
\centering
\includegraphics[width=1.0\textwidth]{imageName.png}
\caption[CaptionText]{CaptionText\footnotemark.}
\end{figure}
\footnotetext{CaptionTextn. Available under \url{www.nowhere.com}, seen on Date.}

{%
\let\oldnumberline\numberline%
\renewcommand{\numberline}{\figurename~\oldnumberline}%
\listoffigures%
}

\end{document}

Output

enter image description here

  • How do I add a solon after figure name? For instance, Figure 3.1: <figure caption> – fatih Jan 10 '18 at 23:18
  • @fatih To achieve this, you have to use the tocloft package or patch the \@caption command. See the answers in the duplicate question. – karlkoeller Jan 18 '18 at 18:48
  • 1
    Doesn't work well for cases where caption is spread over two lines. – Roman Luštrik Nov 8 '18 at 16:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.