>>Date: Wed, 18 Sep 2002 15:58:29 +0300
>>From: Dekel Tsur <[EMAIL PROTECTED]>
>>To: Kevin Middleton <[EMAIL PROTECTED]>, LyX users <[EMAIL PROTECTED]>
>>Subject: Re: Removing CONTENTS header from ToC pages (LoF also)
>>
>>On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
>>> >>However, when I use the standard LyX Table of Contents and List of Figure 
>>> >>commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like 
to 
>>> >>remove these headers (I have to conform to my university's thesis 
>>> >>preparation guidelines).
>>> 
>>> To get empty headers. you may replace the {\textsc{\contentsname}}
>>> and {\textsc{\listfigurename}} by {}.
>>
>>A shorter solution:
>>
>>\let\oldtableofcontents=\tableofcontents
>>\def\tableofcontents{{\let\@mkboth=\@gobbletwo\oldtableofcontents}}
>>\let\oldlistoffigures=\listoffigures
>>\def\listoffigures{{\let\@mkboth=\@gobbletwo\oldlistoffigures}}

TeX code is more compact than LaTeX code, sure :-)

But the LaTeX way requires only to search for the code
in the report class and edit it. 

-- 
Jean-Pierre

Reply via email to