Generalfigure number and title overlap in \listoffigures

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
suatlatex
Posts: 4
Joined: Mon Mar 07, 2011 7:18 am

figure number and title overlap in \listoffigures

Post by suatlatex »

In \listoffigures, when number of the figure is more than two digits, the number is overlapped with the title of the figure.

Image

Is there any command that can change the skip between the figure number and the figure title in the list of figures?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

west.logan
Posts: 87
Joined: Tue Sep 14, 2010 6:58 pm

figure number and title overlap in \listoffigures

Post by west.logan »

Do you have a MWE? Are you using the Article class? Memoir?

I would suspect you could use:

Code: Select all

\makeatletter
\renewcommand{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
\makeatother
The first parameter is the level, the second is the indent, and the third is the numwidth.
suatlatex
Posts: 4
Joined: Mon Mar 07, 2011 7:18 am

Re: figure number and title overlap in \listoffigures

Post by suatlatex »

I'm using the memoir class.
It works. Thanks.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

figure number and title overlap in \listoffigures

Post by localghost »

suatlatex wrote:[…] It works. […]
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting). This applies also to your former question. Please keep that in mind for the future so that further reminders will not be necessary.


Thorsten
west.logan
Posts: 87
Joined: Tue Sep 14, 2010 6:58 pm

figure number and title overlap in \listoffigures

Post by west.logan »

suatlatex wrote:I'm using the memoir class.
It works. Thanks.
Alright, in the Memoir class it's even easier. Just use

Code: Select all

\setlength{\cftfigurenumwidth}{5em}
Of course "5em" can be whatever length you want, within reason.
Post Reply