Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
Great! I have been looking for that for days! But where do I find this? It's not in memoir.cls, nor in memman.pdf. –  Wybo Dekker Sep 18 '12 at 13:52
1  
@WyboDekker yes, it is. In Table 9.3 (page 162) of memman you see the various values for the K placeholder in the \cftX... family of commands; amongst them you find figure and table –  Gonzalo Medina Sep 18 '12 at 13:56
    
Thanks - I missed that one, i.e. I didn't realize that that was what I needed. –  Wybo Dekker Sep 18 '12 at 20:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.