Hi everyone.
I'm facing some trouble formatting the list of figures for my thesis and I would really appreciate it if someone could help me resolve it.
I would like to decrease the size available for the title of the figure while at the same time
- the title retains the same distance from the figure number (\setlength{\cftfignumwidth}{1.9em})
- the dots end just 1em before the page number.
I solved the issue partly using \cftsetpnumwidth{2em} however the dots stop way before the page number.
Thank you in advance.
Text Formatting ⇒ Format list of figures
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Format list of figures
please post a minimal example, it makes it a lot easier for us to help
Format list of figures
Here is a minimal working example.
Thank you in advance
Code: Select all
\documentclass[11pt,a4paper,english]{report}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[font=small,labelfont={bf,sf},tableposition=top]{caption}
\usepackage{tocloft}
\setlength{\cftfignumwidth}{1.9em} % Modify number width in LoF
\begin{document}
\listoffigures
\chapter{Dummy Chapter}
\section{Dummy Section}
\begin{figure}[!ht]
\centering
\rule{6.4cm}{3.6cm}
\caption{This is a very very very very very very very very long caption}\label{fig:dummy}
\end{figure}
\end{document}
Re: Format list of figures
and what exactly is the problem? as far as I can see the dots stop aprox 1em from the page number