Text Formatting ⇒ Fix horizontal Spacing in LoF, LoT in 'book' class
Fix horizontal Spacing in LoF, LoT in 'book' class
I've got a list of figures and list of tables, both of which go into double digits (i.e. Table 13.10), and this (I think) causes the LOT, LOF to look very ugly and bunched up. I don't know if they operate as tables (?) but essentially I need the first column (the one that has the 10.11, 10.12 numbers in it) to be a bit wider, so as to not be touching the table/figure titles. Sorry I cannot provide a minimal example, but if someone could point me to how to adjust these widths or the separator I would be very grateful!
Thanks!
m.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Fix horizontal Spacing in LoF, LoT in 'book' class
A minimal example is always possible. Regarding your problem, try the tocloft package to adjust the space reserved for the float numbers.maja z wrote:[…] Sorry I cannot provide a minimal example, […]
Code: Select all
\documentclass[11pt,a4paper]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tocloft}
\addtolength{\cftfignumwidth}{1em}
\addtolength{\cfttabnumwidth}{1em}
\begin{document}
\listoffigures
\listoftables
\chapter{Foo}
\begin{figure}[!ht]
\centering
\rule{6.4cm}{3.6cm}
\caption{Dummy figure}\label{fig:dummy}
\end{figure}
\begin{table}[!ht]
\centering
\rule{6.4cm}{3.6cm}
\caption{Dummy table}\label{tab:dummy}
\end{table}
\end{document}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10