5

I am trying to change the width of figure numbers in the toc, lof, and lot. This works fine for the toc:

\documentclass{memoir}
\newcommand{\Fig}{\begin{figure}\caption{test}\rule{10pt}{10pt}\end{figure}}
\setlength{\cftchapternumwidth}{20mm}
\setlength{\cftsectionnumwidth}{20mm}
\setlength{\cftsectionindent}{0mm}
\begin{document}
\tableofcontents
\listoffigures
\chapter{One} \Fig
\section{OneOne} \Fig
\section{OneTwo} \Fig
\chapter{Two} \Fig
\section{TwoOne} \Fig
\section{TwoTwo} \Fig
\end{document}

But the list of figures is unchanged; how can I change that, too? Here is my output:

enter image description here

1 Answers1

6

You can use

\setlength{\cftfigurenumwidth}{20mm}
\setlength{\cfttablenumwidth}{20mm}

A complete example:

\documentclass{memoir}
\newcommand{\Fig}{\begin{figure}\caption{test}\rule{10pt}{10pt}\end{figure}}
\setlength{\cftchapternumwidth}{20mm}
\setlength{\cftsectionnumwidth}{20mm}
\setlength{\cftfigurenumwidth}{20mm}
\setlength{\cfttablenumwidth}{20mm}
\setlength{\cftsectionindent}{0mm}
\begin{document}
\tableofcontents
\listoffigures
\chapter{One} \Fig
\section{OneOne} \Fig
\section{OneTwo} \Fig
\chapter{Two} \Fig
\section{TwoOne} \Fig
\section{TwoTwo} \Fig
\end{document}

enter image description here

Gonzalo Medina
  • 505,128