Hi Bob,

Thank you very much for your help.  Sorry to bug everyone with these
questions.  I only have a few more weeks to finish my thesis and I am
determined to use Lyx to get it done :).  Not being a Lyx/Latex expert, the
help I'm getting from this user group is invaluable.  If I can get all these
issues fixed, I am will turn over a "golden" Lyx template to the university
so lots of other students can benefit.

I have another TOC question.  For some reason, the words 'Abstract', 'List
of Tables' and 'List of Figures' are not in all-caps in the TOC.  Is there a
way to force them to be in caps?  All the other first level titles are in
caps as required.  I looked at the Lyx TOC setup and it only lets me choose
the depth being displayed not the formatting.  Thank you again.

Adrian


On Fri, May 30, 2008 at 9:01 PM, Bob Lounsbury <[EMAIL PROTECTED]>
wrote:

> On Fri, May 30, 2008 at 6:33 PM, Bob Lounsbury <[EMAIL PROTECTED]>
> wrote:
> > On Fri, May 30, 2008 at 3:36 PM, Adrian Peter <[EMAIL PROTECTED]>
> wrote:
> >> Hi,
> >>
> >> I need to add the word 'CHAPTER' the TOC of my thesis.  It should come
> after
> >> List of Tables, List of Figures and the Abstract listing before all my
> >> chapters.  I add the following line ERT after including the TOC, List of
> >> Tables, and List of Figures in Lyx:
> >>
> >>
> \addtocontents{toc}{\protect\addvspace{10pt}\noindent{CHAPTER\par}\protect\hfill\par}{}
> >>
> >> After this I have my Abstract.  The TOC now looks like this:
> >>
> >> List of Tables ...............xx
> >> List of Figures...............xx
> >> CHAPTER
> >> Abstract.......................xx
> >> 1 Chapter 1 Title ..........xx
> >>
> >> However I want the word 'CHAPTER' to come after the 'Abstract' entry.
>  How
> >> can I force this to occur?  I have tried to put the ERT line after the
> >> Abstract but this moves the word CHAPTER after my first chapter title.
> >> Thank you.
> >>
> >> Adrian
> >>
> >
> > Try:
> >
> > \addcontentsline{toc}{chapter}{CHAPTER}
> >
> > after the abstract.
> >
> > Cheers,
> > /Bob
> >
>
> I just realized that you probably didn't want the CHAPTER item to be
> numbered. One way to fix that is to use the tocloft package. In the
> Preamble insert:
>
> \usepackage{tocloft}
>
> Then edit the \addcontentsline to read:
>
> \addtocontents{toc}{\cftpagenumbersoff{chapter}}
> \addcontentsline{toc}{chapter}{CHAPTER}
> \addtocontents{toc}{\cftpagenumberson{chapter}}
>
> Cheers,
> /Bob
>

Reply via email to