Alexandre Gonçalves Jacarandá wrote:
>
> Thanks for all help. I'm start to learn something in lyx, but what could
> make wrong in LaTex
> \fancypagestyle{plain}{%
> \fancyhf{}%
> \fancyhead{}%
> \fancyfoot[R]{\thepage}%
> \renewcommand{\headrulewidth}{0pt}}
> \usepackage{indentfirst}
> \newcommand{\myIndent}{\hspace{\parindent}}
> With this commands, I only don't understand why my page numbers
> didn't went all to the right in /fancyfoot[R]{\thepage}%. I read the
> manual about fancyhf and understand that don't matters to use R, RE or RO
> since I put at least R.
> When I check for results only some pages got the right number. For
> example, 123 is good 456 isn't 789 and so...
\fancypagestyle{plain}{%
this is only the headerstyle for pages on which a chapter is started.
latex changes this pagestyle always to plain (no pagenumber!) and the
next one to the old style. therefore you must redefine the
plain-pagestyle.
the RO, and RE options are only nessecary for the two-side option. for
one-side (layout->document->one side) try
\renewcommand\headrulewidth{0pt} % no headerline
\renewcommand\footrulewidth{0pt} % no footerline
\fancyhead{}% clear header
\fancypagestyle{plain}{% plain headers for chapters
\cfoot{}% clear default
\rfoot{\thepage}% right formatted pagenumber
}
\cfoot{}
\rfoot{\thepage}
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/