[texhax] No title for \listoffigures

Sorin Marti mas at semafor.ch
Fri Jun 27 14:16:05 CEST 2003



Philip G. Ratcliffe wrote:
>>Yes. I want to make my own section for listoffigures so I wrote:
>>
>>\renewcommand{\listfigurename}{}
>>\section*{\mdseries \sffamily \bfseries Abbildungsverzeichnis}
>>\addcontentsline{toc}{section}{Abbildungsverzeichnis}
>>\listoffigures
>>\newpage
> 
> 
> You don't mention the packages you are using. 

\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage{expdlist}
\usepackage{makeidx}
\usepackage{multicol}

I think ngerman could be one of those who redefine these labels.

> It is possible that one of them redefines \listfigurename at the beginning
 > of the document and so if your \renewcommand{\listfigurename}{} is in 
the
 > preamble it will get overwritten.  Try putting the command just AFTER
 > begin{document}.  You might also try the "tocbibind" package to avoid
 > defining your own section and so just have
> 
> \renewcommand\listfigurename{Abbildungsverzeichnis}

I put it right after \begin{document} and it works just fine!

Thanks!
   Sorin



More information about the texhax mailing list