This is what I have:

enter image description here

And what I want: (hyphen between number and caption)

enter image description here

I found out about the tocloft package from these two questions below, but it didn't work for me. I'm using a customized class (not created by me), so it's hard to say exaclty which parameter is causing some incompatibility.

How I can change format of list of figures?

List of Figures - how to add caption label

Any idea how I could solve this, preferably without using the tocloft package?

Let me know what details are necessary.

  • 1
    Something is already modifying the LOF: Figura (or Figure) is not standard. If you can find out what is responsible for that change... Sep 13 '20 at 21:04
  • Unrelated to your problem, but typographically, it should be an emdash or an endash, not a hyphen.
    – Bernard
    Sep 13 '20 at 22:04

You haven't shown any code. What class are you using? What package(s) are you using? What you have shown is not regular LaTeX output. What did you try with tocloft?

Below is an MWE based on the article class and the tocloft package that gives you the LoF that you are after.

% tocloftprob.tex  SE 562533

% change LoF title and position
\renewcommand{\listfigurename}{LIST DE ILUSTRACOES}
% change appearance of figure number
\renewcommand{\cftfigpresnum}{Figura } % put this before the number
\renewcommand{\cftfigaftersnum}{ ---} % put this after number
\setlength{\cftfignumwidth}{5.2em} % need more space for changed number represenation




\caption{A figure}


Perhaps some of the above is irrevelant as you seem to have managed (I do not know how) to change the title and its position for the LoF.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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