I tried your idea. It works very good too. First I changed the
book.cls like Richard told it. Then I changed the style to fancy and
wrote your commands in the preamble.
I get the page numbers on all pages, on the first page of the chapter
too.

How can I add the name of the chapter or subchapter to the header?


Thanks for your help too!

--
Joachim


Kamran SHAFQAT wrote:

> Hi,
> I think it could be done by changing the page style to fancy and adding
> the following commands in the peramble

> \pagestyle{fancy}
> \renewcommand{\headrulewidth}{0pt}
> \rhead{\thepage}
> \lhead{}
> \rfoot{}
> \lfoot{}
> \cfoot{}

> But this will not give you the page number on the first page of the 
> chapter. To add the page number on the first page you have to put 
> command \thispagestyle{fancy} using ERT at the start of the first line
> of the page.




> regards,

> Kamran

Reply via email to