Florian-Daniel Otel wrote:
>
> 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
in latex preamble:
\fancypagestyle{plain}{%
\fancyhf{}
\fanyhead[RO]{\hfill\bfseries \thepage}
\renewcommand\headrulewidth{0pt}
\renewcommand\footrulewidth{0pt}
}
for two-side mode, where chapters always start on an odd page.
latex switchs by default to pagestyle plain, when starting a chapter.
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/