>>From: [EMAIL PROTECTED] (Juergen Spitzmueller)
>>To: User LyX <[EMAIL PROTECTED]>
>>Subject: Re: Bibliography title formatting
>>Date: Wed, 26 Mar 2003 08:56:37 +0100
>>X-Spam-Status: No, hits=-6.3 required=6.0 
tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, 
REPLY_WITH_QUOTES,USER_AGENT,USER_AGENT_KMAIL version=2.50-cvs-onera_sri_1
>>
>>Myriam Abramson wrote:
>>> > I have to format the spacing and the font of the bibtex generated
>>> > bibliography. Any hints? I didn't find exactly what I needed in the
>>> > Tips&Tricks page.
>>>
>>> I mean I have to reformat just the font and spacing of the title
>>> "Bibliography" not the items.
>>
>>Which class? The bibliography title is hardcoded as section* in article and as 
>>chapter* in book.
>>
>>A quick and dirty solution is to "disable" the environment. E.g. in book 
>>class, write with ERT just before the BibTeX inset:
>>
>>\def\chapter*#1{}
>>(article: \def\section*#1{})
>>
>>Then can set you own title manually, but you also have to set pagebreak and, 
>>if you need, \thispagestyle{plain} for the first page.

Here is a modified environment for a local report class, 

\renewenvironment{thebibliography}[1]
     {\chapter*{\bibname
\addcontentsline{toc}{chapter}{\protect\numberline{}\bibname}%
       [EMAIL PROTECTED]
      [EMAIL PROTECTED]@[EMAIL PROTECTED]
... (no further change from the original code)

As this is a \chapter*, I guess the first page is plain, so no instruction
is required to avoid repetition of the chapter title in the headings,
(and more specific header/footer tuning with fancyplain option of fancyhdr).
The addcontentsline sends the info to the toc.
THe marboth forces bibname as running header, in smallcaps.
The remaining of the env can also be tuned. 

-- 
Jean-Pierre


Reply via email to