4

I am using tocloft to create an List of Figures. Now I would like to get rid of title and the list of figure should begin right at the top after the chapter title. I know the following is not a minimal example, but it should be understandable.

In the preamble I have this:

\usepackage{tocloft}
\renewcommand{\cftfigpresnum}{Abb. }
\settowidth{\cftfignumwidth}{Abb. 10\quad}
%\setlength{\cftfignumwidth}{2cm}
\renewcommand\cftfigfont{\footnotesize} 
\renewcommand{\cftfigdotsep}{\cftnodots}%punkte im abb. verzeichnis.
\cftpagenumbersoff{figure}
\setlength{\cftfigindent}{0pt} 

And between begin and end

\begin{document}

% in between there are many figures... 

\renewcommand\listfigurename{}
\chapter{Abbildungsnachweise}

It should begin here.

\listoffigures

\end{documen}

Example of output

1 Answer 1

7

Instead of calling \listoffigures, use

\makeatletter
\@starttoc{lof}% Print List of Figures
\makeatother

directly, or remove the header construction suggested by tocloft:

{\makeatletter
\let\@cftmakeloftitle\relax
\listoffigures% Print List of Figures
\makeatother}

The latter (perhaps preferred) solution stems from the definition if \listoffigures in tocloft.sty (note the \@cftmakeloftitle that is not needed, since you're providing your own):

\renewcommand{\listoffigures}{%
  \@cfttocstart
  \par
  \begingroup
    \parindent\z@ \parskip\cftparskip
    \@cftmakeloftitle
    \if@cfttocbibind
      \@cftdobiblof
    \fi
    \@starttoc{lof}%
  \endgroup
  \@cfttocfinish}
\fi
1
  • Thanks a lot! Now I have a follow-up question. link Apr 10, 2012 at 22:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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