Dear all,

I'm writing a pretty large document in Lyx. I use two page styles:

-For the 'normal' pages I use customized fancyheaders like:

        \pagestyle{fancy}
        \fancyhead{}% delete the default header
        \fancyfoot{}% delete the default footer
        \fancyhead[LE,RO]{\thepage}
        \fancyhead[RE]{<Right/even header>}
        \fancyhead[LO]{<Left/odd header>}


- For special pages (e.g. sectioning pages)  I would like to override
the above page style only to print the page number in the top corner
(top right for odd pages, top left for even pages). What I use right
now is a kludge that "just works":

        \thispagestyle{myheadings}
        \markboth{}{}


Well my questions are:
      - How to do it "right" i.e. how to customize the "(my)headings"
page style ? 
      - Alternatively, how can I create a customized page style in LyX 
(And use it, of course ;)


Cheers,

Florian

P.S. If someone could explain _why_ that the above kludge works it
would be great :)) As a side note I just "discovered" it when trying to
use \markboth smth like "\markboth{}{\thepage}" to set the headers ;)

Reply via email to