First of all, sorry for the long mwe - I wanted to include everything I use so that someone may see a potential clash.

I based this off of the document class amsbook. I am also going to add a "List of Proofs" section too...

I've seen some references to adjusting the width of the numbers in the List of Figures (though I don't think they had


level of detail. Some relied on


which sounds great but I couldn't get the news errors to be fixed when implementing that package. I also found one (How to modify the space between the numbers and text of sectioning titles in the table of contents?) that tried to fix it (in the book class) without that package, relying on something to do with

 \renewcommand*\l@subsection{\@dottedtocline{2}{1.8em}{3.2 em}}

but my file complained about that itself being undefined so I took it out - I suppose it comes with the tocloft package?

This worked part ways, until more obscure errors (for me) came up, so I took this out too...


I'd like to use the


package and so I took my 150 page notebook down to a `MWE' to see if someone knew why it didn't work.

Here is the start of the preamble.



  {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}%
\newcommand\listdefinitionname{List of Definitions and Theorems}

  {\topsep}{\topsep}{}{-3pt}{\bfseries}{:}{\newline}% -3 indents the header
  {\thmname{#1}\thmnumber{ #2}\thmnote{ ({\color{black}{#3}})}%
\newcommand\listremarkname{List of Remarks}

  {\topsep}{\topsep}{}{-3pt}{\bfseries}{:}{\newline}% -3 indents the header
  {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}%



    \usepackage[top=1.2in, left=0.9in, bottom=1.2in, right=0.9in,heightrounded,marginparwidth=2cm,marginparsep=2mm]{geometry}


        colorlinks = true,
        %linkbordercolor = {white},
        hidelinks = false,
        frenchlinks=true, %eventually comment out
        %pdftitle={PHYS 5300},
            \ifcase #1
                No cited.
                Cited on page #2.
                Cited on pages #2.












    \newmdtheoremenv{theo}{Theorem} % has to be after mdframed package




    \usepackage{colortbl,array} % für farbige cells

    \usepackage{subcaption} %clashes with subfigure :(

    \usepackage{scalefnt} %for controlling font scale in tikz ppg pictures.

    \usepackage[xindy,counter=section,sanitize={name=false}]{glossaries} %[toc]% %\glstoctrue
        \makeglossaries %has to be after \usepackage{hyperref}              

                    name=Reidemeister move,
                    name=Riemann Surface,










  {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}

    \newcommand\listexamplename{List of Examples}



and here is the beginning of the document, after the preamble

\title{Literature Review f .......}


%    Change page number to 7 if a dedication is present.

    %\hypertarget{toc}{} not sure what this does...
    \listofdefinitions %see \newtheoremstyle{mystyle}

\part{Rjdlkfj lkdjsalf jlj fldksjaf lj fdlksja flkdj lkjd f lksdj fkdj skflajsfskjf oi falj aijf l ejf jself jselij flie sjlgfij gski}

\section{one one one one one one one one one one one one one one one one one one one one one one one one one one one }  a
\section{one} b


\subsubsection{stuff to do}a

  \caption{Really long explanation of a picture that doesn't exist but if it did it would still require a really long explanation and please let me worry about the aesthetics of such a beast and I promise to never ever do it again!}

\subsubsection{stuff to do}n
\subsubsection{stuff to do}o


\begin{mydef}[stuff what happens if this is really long? Does it just wrap around or does it affect the indentation of neighboring stuff?]
I define nothing!

\begin{mythm}[stuff what happens if this is really long? Does it just wrap around or does it affect the indentation of neighboring stuff?]
Nothing matters.

\begin{proof}[fjl fkls dlsfk jldk flkj fkdlj flj fsj fdkl fdjfsl fjl sf flks flk flkfj ls lf fsl lfs jflksj fslj fslj fslj fslkj f jfslkj fsljfs lkfsj lkfsj flsk fks jfsofs jl]


`state' is defined by tholynomial.
\begin{myrem}[Automatically Lagrfkdlsaj ksalfj afdkla lajd  falsd fldasf lasfj ld dorm]

 even up to leading order.
\begin{exx}[Q dsajf lji kl ldskkdl fkds alkf  fkl alsj fjls ja fdlksj  lkads fldjs fajkf jdsalkf dsja fldsja jd sadls fksla dlsamute]

tes \index{Choice n}, that es'\index{Canoaes} 

\subsection{Cano fjasl sjal f lfajf a falsdjf aklf dlka fl aflkjda fdksjalf dla fdaf dla flkdsa fldsajf da flasmetry}

e \S 3.2 of \cite{RolfBerndt2001} 

\begin{myrem}[Choice of Pola]
\index{here is something}

            \glsaddall % if want to print all glossary entries

\bibliographystyle{alpha}%plain, abbrv, alpha, unsrt, acm, {plainnat}%{amsplain}

  • Please provide a true minimal example (a preamble with 500+ lines can hardly be considered minimal). Besides this, your code (when pasted together) doesn't produce a compilable document (it generates errors). Commented Aug 20, 2013 at 23:17
  • 1
    As a side note, tocloft is incompatible with the AMS document classes. Commented Aug 21, 2013 at 0:03
  • Thanks for the comments about compatability with AMS. Heard tocloft was a great and powerful package to do this with :( Here is my new MWE which is now under 500 lines!
    – nate
    Commented Aug 21, 2013 at 0:56

1 Answer 1


amsbook.cls has

\def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{1.5pc}{}}

and 1.5pc is too little space in your case, since you are subordinating the figure counter to the subsubsection counter; you can increase the spacing using a higher value for the fourth argument of \@tocline, adding something like the following lines to the preamble:

\def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{5pc}{}}

The tocloft package and AMS classes are incompatible (AMS classes have their own mechanism to handle ToC,LoF,LoT entries).

By the way (not related to the question), the order in which you are loading hyperref is not the most standard one.

  • I've noticed that ordering is important for hyperref (probably other) and will review tex.stackexchange.com/questions/1863/… . Your solution worked for me in the little MWE as well as my big beast :) Still trying to get to that level of reading .cls files and those things...
    – nate
    Commented Aug 21, 2013 at 1:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .