Hello,
I am using Koma-Script to create a small book.
I am encountering difficulties with the "List of Figures" formatting. Chapter 3 has ten figures. LyX is creating the list perfectly, but is only inserting a single space between the figure number and its title. When referencing figure 3.10, the result is an absent "space" between the reference figure and the title. Thus:
3.8 Figure title
3.9 Figure title
3.10Figure title
Chapter 6 has twenty graphics and the problem shows up in that sub-list, too.
Any help on resolving this problem would be greatly appreciated.
Many thanks in advance.
LyX ⇒ Space for Figure Numbers in LoF
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10347
- Joined: Mon Mar 10, 2008 9:44 pm
Space for Figure Numbers in LoF
Hi,
welcome to the board!
Very good, that you use a KOMA-Script class. So you have access to many more features than with basic classes. KOMA-Script provides the
tocstyle package, which is capable of automatically calculating and adjusting the widths in the list of figures for you, as well as for other lists and the table of contents. It does it already when you load it without any option, in your document preamble:
Compile several times, to let it calculate the required width.
Stefan
welcome to the board!
Very good, that you use a KOMA-Script class. So you have access to many more features than with basic classes. KOMA-Script provides the

Code: Select all
\usepackage{tocstyle}
Stefan
LaTeX.org admin
Re: Space for Figure Numbers in LoF
Thank you!
tocstyle worked perfectly.
I had solved the problem by changing the font settings from Bera Serif and Bera Sans to Latin Modern (serif and sans). This wasn't a happy solution but seemed a reasonable compromise.
Tocstyle has let me go back to my preferred font.
Thank you again...and thanks, too, for including the documentation. I will play around a bit to see if other formats are even more attractive than the default.
tocstyle worked perfectly.
I had solved the problem by changing the font settings from Bera Serif and Bera Sans to Latin Modern (serif and sans). This wasn't a happy solution but seemed a reasonable compromise.
Tocstyle has let me go back to my preferred font.
Thank you again...and thanks, too, for including the documentation. I will play around a bit to see if other formats are even more attractive than the default.