lyx-users  

Re: Issue about list of figures&tables

Jürgen Spitzmüller
Fri, 10 Oct 2008 01:33:42 -0700

newnoise wrote:
> instead I would to have
>
> List of Figures
>
> Figure 1 bla bla bla
> Figure 2 bla bla bla
>
> and the same for the list of tables. I know that it is worst but I've to
> respect a specific format to write down my reports...

\usepackage{tocloft}
\renewcommand{\cfttabpresnum}{Table }
\renewcommand{\cfttabaftersnum}{ }
\renewcommand{\cftfigpresnum}{Figure }
\renewcommand{\cftfigaftersnum}{ }
\newlength\mylen
\settowidth{\mylen}{\bfseries\cfttabpresnum\cfttabaftersnum}
\setlength{\cfttabnumwidth}{\mylen}
\settowidth{\mylen}{\bfseries\cftfigpresnum\cftfigaftersnum}
\setlength{\cftfignumwidth}{\mylen}

Jürgen