# SPAM:[texhax] Problem with listoffigures

Philip G. Ratcliffe philip.ratcliffe at uninsubria.it
Mon Apr 11 17:15:46 CEST 2005

> I put in attachment the PDF file that shows the problem I'm having.
> The problem is in the List of Figures part provide by the
> command \listoffigures.  For figure number 1 to 99, there's no problem,
> but in my case, I have 200 figures in Appendix.  As shown in the last
> 4 pages of the PDF file, the number of figure overlap the caption of
> the figure???  Even for the figure A.10 to A.99, the caption is too
> close from the numbers.
>
> So, to overcome this problem, after finishing all my text, I went in
> the *.lof file and overwrite \ignorespaces by \hspace{0.1in} for each
> figure.  It works well for small caption, but for captions that take 2
> lines, the second line will not be at the same horizontal position as
> the first letter of the caption from the first line.
>
> So, is there a way to increase the horizontal space between the number
> and the caption in the List of Figures?  It must also have the same
> problem for List of Tables, but I don't have 100 tables J

\makeatletter
\renewcommand*\l at figure{\@dottedtocline{1}{1.5em}{2.3em}}
\makeatother

And play with the last length; probably 3.3em is already enough.

Do the same for \l at table if you need to.

Cheers,  Phil