xhtml export from Lyx: List of figures

2019-11-28 Thread Wolfgang Engelmann
the xhtml export from Lyx leads to a list of figures which shows the 
whole content of the legends. I would like to have here only the short 
title, but the long title in the legends. What would be the best way to 
achieve this (98 figures!).


Wolfgang

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: List of Figures

2017-03-15 Thread CarLaTeX
2017-03-15 4:42 GMT+01:00 Steve Burnham <dan...@gmail.com>:

>
>
> On Mon, Mar 13, 2017 at 4:10 AM CarLaTeX <carlatex...@gmail.com> wrote:
>
>
> 2017-03-13 8:27 GMT+01:00 Guenter Milde <mi...@users.sf.net>:
>
> On 2017-03-12, Steve Burnham wrote:
> > On Sat, Mar 11, 2017 at 10:35 PM CarLaTeX <carlatex...@gmail.com> wrote:
> >> Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:
>
> >> I'm having a hard time figuring an error out LyX gives on compilation.
> I'm
> >> trying to include a list of figures in my document. One document based
> on
> >> the same template (custom university thesis template) but this document
> >> throws the following error:
>
> >> Contents.
>
> >> ! Undefined control sequence.
>
> >> l.117 \listoffigures
>
> ...
>
> > I was trying to avoid the minimal example since I have to use a
> > dropbox link because of all of the custom class and layout files.
>
> We still ask to provide a minimal example. It is far more easy for you
> than for anyone else (downloading and experimenting with uncommon stuff)
> and has to be done anyway to get to the core of the problem.
>
> Günter
>
>
> Sorry, I did "reply" instead of "reply to all":
>
> --
> The culprits are these commented lines in your uuthesis.cls:
>
> %\newif\iflistoffigures
> ...
> %\listoffigurestrue
> ...
> %
> %\def\listoffigures{
> %  \iflistoffigures
> %\newpage
> %\thispagestyle{empty}
> %\addcontentsline{toc}{chapter}{LIST OF FIGURES}
> %\mainheading{LIST OF FIGURES}\vskip 3pt
> %\ifnoisy \typeout{List of Figures.} \fi
> %\@starttoc{lof}
> %  \else
> %\ifnoisy \typeout{No list of figures.} \fi
> %  \fi
> %}
>
> If you leave out all the "%", you'll get your LoF.
>
> However, I think you have to ask who provided you the uuthesis.cls, maybe
> they have commented those lines because they don't want LoFs in that kind
> of thesis.
>
> Good luck for your graduation!
>
> Carla
> -
>
> P.S. = However, Günter is right, I you had done a MWE, you would probably
> have found the problem by yourself!
>
>
> Thank you all that did it.
>
> Funny thing is once I started uncommenting things I realized that I was
> the one who commented it out several years ago when I was doing my master's
> thesis. The rule is if you have more than 25 figures then there is no list
> of figures which I find silly. I have more than 25 for my dissertation but
> for my own personal copy I want the list. I swore I had removed the
> functionality but thought I made changes in the preamble. After being
> unable to fix it I figured it must be something else and emailed out. So
> thanks again, it feels great to be finished!
>
> -Steve
>

I'm happy to hear you've solved your problem.
The rule is very silly, indeed!
The LoF is useful when you have a lot of figures, not on the contrary!
Have a good day!

Carla


Re: List of Figures

2017-03-14 Thread Steve Burnham
On Mon, Mar 13, 2017 at 4:10 AM CarLaTeX <carlatex...@gmail.com> wrote:


2017-03-13 8:27 GMT+01:00 Guenter Milde <mi...@users.sf.net>:

On 2017-03-12, Steve Burnham wrote:
> On Sat, Mar 11, 2017 at 10:35 PM CarLaTeX <carlatex...@gmail.com> wrote:
>> Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:

>> I'm having a hard time figuring an error out LyX gives on compilation.
I'm
>> trying to include a list of figures in my document. One document based on
>> the same template (custom university thesis template) but this document
>> throws the following error:

>> Contents.

>> ! Undefined control sequence.

>> l.117 \listoffigures

...

> I was trying to avoid the minimal example since I have to use a
> dropbox link because of all of the custom class and layout files.

We still ask to provide a minimal example. It is far more easy for you
than for anyone else (downloading and experimenting with uncommon stuff)
and has to be done anyway to get to the core of the problem.

Günter


Sorry, I did "reply" instead of "reply to all":

--
The culprits are these commented lines in your uuthesis.cls:

%\newif\iflistoffigures
...
%\listoffigurestrue
...
%
%\def\listoffigures{
%  \iflistoffigures
%\newpage
%    \thispagestyle{empty}
%\addcontentsline{toc}{chapter}{LIST OF FIGURES}
%\mainheading{LIST OF FIGURES}\vskip 3pt
%\ifnoisy \typeout{List of Figures.} \fi
%\@starttoc{lof}
%  \else
%\ifnoisy \typeout{No list of figures.} \fi
%  \fi
%}

If you leave out all the "%", you'll get your LoF.

However, I think you have to ask who provided you the uuthesis.cls, maybe
they have commented those lines because they don't want LoFs in that kind
of thesis.

Good luck for your graduation!

Carla
-

P.S. = However, Günter is right, I you had done a MWE, you would probably
have found the problem by yourself!


Thank you all that did it.

Funny thing is once I started uncommenting things I realized that I was the
one who commented it out several years ago when I was doing my master's
thesis. The rule is if you have more than 25 figures then there is no list
of figures which I find silly. I have more than 25 for my dissertation but
for my own personal copy I want the list. I swore I had removed the
functionality but thought I made changes in the preamble. After being
unable to fix it I figured it must be something else and emailed out. So
thanks again, it feels great to be finished!

-Steve


Re: List of Figures

2017-03-13 Thread CarLaTeX
2017-03-13 8:27 GMT+01:00 Guenter Milde <mi...@users.sf.net>:

> On 2017-03-12, Steve Burnham wrote:
> > On Sat, Mar 11, 2017 at 10:35 PM CarLaTeX <carlatex...@gmail.com> wrote:
> >> Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:
>
> >> I'm having a hard time figuring an error out LyX gives on compilation.
> I'm
> >> trying to include a list of figures in my document. One document based
> on
> >> the same template (custom university thesis template) but this document
> >> throws the following error:
>
> >> Contents.
>
> >> ! Undefined control sequence.
>
> >> l.117 \listoffigures
>
> ...
>
> > I was trying to avoid the minimal example since I have to use a
> > dropbox link because of all of the custom class and layout files.
>
> We still ask to provide a minimal example. It is far more easy for you
> than for anyone else (downloading and experimenting with uncommon stuff)
> and has to be done anyway to get to the core of the problem.
>
> Günter
>
>
Sorry, I did "reply" instead of "reply to all":

--
The culprits are these commented lines in your uuthesis.cls:

%\newif\iflistoffigures
...
%\listoffigurestrue
...
%
%\def\listoffigures{
%  \iflistoffigures
%\newpage
%\thispagestyle{empty}
%\addcontentsline{toc}{chapter}{LIST OF FIGURES}
%\mainheading{LIST OF FIGURES}\vskip 3pt
%\ifnoisy \typeout{List of Figures.} \fi
%\@starttoc{lof}
%  \else
%\ifnoisy \typeout{No list of figures.} \fi
%  \fi
%}

If you leave out all the "%", you'll get your LoF.

However, I think you have to ask who provided you the uuthesis.cls, maybe
they have commented those lines because they don't want LoFs in that kind
of thesis.

Good luck for your graduation!

Carla
-

P.S. = However, Günter is right, I you had done a MWE, you would probably
have found the problem by yourself!


Re: List of Figures

2017-03-13 Thread Guenter Milde
On 2017-03-12, Steve Burnham wrote:
> On Sat, Mar 11, 2017 at 10:35 PM CarLaTeX <carlatex...@gmail.com> wrote:
>> Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:

>> I'm having a hard time figuring an error out LyX gives on compilation. I'm
>> trying to include a list of figures in my document. One document based on
>> the same template (custom university thesis template) but this document
>> throws the following error:

>> Contents.

>> ! Undefined control sequence.

>> l.117 \listoffigures

...

> I was trying to avoid the minimal example since I have to use a
> dropbox link because of all of the custom class and layout files.

We still ask to provide a minimal example. It is far more easy for you
than for anyone else (downloading and experimenting with uncommon stuff)
and has to be done anyway to get to the core of the problem.

Günter



Re: List of Figures

2017-03-12 Thread Steve Burnham
On Sat, Mar 11, 2017 at 10:35 PM CarLaTeX <carlatex...@gmail.com> wrote:

> Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:
>
> I'm having a hard time figuring an error out LyX gives on compilation. I'm
> trying to include a list of figures in my document. One document based on
> the same template (custom university thesis template) but this document
> throws the following error:
>
> Contents.
>
> ! Undefined control sequence.
>
> l.117 \listoffigures
>
> The control sequence at the end of the top line
>
> of your error message was never \def'ed. If you have
>
> misspelled it (e.g., `\hobx'), type `I' and the correct
>
> spelling (e.g., `I\hbox'). Otherwise just continue,
>
> and I'll forget about whatever was undefined.
>
>
> The \tableofcontents and \listoftables works just fine but \listoffigures
> won't cooperate. Thanks for any insight,
>
>
> -Steve
>
>
> Look at this answer on TeX.SE:
> http://tex.stackexchange.com/a/201505/101651.
>
> If it doesn't solve your problem, I think we need more info (that is,
> could you try to create a minimal example that reproduce the error and
> attach the file to your post?).
>
> Bye!
> Carla
>

I wish it had been that simple. I thought I had seen that package so was
excited. I was trying to avoid the minimal example since I have to use a
dropbox link because of all of the custom class and layout files. Here is a
dropbox link though with a zip file containing all the necessary stuff. You
can comment out "\listoffigures" in the ERT at the beginning of the
document and it compiles just fine but when uncommented it breaks.

https://www.dropbox.com/s/1njle770rqlexmm/table_of_figures.zip?dl=0

-Steve


Re: List of Figures

2017-03-11 Thread CarLaTeX
Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:

I'm having a hard time figuring an error out LyX gives on compilation. I'm
trying to include a list of figures in my document. One document based on
the same template (custom university thesis template) but this document
throws the following error:

Contents.

! Undefined control sequence.

l.117 \listoffigures

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


The \tableofcontents and \listoftables works just fine but \listoffigures
won't cooperate. Thanks for any insight,


-Steve


Look at this answer on TeX.SE: http://tex.stackexchange.com/a/201505/101651.

If it doesn't solve your problem, I think we need more info (that is, could
you try to create a minimal example that reproduce the error and attach the
file to your post?).

Bye!
Carla


List of Figures

2017-03-11 Thread Steve Burnham
I'm having a hard time figuring an error out LyX gives on compilation. I'm
trying to include a list of figures in my document. One document based on
the same template (custom university thesis template) but this document
throws the following error:

Contents.

! Undefined control sequence.

l.117 \listoffigures

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


The \tableofcontents and \listoftables works just fine but \listoffigures
won't cooperate. Thanks for any insight,


-Steve


how to show 'list of Figures' in toc

2015-07-17 Thread Michael Berger

Dear friends of LyX,
my document is of the Class KOMA-script article.
I want the 'List of Figures' appear in the TOC.
How can that be accomplished?


Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
id...@online.de
Fon: +49 6442 706509
Fax: 032121247536
Linux member


Re: how to show 'list of Figures' in toc

2015-07-17 Thread William Seager
On Friday, July 17, 2015 19:56 Michael Berger wrote:
 my document is of the Class KOMA-script article.
 I want the 'List of Figures' appear in the TOC.
 How can that be accomplished?

add list of figures from insert menu and then
ERT \addcontentsline{toc}{chapter}{List of Figures}

all the best,
-- 
William Seager
University of Toronto Scarborough
http://www.utsc.utoronto.ca/~seager


Re: how to show 'list of Figures' in toc

2015-07-17 Thread Jürgen Spitzmüller
Am Freitag 17 Juli 2015, 19:56:04 schrieb Michael Berger:
 Dear friends of LyX,
 my document is of the Class KOMA-script article.
 I want the 'List of Figures' appear in the TOC.
 How can that be accomplished?

With KOMA, just add listof=totoc to Document  Settings  Class Options.

Jürgen


Re: how to show 'list of Figures' in toc

2015-07-17 Thread Michael Berger

On 07/17/2015 08:09 PM, William Seager wrote:

On Friday, July 17, 2015 19:56 Michael Berger wrote:

my document is of the Class KOMA-script article.
I want the 'List of Figures' appear in the TOC.
How can that be accomplished?

add list of figures from insert menu and then
ERT \addcontentsline{toc}{chapter}{List of Figures}

all the best,

Thanks William and Jürgen!
Michael


how to show 'list of Figures' in toc

2015-07-17 Thread Michael Berger

Dear friends of LyX,
my document is of the Class KOMA-script article.
I want the 'List of Figures' appear in the TOC.
How can that be accomplished?


Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
id...@online.de
Fon: +49 6442 706509
Fax: 032121247536
Linux member


Re: how to show 'list of Figures' in toc

2015-07-17 Thread William Seager
On Friday, July 17, 2015 19:56 Michael Berger wrote:
 my document is of the Class KOMA-script article.
 I want the 'List of Figures' appear in the TOC.
 How can that be accomplished?

add list of figures from insert menu and then
ERT \addcontentsline{toc}{chapter}{List of Figures}

all the best,
-- 
William Seager
University of Toronto Scarborough
http://www.utsc.utoronto.ca/~seager


Re: how to show 'list of Figures' in toc

2015-07-17 Thread Michael Berger

On 07/17/2015 08:09 PM, William Seager wrote:

On Friday, July 17, 2015 19:56 Michael Berger wrote:

my document is of the Class KOMA-script article.
I want the 'List of Figures' appear in the TOC.
How can that be accomplished?

add list of figures from insert menu and then
ERT \addcontentsline{toc}{chapter}{List of Figures}

all the best,

Thanks William and Jürgen!
Michael


Re: how to show 'list of Figures' in toc

2015-07-17 Thread Jürgen Spitzmüller
Am Freitag 17 Juli 2015, 19:56:04 schrieb Michael Berger:
 Dear friends of LyX,
 my document is of the Class KOMA-script article.
 I want the 'List of Figures' appear in the TOC.
 How can that be accomplished?

With KOMA, just add listof=totoc to Document  Settings  Class Options.

Jürgen


how to show 'list of Figures' in toc

2015-07-17 Thread Michael Berger

Dear friends of LyX,
my document is of the Class KOMA-script article.
I want the 'List of Figures' appear in the TOC.
How can that be accomplished?


Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
id...@online.de
Fon: +49 6442 706509
Fax: 032121247536
Linux member


Re: how to show 'list of Figures' in toc

2015-07-17 Thread William Seager
On Friday, July 17, 2015 19:56 Michael Berger wrote:
> my document is of the Class KOMA-script article.
> I want the 'List of Figures' appear in the TOC.
> How can that be accomplished?

add "list of figures" from insert menu and then
ERT "\addcontentsline{toc}{chapter}{List of Figures}"

all the best,
-- 
William Seager
University of Toronto Scarborough
http://www.utsc.utoronto.ca/~seager


Re: how to show 'list of Figures' in toc

2015-07-17 Thread Jürgen Spitzmüller
Am Freitag 17 Juli 2015, 19:56:04 schrieb Michael Berger:
> Dear friends of LyX,
> my document is of the Class KOMA-script article.
> I want the 'List of Figures' appear in the TOC.
> How can that be accomplished?

With KOMA, just add listof=totoc to Document > Settings > Class Options.

Jürgen


Re: how to show 'list of Figures' in toc

2015-07-17 Thread Michael Berger

On 07/17/2015 08:09 PM, William Seager wrote:

On Friday, July 17, 2015 19:56 Michael Berger wrote:

my document is of the Class KOMA-script article.
I want the 'List of Figures' appear in the TOC.
How can that be accomplished?

add "list of figures" from insert menu and then
ERT "\addcontentsline{toc}{chapter}{List of Figures}"

all the best,

Thanks William and Jürgen!
Michael


Re: List of Figures to Toc

2015-03-02 Thread Johannes Böttcher

Hi,

add to your preamble, from a previous mail i know that you are using a 
KOMA class.


KOMAoption{listof}{totoc}

best regards

On 02.03.2015 21:47, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Re: List of Figures to Toc

2015-03-02 Thread Michael Berger

On 03/02/2015 09:47 PM, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Hi Aline,
Try \addcontentsline{toc}{chapter}{listoftables}\markboth{}{}
i.e. remove the backslash preceding listoftables.
It works here.
Michael

PS:
Perhaps the screenshot is more explanatory,
Michael



Re: List of Figures to Toc

2015-03-02 Thread Michael Berger

On 03/02/2015 09:47 PM, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Hi Aline,
Try \addcontentsline{toc}{chapter}{listoftables}\markboth{}{}
i.e. remove the backslash preceding listoftables.
It works here.
Michael


List of Figures to Toc

2015-03-02 Thread Aline Gautrein
Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser


List of Figures to Toc

2015-03-02 Thread Aline Gautrein
Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser


Re: List of Figures to Toc

2015-03-02 Thread Johannes Böttcher

Hi,

add to your preamble, from a previous mail i know that you are using a 
KOMA class.


KOMAoption{listof}{totoc}

best regards

On 02.03.2015 21:47, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Re: List of Figures to Toc

2015-03-02 Thread Michael Berger

On 03/02/2015 09:47 PM, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Hi Aline,
Try \addcontentsline{toc}{chapter}{listoftables}\markboth{}{}
i.e. remove the backslash preceding listoftables.
It works here.
Michael


Re: List of Figures to Toc

2015-03-02 Thread Michael Berger

On 03/02/2015 09:47 PM, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Hi Aline,
Try \addcontentsline{toc}{chapter}{listoftables}\markboth{}{}
i.e. remove the backslash preceding listoftables.
It works here.
Michael

PS:
Perhaps the screenshot is more explanatory,
Michael



List of Figures to Toc

2015-03-02 Thread Aline Gautrein
Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser


Re: List of Figures to Toc

2015-03-02 Thread Johannes Böttcher

Hi,

add to your preamble, from a previous mail i know that you are using a 
KOMA class.


KOMAoption{listof}{totoc}

best regards

On 02.03.2015 21:47, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Re: List of Figures to Toc

2015-03-02 Thread Michael Berger

On 03/02/2015 09:47 PM, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Hi Aline,
Try \addcontentsline{toc}{chapter}{listoftables}\markboth{}{}
i.e. remove the backslash preceding "listoftables".
It works here.
Michael


Re: List of Figures to Toc

2015-03-02 Thread Michael Berger

On 03/02/2015 09:47 PM, Aline Gautrein wrote:

Hey guys,

I am stil trying to resolve my contents problem:

I now try to use

\addcontentsline{toc}{chapter}{\listoftables}\markboth{}{}
\addcontentsline{toc}{chapter}{\listoffigures}\markboth{}{}

etc...

Now I get the error message:

TeX capacity exceeded, sorry [input stack size=5000].
\addcontentsline{toc}{chapter}{\listoftables}

\markboth{}{}

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What can I do?


Greetings!

NewUser



Hi Aline,
Try \addcontentsline{toc}{chapter}{listoftables}\markboth{}{}
i.e. remove the backslash preceding "listoftables".
It works here.
Michael

PS:
Perhaps the screenshot is more explanatory,
Michael



Re: list of figures and table overlapping with title

2013-08-26 Thread Wolfgang Engelmann
Am Saturday, 24. August 2013, 21:39:40 schrieb luke jones:
 Hi guys
 
 I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use
 Latex, but I have been very happy with Lyx.
 
 When I generate the PDF output, in the list of figures and tables when I
 get to
 
 5.5.10
 5.5.11
 
 then the 0 overlaps with the first letter of the title of the table or
 figure.
had the same problem once. See

http://comments.gmane.org/gmane.editors.lyx.general/78633
for the solution, which says

add in the preamble some of this:


%more space between figurenumber and text in toc
\usepackage{tocloft}
%\addtolength{\cftlotnumwidth}{1em}
%%\addtolength{\cftlotnumwidth}{2em}
%\addtolength{\cftlofnumwidth}{1em}
%%\addtolength{\cftlofnumwidth}{2em}
%\addtolength{\cftsubsecnumwidth}{0.3em}
\addtolength{\cftsubsecnumwidth}{0.5em}
%\addtolength{\cftsecnumwidth}{0.3em}
\addtolength{\cftsecnumwidth}{0.5em}
%\addtolength{\cftchapnumwidth}{1em}
\addtolength{\cftchapnumwidth}{2em}
\addtolength{\cftfignumwidth}{1em}


you might need to increase the numbers

 
 I have been reading online about changing Latex codes but I don't know
 how to do this.
 
 Is there an easy way to get round this problem?
 
 If not, could you advise me how to change the code for dummys!
 
 Thanks in advance
 
 LJ


-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: list of figures and table overlapping with title

2013-08-26 Thread Wolfgang Engelmann
Am Saturday, 24. August 2013, 21:39:40 schrieb luke jones:
 Hi guys
 
 I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use
 Latex, but I have been very happy with Lyx.
 
 When I generate the PDF output, in the list of figures and tables when I
 get to
 
 5.5.10
 5.5.11
 
 then the 0 overlaps with the first letter of the title of the table or
 figure.
had the same problem once. See

http://comments.gmane.org/gmane.editors.lyx.general/78633
for the solution, which says

add in the preamble some of this:


%more space between figurenumber and text in toc
\usepackage{tocloft}
%\addtolength{\cftlotnumwidth}{1em}
%%\addtolength{\cftlotnumwidth}{2em}
%\addtolength{\cftlofnumwidth}{1em}
%%\addtolength{\cftlofnumwidth}{2em}
%\addtolength{\cftsubsecnumwidth}{0.3em}
\addtolength{\cftsubsecnumwidth}{0.5em}
%\addtolength{\cftsecnumwidth}{0.3em}
\addtolength{\cftsecnumwidth}{0.5em}
%\addtolength{\cftchapnumwidth}{1em}
\addtolength{\cftchapnumwidth}{2em}
\addtolength{\cftfignumwidth}{1em}


you might need to increase the numbers

 
 I have been reading online about changing Latex codes but I don't know
 how to do this.
 
 Is there an easy way to get round this problem?
 
 If not, could you advise me how to change the code for dummys!
 
 Thanks in advance
 
 LJ


-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: list of figures and table overlapping with title

2013-08-26 Thread Wolfgang Engelmann
Am Saturday, 24. August 2013, 21:39:40 schrieb luke jones:
> Hi guys
> 
> I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use
> Latex, but I have been very happy with Lyx.
> 
> When I generate the PDF output, in the list of figures and tables when I
> get to
> 
> 5.5.10
> 5.5.11
> 
> then the 0 overlaps with the first letter of the title of the table or
> figure.
had the same problem once. See

http://comments.gmane.org/gmane.editors.lyx.general/78633
for the solution, which says

add in the preamble some of this:


%more space between figurenumber and text in toc
\usepackage{tocloft}
%\addtolength{\cftlotnumwidth}{1em}
%%\addtolength{\cftlotnumwidth}{2em}
%\addtolength{\cftlofnumwidth}{1em}
%%\addtolength{\cftlofnumwidth}{2em}
%\addtolength{\cftsubsecnumwidth}{0.3em}
\addtolength{\cftsubsecnumwidth}{0.5em}
%\addtolength{\cftsecnumwidth}{0.3em}
\addtolength{\cftsecnumwidth}{0.5em}
%\addtolength{\cftchapnumwidth}{1em}
\addtolength{\cftchapnumwidth}{2em}
\addtolength{\cftfignumwidth}{1em}


you might need to increase the numbers

> 
> I have been reading online about changing Latex codes but I don't know
> how to do this.
> 
> Is there an easy way to get round this problem?
> 
> If not, could you advise me how to change the code "for dummys"!
> 
> Thanks in advance
> 
> LJ


-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


list of figures and table overlapping with title

2013-08-24 Thread luke jones
Hi guys

I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use Latex, 
but I have been very happy with Lyx.

When I generate the PDF output, in the list of figures and tables when I get 
to 

5.5.10
5.5.11

then the 0 overlaps with the first letter of the title of the table or figure.

I have been reading online about changing Latex codes but I don't know how to 
do this.

Is there an easy way to get round this problem?

If not, could you advise me how to change the code for dummys!

Thanks in advance

LJ





list of figures and table overlapping with title

2013-08-24 Thread luke jones
Hi guys

I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use Latex, 
but I have been very happy with Lyx.

When I generate the PDF output, in the list of figures and tables when I get 
to 

5.5.10
5.5.11

then the 0 overlaps with the first letter of the title of the table or figure.

I have been reading online about changing Latex codes but I don't know how to 
do this.

Is there an easy way to get round this problem?

If not, could you advise me how to change the code for dummys!

Thanks in advance

LJ





list of figures and table overlapping with title

2013-08-24 Thread luke jones
Hi guys

I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use Latex, 
but I have been very happy with Lyx.

When I generate the PDF output, in the list of figures and tables when I get 
to 

5.5.10
5.5.11

then the 0 overlaps with the first letter of the title of the table or figure.

I have been reading online about changing Latex codes but I don't know how to 
do this.

Is there an easy way to get round this problem?

If not, could you advise me how to change the code "for dummys"!

Thanks in advance

LJ





Re: changing fixed names 'Contents', 'List of Figures', etc. Maybe solved

2012-05-29 Thread Guenter Milde
On 2012-05-29, Steve Litt wrote:
 On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:

 I cannot change the default strings 'Contents', 'List of Figures',
 etc. that are generated as titles of these sections.  I have tried
 putting in the preamble commands of the type:

 \renewcommand{\contentsname}{Table of Contents}

 But nothing works.  I am typing in English without the babel package.

Are you sure you do not use the babel packge? LyX uses it by default. 
What does the ViewSource window show when you tick the show complete
source box? (You can also export your example to LaTeX and play with
it.)

I am asking, because the minimal LaTeX example

  \documentclass[english]{article}
  % \usepackage{babel}
  
  \renewcommand{\contentsname}{Table of Contents} 
  
  \begin{document}
  
  \tableofcontents
  \section{test the best}
  
  \end{document}

works as you expect (showing Table of Contents as contents heading in
the output).

 I reproduced your symptom in an article based document, putting
 \renewcommand{\contentsname}{Table of Contents} in the document
 preamble, as you would expect it should be. Like you, my document
 continued to print the table of contents title as Contents. So then I
 exported to LaTeX, fooled around with it, and discovered it works only
 if \renewcommand{\contentsname}{Table of Contents} is in the document
 itself, not the document header.

The usual trick in these cases is \AtBeginDocument. Indeed, replacing
renaming \renewcommand{\contentsname}{Table of Contents} with:

 \AtBeginDocument{\renewcommand{\contentsname}{Table of Contents}}

works also with babel as expected.

 So I went back into LyX, removed \renewcommand{\contentsname}{Table of
 Contents} from the document preamble, and put it in an ERT before the
 Table of Contents, and it did the right thing.

No need for ERT with \AtBeginDocument.

Günter



Re: changing fixed names 'Contents', 'List of Figures', etc. Maybe solved

2012-05-29 Thread Guenter Milde
On 2012-05-29, Steve Litt wrote:
 On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:

 I cannot change the default strings 'Contents', 'List of Figures',
 etc. that are generated as titles of these sections.  I have tried
 putting in the preamble commands of the type:

 \renewcommand{\contentsname}{Table of Contents}

 But nothing works.  I am typing in English without the babel package.

Are you sure you do not use the babel packge? LyX uses it by default. 
What does the ViewSource window show when you tick the show complete
source box? (You can also export your example to LaTeX and play with
it.)

I am asking, because the minimal LaTeX example

  \documentclass[english]{article}
  % \usepackage{babel}
  
  \renewcommand{\contentsname}{Table of Contents} 
  
  \begin{document}
  
  \tableofcontents
  \section{test the best}
  
  \end{document}

works as you expect (showing Table of Contents as contents heading in
the output).

 I reproduced your symptom in an article based document, putting
 \renewcommand{\contentsname}{Table of Contents} in the document
 preamble, as you would expect it should be. Like you, my document
 continued to print the table of contents title as Contents. So then I
 exported to LaTeX, fooled around with it, and discovered it works only
 if \renewcommand{\contentsname}{Table of Contents} is in the document
 itself, not the document header.

The usual trick in these cases is \AtBeginDocument. Indeed, replacing
renaming \renewcommand{\contentsname}{Table of Contents} with:

 \AtBeginDocument{\renewcommand{\contentsname}{Table of Contents}}

works also with babel as expected.

 So I went back into LyX, removed \renewcommand{\contentsname}{Table of
 Contents} from the document preamble, and put it in an ERT before the
 Table of Contents, and it did the right thing.

No need for ERT with \AtBeginDocument.

Günter



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-29 Thread Guenter Milde
On 2012-05-29, Steve Litt wrote:
> On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:

>> I cannot change the default strings 'Contents', 'List of Figures',
>> etc. that are generated as titles of these sections.  I have tried
>> putting in the preamble commands of the type:

>> \renewcommand{\contentsname}{Table of Contents}

>> But nothing works.  I am typing in English without the babel package.

Are you sure you do not use the babel packge? LyX uses it by default. 
What does the View>Source window show when you tick the "show complete
source" box? (You can also export your example to LaTeX and play with
it.)

I am asking, because the minimal LaTeX example

  \documentclass[english]{article}
  % \usepackage{babel}
  
  \renewcommand{\contentsname}{Table of Contents} 
  
  \begin{document}
  
  \tableofcontents
  \section{test the best}
  
  \end{document}

works as you expect (showing "Table of Contents" as contents heading in
the output).

> I reproduced your symptom in an article based document, putting
> \renewcommand{\contentsname}{Table of Contents} in the document
> preamble, as you would expect it should be. Like you, my document
> continued to print the table of contents title as "Contents". So then I
> exported to LaTeX, fooled around with it, and discovered it works only
> if \renewcommand{\contentsname}{Table of Contents} is in the document
> itself, not the document header.

The usual trick in these cases is \AtBeginDocument. Indeed, replacing
renaming \renewcommand{\contentsname}{Table of Contents} with:

 \AtBeginDocument{\renewcommand{\contentsname}{Table of Contents}}

works also with babel as expected.

> So I went back into LyX, removed \renewcommand{\contentsname}{Table of
> Contents} from the document preamble, and put it in an ERT before the
> Table of Contents, and it did the right thing.

No need for ERT with \AtBeginDocument.

Günter



changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 04:35 PM, ddiedrichs wrote:

I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.


What's the document class?

rh



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
it's an article






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
 it's an article

Context???


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
Steve Litt slitt at troubleshooters.com writes:

 
 On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
  it's an article
 
 Context???
 
 
I cannot change the default strings 'Contents', 'List of Figures', etc. that 
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.






Re: changing fixed names 'Contents', 'List of Figures', etc. Maybe solved

2012-05-28 Thread Steve Litt
On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:
 Steve Litt slitt at troubleshooters.com writes:
 
  
  On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
   it's an article
  
  Context???
  
  
 I cannot change the default strings 'Contents', 'List of Figures',
 etc. that are generated as titles of these sections.  I have tried
 putting in the preamble commands of the type:
 
 \renewcommand{\contentsname}{Table of Contents}
 
 But nothing works.  I am typing in English without the babel package.


Hi ddiedrichs,

I reproduced your symptom in an article based document, putting
\renewcommand{\contentsname}{Table of Contents} in the document
preamble, as you would expect it should be. Like you, my document
continued to print the table of contents title as Contents. So then I
exported to LaTeX, fooled around with it, and discovered it works only
if \renewcommand{\contentsname}{Table of Contents} is in the document
itself, not the document header.

So I went back into LyX, removed \renewcommand{\contentsname}{Table of
Contents} from the document preamble, and put it in an ERT before the
Table of Contents, and it did the right thing.

I'm attaching a 1.8K example LyX file that properly changes the
contents name.

If this solves your problem, please reply and mark the subject as
SOLVED so others who follow you know what to do. I found this to be
very surprising behavior.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



test.lyx
Description: application/lyx


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 08:03 PM, ddiedrichs wrote:

Steve Littslittat  troubleshooters.com  writes:


On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:

it's an article

Context???



I cannot change the default strings 'Contents', 'List of Figures', etc. that
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.

The problem is likely that babel IS being loaded by LyX. I see the same 
problem, unless I disable the language package under Document Settings 
Language.


I'm not sure why we load babel after the user preamble. This seems 
wrong, for this reason.


Richard



changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 04:35 PM, ddiedrichs wrote:

I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.


What's the document class?

rh



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
it's an article






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
 it's an article

Context???


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
Steve Litt slitt at troubleshooters.com writes:

 
 On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
  it's an article
 
 Context???
 
 
I cannot change the default strings 'Contents', 'List of Figures', etc. that 
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.






Re: changing fixed names 'Contents', 'List of Figures', etc. Maybe solved

2012-05-28 Thread Steve Litt
On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:
 Steve Litt slitt at troubleshooters.com writes:
 
  
  On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
   it's an article
  
  Context???
  
  
 I cannot change the default strings 'Contents', 'List of Figures',
 etc. that are generated as titles of these sections.  I have tried
 putting in the preamble commands of the type:
 
 \renewcommand{\contentsname}{Table of Contents}
 
 But nothing works.  I am typing in English without the babel package.


Hi ddiedrichs,

I reproduced your symptom in an article based document, putting
\renewcommand{\contentsname}{Table of Contents} in the document
preamble, as you would expect it should be. Like you, my document
continued to print the table of contents title as Contents. So then I
exported to LaTeX, fooled around with it, and discovered it works only
if \renewcommand{\contentsname}{Table of Contents} is in the document
itself, not the document header.

So I went back into LyX, removed \renewcommand{\contentsname}{Table of
Contents} from the document preamble, and put it in an ERT before the
Table of Contents, and it did the right thing.

I'm attaching a 1.8K example LyX file that properly changes the
contents name.

If this solves your problem, please reply and mark the subject as
SOLVED so others who follow you know what to do. I found this to be
very surprising behavior.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



test.lyx
Description: application/lyx


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 08:03 PM, ddiedrichs wrote:

Steve Littslittat  troubleshooters.com  writes:


On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:

it's an article

Context???



I cannot change the default strings 'Contents', 'List of Figures', etc. that
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.

The problem is likely that babel IS being loaded by LyX. I see the same 
problem, unless I disable the language package under Document Settings 
Language.


I'm not sure why we load babel after the user preamble. This seems 
wrong, for this reason.


Richard



changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 04:35 PM, ddiedrichs wrote:

I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.


What's the document class?

rh



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
it's an article






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
> it's an article

Context???


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
Steve Litt  troubleshooters.com> writes:

> 
> On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
> > it's an article
> 
> Context???
> 
> 
I cannot change the default strings 'Contents', 'List of Figures', etc. that 
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:
> Steve Litt  troubleshooters.com> writes:
> 
> > 
> > On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
> > > it's an article
> > 
> > Context???
> > 
> > 
> I cannot change the default strings 'Contents', 'List of Figures',
> etc. that are generated as titles of these sections.  I have tried
> putting in the preamble commands of the type:
> 
> \renewcommand{\contentsname}{Table of Contents}
> 
> But nothing works.  I am typing in English without the babel package.


Hi ddiedrichs,

I reproduced your symptom in an article based document, putting
\renewcommand{\contentsname}{Table of Contents} in the document
preamble, as you would expect it should be. Like you, my document
continued to print the table of contents title as "Contents". So then I
exported to LaTeX, fooled around with it, and discovered it works only
if \renewcommand{\contentsname}{Table of Contents} is in the document
itself, not the document header.

So I went back into LyX, removed \renewcommand{\contentsname}{Table of
Contents} from the document preamble, and put it in an ERT before the
Table of Contents, and it did the right thing.

I'm attaching a 1.8K example LyX file that properly changes the
contents name.

If this solves your problem, please reply and mark the subject as
 so others who follow you know what to do. I found this to be
very surprising behavior.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



test.lyx
Description: application/lyx


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 08:03 PM, ddiedrichs wrote:

Steve Litt<slitt  troubleshooters.com>  writes:


On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:

it's an article

Context???



I cannot change the default strings 'Contents', 'List of Figures', etc. that
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.

The problem is likely that babel IS being loaded by LyX. I see the same 
problem, unless I disable the language package under Document> Settings> 
Language.


I'm not sure why we load babel after the user preamble. This seems 
wrong, for this reason.


Richard



Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

  I don't see an entry in TLC2 for this, but think that I faced this problem
in the past and solved it somehow. But, I can't find a document with the
solution so I ask you folks for a clue stick.

  The numbers and captions in the List of Figures and List of Tables have no
spaces between them and the caption text. I have a space between the label
and text in each caption but that does not seem to be sufficient. It must be
something simple that I'm missing but I am not seeing it.

Rich


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Rich Shepard wrote:


 The numbers and captions in the List of Figures and List of Tables have no
spaces between them and the caption text.


  See attached .pdf files.

Rich

figure-list.pdf
Description: Adobe PDF document


table-list.pdf
Description: Adobe PDF document


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Liviu Andronic
On Tue, Nov 8, 2011 at 9:51 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Tue, 8 Nov 2011, Rich Shepard wrote:

  The numbers and captions in the List of Figures and List of Tables have
 no
 spaces between them and the caption text.

  See attached .pdf files.

I don't know what's wrong, though I'm wondering whether it has
anything to do with their spanning over two lines. Two suggestions:
- see if 'tocloft' can do anything for you
- this would be an ugly hack, but you could always add a couple of
protected spaces (ctrl+space in LyX or ~ in LaTeX) in front of your
captions.

Regards
Liviu


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Liviu Andronic wrote:


I don't know what's wrong, though I'm wondering whether it has
anything to do with their spanning over two lines.


Liviu,

  I don't know how being multilined can affect the spacing between the
numbers and the first letter of the top line for each one. Something changed
and apparently had unintended consequences with figure and table listings.


Two suggestions:
- see if 'tocloft' can do anything for you


  It should. However, ... I need a pointer to installing it:

[root@salmo ~]# tlmgr install tocloft
/usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No
such file or directory at /usr/share/tlpkg/TeXLive/TLPDB.pm line 327.

  I have texlive-20110705 installed here.

Thanks,

Rich



Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Liviu Andronic
On Tue, Nov 8, 2011 at 10:25 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
 - see if 'tocloft' can do anything for you

  It should. However, ... I need a pointer to installing it:

 [root@salmo ~]# tlmgr install tocloft
 /usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No
 such file or directory at /usr/share/tlpkg/TeXLive/TLPDB.pm line 327.

  I have texlive-20110705 installed here.

It seems to be be part of TL [1]. If installing via tlmgr doesn't work
then try doing it manually as suggested in Help  Customization  5.1

Regards
Liviu

[1] http://ctan.org/pkg/tocloft


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Liviu Andronic wrote:


It seems to be be part of TL.


  It's suppoed to be, but perhaps the Slackware packager didn't specify
including the entire scheme.


then try doing it manually


  I always manually installed LaTeX packages when runing tetex. I did so now
with tocloft, but reading the doc told me it would take me a while to figure
out just how to use it properly. So, in the interest of saving time I just
added two protected spaces before each table and figure caption and that did
the trick.

  Perhaps some day I'll have the time to learn tocloft.

Thanks, Liviu,

Rich


Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

  I don't see an entry in TLC2 for this, but think that I faced this problem
in the past and solved it somehow. But, I can't find a document with the
solution so I ask you folks for a clue stick.

  The numbers and captions in the List of Figures and List of Tables have no
spaces between them and the caption text. I have a space between the label
and text in each caption but that does not seem to be sufficient. It must be
something simple that I'm missing but I am not seeing it.

Rich


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Rich Shepard wrote:


 The numbers and captions in the List of Figures and List of Tables have no
spaces between them and the caption text.


  See attached .pdf files.

Rich

figure-list.pdf
Description: Adobe PDF document


table-list.pdf
Description: Adobe PDF document


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Liviu Andronic
On Tue, Nov 8, 2011 at 9:51 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Tue, 8 Nov 2011, Rich Shepard wrote:

  The numbers and captions in the List of Figures and List of Tables have
 no
 spaces between them and the caption text.

  See attached .pdf files.

I don't know what's wrong, though I'm wondering whether it has
anything to do with their spanning over two lines. Two suggestions:
- see if 'tocloft' can do anything for you
- this would be an ugly hack, but you could always add a couple of
protected spaces (ctrl+space in LyX or ~ in LaTeX) in front of your
captions.

Regards
Liviu


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Liviu Andronic wrote:


I don't know what's wrong, though I'm wondering whether it has
anything to do with their spanning over two lines.


Liviu,

  I don't know how being multilined can affect the spacing between the
numbers and the first letter of the top line for each one. Something changed
and apparently had unintended consequences with figure and table listings.


Two suggestions:
- see if 'tocloft' can do anything for you


  It should. However, ... I need a pointer to installing it:

[root@salmo ~]# tlmgr install tocloft
/usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No
such file or directory at /usr/share/tlpkg/TeXLive/TLPDB.pm line 327.

  I have texlive-20110705 installed here.

Thanks,

Rich



Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Liviu Andronic
On Tue, Nov 8, 2011 at 10:25 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
 - see if 'tocloft' can do anything for you

  It should. However, ... I need a pointer to installing it:

 [root@salmo ~]# tlmgr install tocloft
 /usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No
 such file or directory at /usr/share/tlpkg/TeXLive/TLPDB.pm line 327.

  I have texlive-20110705 installed here.

It seems to be be part of TL [1]. If installing via tlmgr doesn't work
then try doing it manually as suggested in Help  Customization  5.1

Regards
Liviu

[1] http://ctan.org/pkg/tocloft


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Liviu Andronic wrote:


It seems to be be part of TL.


  It's suppoed to be, but perhaps the Slackware packager didn't specify
including the entire scheme.


then try doing it manually


  I always manually installed LaTeX packages when runing tetex. I did so now
with tocloft, but reading the doc told me it would take me a while to figure
out just how to use it properly. So, in the interest of saving time I just
added two protected spaces before each table and figure caption and that did
the trick.

  Perhaps some day I'll have the time to learn tocloft.

Thanks, Liviu,

Rich


Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

  I don't see an entry in TLC2 for this, but think that I faced this problem
in the past and solved it somehow. But, I can't find a document with the
solution so I ask you folks for a clue stick.

  The numbers and captions in the List of Figures and List of Tables have no
spaces between them and the caption text. I have a space between the label
and text in each caption but that does not seem to be sufficient. It must be
something simple that I'm missing but I am not seeing it.

Rich


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Rich Shepard wrote:


 The numbers and captions in the List of Figures and List of Tables have no
spaces between them and the caption text.


  See attached .pdf files.

Rich

figure-list.pdf
Description: Adobe PDF document


table-list.pdf
Description: Adobe PDF document


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Liviu Andronic
On Tue, Nov 8, 2011 at 9:51 PM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> On Tue, 8 Nov 2011, Rich Shepard wrote:
>
>>  The numbers and captions in the List of Figures and List of Tables have
>> no
>> spaces between them and the caption text.
>
>  See attached .pdf files.
>
I don't know what's wrong, though I'm wondering whether it has
anything to do with their spanning over two lines. Two suggestions:
- see if 'tocloft' can do anything for you
- this would be an ugly hack, but you could always add a couple of
protected spaces (ctrl+space in LyX or ~ in LaTeX) in front of your
captions.

Regards
Liviu


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Liviu Andronic wrote:


I don't know what's wrong, though I'm wondering whether it has
anything to do with their spanning over two lines.


Liviu,

  I don't know how being multilined can affect the spacing between the
numbers and the first letter of the top line for each one. Something changed
and apparently had unintended consequences with figure and table listings.


Two suggestions:
- see if 'tocloft' can do anything for you


  It should. However, ... I need a pointer to installing it:

[root@salmo ~]# tlmgr install tocloft
/usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No
such file or directory at /usr/share/tlpkg/TeXLive/TLPDB.pm line 327.

  I have texlive-20110705 installed here.

Thanks,

Rich



Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Liviu Andronic
On Tue, Nov 8, 2011 at 10:25 PM, Rich Shepard  wrote:
>> - see if 'tocloft' can do anything for you
>
>  It should. However, ... I need a pointer to installing it:
>
> [root@salmo ~]# tlmgr install tocloft
> /usr/share/texmf/bin/tlmgr: open(/usr/share/tlpkg/texlive.tlpdb) failed: No
> such file or directory at /usr/share/tlpkg/TeXLive/TLPDB.pm line 327.
>
>  I have texlive-20110705 installed here.
>
It seems to be be part of TL [1]. If installing via tlmgr doesn't work
then try doing it manually as suggested in Help > Customization > 5.1

Regards
Liviu

[1] http://ctan.org/pkg/tocloft


Re: Spacing Within List of Figures and List of Tables

2011-11-08 Thread Rich Shepard

On Tue, 8 Nov 2011, Liviu Andronic wrote:


It seems to be be part of TL.


  It's suppoed to be, but perhaps the Slackware packager didn't specify
including the entire scheme.


then try doing it manually


  I always manually installed LaTeX packages when runing tetex. I did so now
with tocloft, but reading the doc told me it would take me a while to figure
out just how to use it properly. So, in the interest of saving time I just
added two protected spaces before each table and figure caption and that did
the trick.

  Perhaps some day I'll have the time to learn tocloft.

Thanks, Liviu,

Rich


Re: classicthesis spacing in list of figures

2011-10-13 Thread PhilipPirrip

On 10/11/2011 06:08 AM, PhilipPirrip wrote:

Abbildung 1.10text -  is the second number two-digit, no space
between number and text
how can i change this?


You might be interested:
http://code.google.com/p/classicthesis/issues/detail?id=35



Re: classicthesis spacing in list of figures

2011-10-13 Thread PhilipPirrip

On 10/11/2011 06:08 AM, PhilipPirrip wrote:

Abbildung 1.10text -  is the second number two-digit, no space
between number and text
how can i change this?


You might be interested:
http://code.google.com/p/classicthesis/issues/detail?id=35



Re: classicthesis spacing in list of figures

2011-10-13 Thread PhilipPirrip

On 10/11/2011 06:08 AM, PhilipPirrip wrote:

"Abbildung 1.10text" ->  is the second number two-digit, no space
between number and text
how can i change this?


You might be interested:
http://code.google.com/p/classicthesis/issues/detail?id=35



classicthesis spacing in list of figures

2011-10-10 Thread Thomas Hesse
Hello.

After i change the language from englisch in german, the spacing in list of 
figure/Abbildungsverzeichnis is not enough.
example:
Figure 1.1 text   -ok
Abbildung 1.1 text-only one space, but ok
Abbildung 1.10text- is the second number two-digit, no space between 
number and text

how can i change this?
p.s. how can i change in classicthesis the footnote? currently there is the 
date.

many thx!

Re: classicthesis spacing in list of figures

2011-10-10 Thread PhilipPirrip

On 10/10/2011 02:08 PM, Thomas Hesse wrote:

After i change the language from englisch in german, the spacing in list of 
figure/Abbildungsverzeichnis is not enough.
example:

...

Abbildung 1.10text  -  is the second number two-digit, no space between 
number and text
how can i change this?


http://www.latex-community.org/forum/viewtopic.php?f=5t=817 and 
searching through classicthesis.sty might help, for now at least.





p.s. how can i change in classicthesis the footnote? currently there is the 
date.



It's not even a footnote, in a sense that the text points to it. If you 
want to remove it, read the manual, there's an option to classicthesis.sty.
If you want to change it to something else, you'll have to change 
classicthesis.sty, or to override (or copy) the responsible command in 
the preamble.



Btw, I think that http://code.google.com/p/classicthesis/ should be more 
appropriate place for questions of such a kind.




classicthesis spacing in list of figures

2011-10-10 Thread Thomas Hesse
Hello.

After i change the language from englisch in german, the spacing in list of 
figure/Abbildungsverzeichnis is not enough.
example:
Figure 1.1 text   -ok
Abbildung 1.1 text-only one space, but ok
Abbildung 1.10text- is the second number two-digit, no space between 
number and text

how can i change this?
p.s. how can i change in classicthesis the footnote? currently there is the 
date.

many thx!

Re: classicthesis spacing in list of figures

2011-10-10 Thread PhilipPirrip

On 10/10/2011 02:08 PM, Thomas Hesse wrote:

After i change the language from englisch in german, the spacing in list of 
figure/Abbildungsverzeichnis is not enough.
example:

...

Abbildung 1.10text  -  is the second number two-digit, no space between 
number and text
how can i change this?


http://www.latex-community.org/forum/viewtopic.php?f=5t=817 and 
searching through classicthesis.sty might help, for now at least.





p.s. how can i change in classicthesis the footnote? currently there is the 
date.



It's not even a footnote, in a sense that the text points to it. If you 
want to remove it, read the manual, there's an option to classicthesis.sty.
If you want to change it to something else, you'll have to change 
classicthesis.sty, or to override (or copy) the responsible command in 
the preamble.



Btw, I think that http://code.google.com/p/classicthesis/ should be more 
appropriate place for questions of such a kind.




classicthesis spacing in list of figures

2011-10-10 Thread Thomas Hesse
Hello.

After i change the language from englisch in german, the spacing in list of 
figure/Abbildungsverzeichnis is not enough.
example:
"Figure 1.1 text"   ->ok
"Abbildung 1.1 text"->only one space, but ok
"Abbildung 1.10text"-> is the second number two-digit, no space between 
number and text

how can i change this?
p.s. how can i change in classicthesis the footnote? currently there is the 
date.

many thx!

Re: classicthesis spacing in list of figures

2011-10-10 Thread PhilipPirrip

On 10/10/2011 02:08 PM, Thomas Hesse wrote:

After i change the language from englisch in german, the spacing in list of 
figure/Abbildungsverzeichnis is not enough.
example:

...

"Abbildung 1.10text"  ->  is the second number two-digit, no space between 
number and text
how can i change this?


http://www.latex-community.org/forum/viewtopic.php?f=5=817 and 
searching through classicthesis.sty might help, for now at least.





p.s. how can i change in classicthesis the footnote? currently there is the 
date.



It's not even a footnote, in a sense that the text points to it. If you 
want to remove it, read the manual, there's an option to classicthesis.sty.
If you want to change it to something else, you'll have to change 
classicthesis.sty, or to override (or copy) the responsible command in 
the preamble.



Btw, I think that http://code.google.com/p/classicthesis/ should be more 
appropriate place for questions of such a kind.




Re: list of figures

2011-05-26 Thread Richard Heck
On 05/26/2011 10:44 AM, Doc Doc wrote:

 Hi,
 I use the University of new south wales layout for my document
 when I create the PDF file, I have a little problem with the list of
 figures. the first letter of the caption appears above the number of
 the figure. Is thèse any way to avoid that?

 I tried to use
 \usepackage{tocloft}
 \setlength{\cftfignumwidth}{3em}
 with tocloft.sty installed but when I insert it in the preamble of the
 document, it generates many errors

 is there any way to solve this problem?

Can you please post a short example file? You may also need to include
the layout and the cls file, since most of us will not have them.

Richard



RE: list of figures

2011-05-26 Thread Doc Doc

Hi
Thank you for your answer
the layout and the example file are in 
http://www.thesis-template.com/archives/58

Raùf







Date: Thu, 26 May 2011 12:24:59 -0400
From: rgh...@comcast.net
To: raouf_tem...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: list of figures



  



  
  
On 05/26/2011 10:44 AM, Doc Doc wrote:

  
  

  Hi,

  I use the University of new south wales layout for my document

  when I create the PDF file, I have a little problem with the list
  of figures. the first letter of the caption appears above the
  number of the figure. Is thèse any way to avoid that?

  

  I tried to use 

  \usepackage{tocloft}

  \setlength{\cftfignumwidth}{3em}

  with tocloft.sty installed but when I insert it in the preamble of
  the document, it generates many errors

  

  is there any way to solve this problem?

  


Can you please post a short example file? You may also need to
include the layout and the cls file, since most of us will not have
them.



Richard


  

Re: list of figures

2011-05-26 Thread Julien Rioux

On 26/05/2011 10:44 AM, Doc Doc wrote:



Hi,

I use the University of new south wales layout for my document

when I create the PDF file, I have a little problem with the list of
figures. the first letter of the caption appears above the number of the
  figure. Is thèse any way to avoid that?

I tried to use
\usepackage{tocloft}

\setlength{\cftfignumwidth}{3em}
with tocloft.sty installed but when I insert it in the preamble of the 
document, it generates many errors

is there any way to solve this problem?

thank you







This is pretty obscure black magic but it works. Put this in your preamble

\renewcommand*{\numberline}[1]{\hb@xt@2em{#1\hfil}}

and adjust the length (2em) as necessary.

See
http://tex.stackexchange.com/questions/11569/customize-spacing-between-section-number-and-its-caption

--
Julien


Re: list of figures

2011-05-26 Thread Richard Heck
On 05/26/2011 10:44 AM, Doc Doc wrote:

 Hi,
 I use the University of new south wales layout for my document
 when I create the PDF file, I have a little problem with the list of
 figures. the first letter of the caption appears above the number of
 the figure. Is thèse any way to avoid that?

 I tried to use
 \usepackage{tocloft}
 \setlength{\cftfignumwidth}{3em}
 with tocloft.sty installed but when I insert it in the preamble of the
 document, it generates many errors

 is there any way to solve this problem?

Can you please post a short example file? You may also need to include
the layout and the cls file, since most of us will not have them.

Richard



RE: list of figures

2011-05-26 Thread Doc Doc

Hi
Thank you for your answer
the layout and the example file are in 
http://www.thesis-template.com/archives/58

Raùf







Date: Thu, 26 May 2011 12:24:59 -0400
From: rgh...@comcast.net
To: raouf_tem...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: list of figures



  



  
  
On 05/26/2011 10:44 AM, Doc Doc wrote:

  
  

  Hi,

  I use the University of new south wales layout for my document

  when I create the PDF file, I have a little problem with the list
  of figures. the first letter of the caption appears above the
  number of the figure. Is thèse any way to avoid that?

  

  I tried to use 

  \usepackage{tocloft}

  \setlength{\cftfignumwidth}{3em}

  with tocloft.sty installed but when I insert it in the preamble of
  the document, it generates many errors

  

  is there any way to solve this problem?

  


Can you please post a short example file? You may also need to
include the layout and the cls file, since most of us will not have
them.



Richard


  

Re: list of figures

2011-05-26 Thread Julien Rioux

On 26/05/2011 10:44 AM, Doc Doc wrote:



Hi,

I use the University of new south wales layout for my document

when I create the PDF file, I have a little problem with the list of
figures. the first letter of the caption appears above the number of the
  figure. Is thèse any way to avoid that?

I tried to use
\usepackage{tocloft}

\setlength{\cftfignumwidth}{3em}
with tocloft.sty installed but when I insert it in the preamble of the 
document, it generates many errors

is there any way to solve this problem?

thank you







This is pretty obscure black magic but it works. Put this in your preamble

\renewcommand*{\numberline}[1]{\hb@xt@2em{#1\hfil}}

and adjust the length (2em) as necessary.

See
http://tex.stackexchange.com/questions/11569/customize-spacing-between-section-number-and-its-caption

--
Julien


Re: list of figures

2011-05-26 Thread Richard Heck
On 05/26/2011 10:44 AM, Doc Doc wrote:
>
> Hi,
> I use the University of new south wales layout for my document
> when I create the PDF file, I have a little problem with the list of
> figures. the first letter of the caption appears above the number of
> the figure. Is thèse any way to avoid that?
>
> I tried to use
> \usepackage{tocloft}
> \setlength{\cftfignumwidth}{3em}
> with tocloft.sty installed but when I insert it in the preamble of the
> document, it generates many errors
>
> is there any way to solve this problem?
>
Can you please post a short example file? You may also need to include
the layout and the cls file, since most of us will not have them.

Richard



RE: list of figures

2011-05-26 Thread Doc Doc

Hi
Thank you for your answer
the layout and the example file are in 
http://www.thesis-template.com/archives/58

Raùf







Date: Thu, 26 May 2011 12:24:59 -0400
From: rgh...@comcast.net
To: raouf_tem...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: list of figures



  



  
  
On 05/26/2011 10:44 AM, Doc Doc wrote:

  
  

  Hi,

  I use the University of new south wales layout for my document

  when I create the PDF file, I have a little problem with the list
  of figures. the first letter of the caption appears above the
  number of the figure. Is thèse any way to avoid that?

  

  I tried to use 

  \usepackage{tocloft}

  \setlength{\cftfignumwidth}{3em}

  with tocloft.sty installed but when I insert it in the preamble of
  the document, it generates many errors

  

  is there any way to solve this problem?

  


Can you please post a short example file? You may also need to
include the layout and the cls file, since most of us will not have
them.



Richard


  

Re: list of figures

2011-05-26 Thread Julien Rioux

On 26/05/2011 10:44 AM, Doc Doc wrote:



Hi,

I use the University of new south wales layout for my document

when I create the PDF file, I have a little problem with the list of
figures. the first letter of the caption appears above the number of the
  figure. Is thèse any way to avoid that?

I tried to use
\usepackage{tocloft}

\setlength{\cftfignumwidth}{3em}
with tocloft.sty installed but when I insert it in the preamble of the 
document, it generates many errors

is there any way to solve this problem?

thank you







This is pretty obscure black magic but it works. Put this in your preamble

\renewcommand*{\numberline}[1]{\hb@xt@2em{#1\hfil}}

and adjust the length (2em) as necessary.

See
http://tex.stackexchange.com/questions/11569/customize-spacing-between-section-number-and-its-caption

--
Julien


Re: Figure numbers and the figure captions overlap in list of figures

2011-02-28 Thread Shivaramaiah, Nagaraj
Hi,

I found the solution...

tocloft doesn't work properly with some of the classes...

I used titletoc instead.. .

\usepackage{titletoc}

\dottedcontents{figure}[4.5em]{}{3em}{0.75em}

\dottedcontents{table}[4.5em]{}{3em}{0.75em}

it worked fine..

Nagaraj


Re: Figure numbers and the figure captions overlap in list of figures

2011-02-28 Thread Shivaramaiah, Nagaraj
Hi,

I found the solution...

tocloft doesn't work properly with some of the classes...

I used titletoc instead.. .

\usepackage{titletoc}

\dottedcontents{figure}[4.5em]{}{3em}{0.75em}

\dottedcontents{table}[4.5em]{}{3em}{0.75em}

it worked fine..

Nagaraj


  1   2   3   4   5   >