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