Code: Select all
% \begin{macro}{\l@figure}
% This macro produces an entry in the list of figures.
% \begin{macrocode}
\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
% \end{macrocode}
% \end{macro}
Inside my own .cls file I am trying to do the following the
Code: Select all
\let\oldlistoftables = \listoftables
\renewcommand{\listoftables}{
\newpage
\addcontentsline{toc}{chapter}{\listtablename}
\pagestyle{plain}
\begin{singlespace}
\oldlistoftables
\end{singlespace}}
Code: Select all
% Even though lists of figures are single-spaced, Editor requires
% double spacing between the items in the lists.
\let\oldcaption = \caption
\renewcommand{\caption}[1]{
\oldcaption{#1}
\addtocontents{lof}{\protect\addvspace{10\p@}}%
\addtocontents{lot}{\protect\addvspace{10\p@}}%
}
All help is appreciated.
Thanks
Affan