Luqman H wrote:
2006/5/30, Paul A. Rubin <[EMAIL PROTECTED]>:
If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document->Settings...->Page Layout->Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul

thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?


Choose the fancy page style, and add the following to the preamble:

\chead{}
\lhead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\fancyplain{\thepage}{\thepage}}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancyplain}

If you want the first page of a chapter or section unnumbered, change the \rfoot command to \rfoot{\fancyplain{}{\thepage}}.

/Paul



Reply via email to