1 of 7
Santi
  • 11
  • 2

list of figures dissapears if I use tocloft package

I am trying to change the numwidth in my list of Figures. The number of Figures is quite high (over 100) and the numbers overlap with the Figure names in the list of Figures. See example below... 6.108Synthetic

I just want to add a space to all the Figures and get 6.108 Synthetic

I have read that the package tocloft can be of help for this so I have added it to my document heading...something like...

\usepackage[subfigure]{tocloft} \setlength{\cftfignumwidth}{5em}

I was hoping to solve the problem with these lines of code, but when I compile the file, the list of figures has dissappeared.

I don´t know much about latex code, and I am using a template to write my thesis... but I wonder if the problem arises because the listoffigures command is redefined in the class file as

\renewcommand\listoffigures{ \btypeout{List of Figures} \addtotoc{List of Figures} \begin{spacing}{1}{ \setlength{\parskip}{1pt} \if@twocolumn @restonecoltrue\onecolumn \else @restonecolfalse \fi \chapter*{\listfigurename @mkboth{\MakeUppercase\listfigurename} {\MakeUppercase\listfigurename}} @starttoc{lof} \if@restonecol\twocolumn\fi \cleardoublepage }\end{spacing} }

Any help highly appreciated!

Santi
  • 11
  • 2