TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to customize list of figures, adding word FIGURA to appears in the table of contents? I changed \newcommand{\cftfigfont}{Figura }, but in the summary, it's not linked (hyperref). How to solve it?

  \ifnum \c@lofdepth >\z@
    \vskip \cftbeforefigskip
    {\leftskip \cftfigindent\relax
     \rightskip \@tocrmarg
     \parfillskip -\rightskip
     \parindent \cftfigindent\relax\@afterindenttrue
     \@tempdima \cftfignumwidth\relax
     \let\@cftbsnum \cftfigpresnum
     \let\@cftasnum \cftfigaftersnum
     \let\@cftasnumb \cftfigaftersnumb
     \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
     {\cftfigfont #1}\nobreak
  \setlength{\cftbeforefigskip}{\z@ \@plus.2\p@}
\newcommand{\cftfigfont}{Figura }
  \hb@xt@\@pnumwidth{\hfil\cftfigpagefont #1}\cftfigafterpnum\par}
share|improve this question
Why is this tagged with beamer? – Martin Scharrer Jun 16 '11 at 15:28
@Martin It can't really be for beamer, so I retagged it – Martin H Jun 16 '11 at 15:58
Please make sure that the next time you ask a question you provide a fully working example. From what you show in your code it is impossible to reproduce your problem. A good question is hard to ask but always the basis to a good answer. – Martin H Jun 16 '11 at 16:07

(Assuming the real question is "how do I convince tocloft to put the word 'Figura' ahead of entries in my List of Figures?")

\cftfigfont is for setting the font to typeset the List of Figures entries. \cftfigpresnum is for adding arbitrary text to the beginning on the entries. Both of these are described in section 2.3 of the tocloft manual. You'll probably also need to increase the \cftfignumwidth length to accommodate your extra text. Try something like:


\renewcommand{\cftfigpresnum}{Figura }

\centering (Figure goes here)
\caption{The first figure}
\centering (Figure goes here)
\caption{The second figure}

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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