# [texhax] Page number in table of contents page not where I told fancyhdr to put it

Ulrike Fischer news3 at nililand.de
Thu May 15 09:35:24 CEST 2014

```Am Wed, 14 May 2014 16:42:07 -0600 schrieb Douglas McKenna:

> Using the fancyhdr package on a landscape document, I want all my
> page numbers in the lower right of each page of a one-sided book
> document.  But even though I've declared that to fancyhdr (see
> example below) and it's working on later pages, it's not working
> on the TOC page and the one after it.

The start pages of chapters use the plain style. To change this
style see the documentation of fancyhdr "7. Redefining plain style".

You get the empty page between contents and the first chapter as the
page of your chapter is overfull and so move one page on. Reduce the
\vskip.

> Worse, remove the "[landscape]" option from the geometry package
> input line, and now all the page numbers are centered, instead of
> just the first few.  I have no idea why.

You only have start pages of chapters here. Add more pages and they
will have your pagestyle.

--
Ulrike Fischer
http://www.troubleshooting-tex.de/

```

More information about the texhax mailing list