>>Date: Thu, 13 Apr 2000 10:39:41 +0200
>>From: Frank Derichsweiler <[EMAIL PROTECTED]>
>>To: LyX-User-List <[EMAIL PROTECTED]>
>>Subject: Re: 2 questions
>>
>>On Thu, Apr 13, 2000 at 09:26:57AM +0200, Nicolas Constans wrote:
>>> 2. Is there a way ("renewcommand"?) to customize what's on the top of
>>> each page? I mean : (left) "CHAPTER 1. BlaBla..." and (right) "1.2
>>> Patati et patata...". And I would like to cut this text when it's too
>>> long.
>>>
>>The fancyhdr LaTeX package can do this. Unfortunately I do not know an
>>interface to that package but there might be one. Some LyX-Expert can
>>answer that. But you can insert the pure LaTeX commands. That works. I
>>can post an example, if necessary.
>>
>>HTH
>>Frank
If you want to avoid ERT in the LyX window, and not fiddle
in the preamble window, the best way IMHO is to
write the premable command in a latex file, say foo.tex
and just write \input{foo} in the preamble.
In that way, you do the latex stuff in a dedicated editor
(I use xemacs) and nothing else than LyX work in the LyX window.
Of course, you must force the LyX compilation if you change only foo.tex.
It may be worth to build a latex class and to propose a lyx template
when the config is satisfactory.
--
Jean-Pierre