LyX ⇒ Reserve more Space for Numbers in LoF
-
- Posts: 2
- Joined: Wed Sep 19, 2012 9:24 pm
Reserve more Space for Numbers in LoF
I have a small issue with the LoF in my document. When the figure number goes above a certain number of characters it overlaps with the figure caption. I have been unable to find a way of altering the margins for the figure list. Is there a way to shift the figure captions across by a mm or two?
I have attached an example image from my PDF.
Many thanks in advance for your help,
Neil
- Attachments
-
- LoF-Error.png (13.14 KiB) Viewed 3767 times
Reason: Images are scaled appropriately to maintain the forum format (see Board Rules).
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
Reserve more Space for Numbers in LoF
Welcome to the LaTeX community!
How are you creating your LoF? Are you using a standard class or custom class? Du you use packages that modify it… You'll get the fastest and best help if you provide us with a

\documentclass
and that contains all necessary but no unnecessary parts to describe the essential parts of the problem. Have a look at the link for more information.Regards
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Reserve more Space for Numbers in LoF
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Reserve more Space for Numbers in LoF

-
- Posts: 2
- Joined: Wed Sep 19, 2012 9:24 pm
Reserve more Space for Numbers in LoF
Many thanks for your help guys. After a very frustrating morning that led to me having to update miktex and swear a lot as I couldn't get the tocloft commands to work properly I found this page trying to get that working:
http://staff.washington.edu/fox/tex/uwthesis.shtml
On this it gives the following command to edit the width for the section numbers:
Code: Select all
\makeatletter
\renewcommand*\l@figure{\setlength\@tempdima{2.3em}%
\@dottedtocline{1}{1.5em}{\@tempdima}}
\makeatother
Many thanks for your help nonetheless.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Reserve more Space for Numbers in LoF
Code: Select all
\usepackage{tocloft}
\setlength{\cftfignumwidth}{4em} % choose an appropriate length here
Good insight.happygoron wrote:[…] Maybe hiding from learning latex properly by using lyx wasn't the greatest idea. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Reserve more Space for Numbers in LoF
Regards