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 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

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

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
share|improve this answer
    
Thanks a lot! Now I have a follow-up question. link –  algomachine Apr 10 '12 at 22:52
add comment

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.