Hi there,

here is how I fixed my problem (in case it helps others):

   - in my thesis.layout  file I had to reset
        PageStyle  Headers

and comment out :

#ClassOptions
#    PageStyle  "plain"
#    Other  "defaultstyle"
#End

then you can select fancyheaders page style from LyX

 - in the preamble

\fancyhead{} % delete the defaults
\fancyhead[RE,RO]{\thepage } % Sets Right handside of header
%% (Even and Odd numbered pages)
\fancyfoot{} % clear

--
Frederic



Frederic Leymarie wrote:

> Jeroen Vriesman wrote:
>
> > What I did, was choosing amsbook style,
>
> I am already using another style (thesis)
>
> How to have the fancyheaders then ?
> (it does not show up as an option, only plain an default do).
>
> > and I've selected fancy headers in layout-document from lyx.
> >
> > Strange enough, I had to put the rest of the fancy header stuff in an ERT at the 
>beginning of the document,
> > didn't work in the preamble.
>
> What is an "ERT" ?
>
> > if you don't select the fancy header in the layout-document window, lyx doesn't 
>include a \usepackage{fancyhrd}, so that's probably why you get the undefined control 
>sequence.
>
> I put
> \usepackage{fancyheadings}
> in the preamble ...
>
> to no avail.
>
> Frederic
> --

--
Frederic FOL LEYMARIE, R&D Project leader, SHAPE Lab.
http://www.lems.brown.edu/vision/extra/SHAPE/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?



Reply via email to