When I made PDFs with Texmaker the page numbers are by default at the bottom of the page (i.e. in the footer) and are centred. How do I change this?
|
|
depending on the document class you're using, you might not even need fancyhdr (Which is why a minimal example would be useful, so we know ›where‹ you are). For example, the
See also »adapting page headers and footers« in scrguien.pdf |
||||
|
|
|
as mentioned, you could use the fancyhdr package. It is more complicated, but I use it for everything anyway, because it is so robust. A couple things to note:
The main thing you want to look at is \rhead{\thepage} \thepage is the page number variable (counter) Here is an example:
Another thing to note. If you are using the article class and you use a \maketitle command, by default, the first page will not have the header/footer from fancyhdr, but will have the default page number. To deal with this, use
Let us assume you want the title page to have no header/footer. You will run into another problem, namely that the page number counter still starts with the title page, but you want page 1 to be the first page with content. To solve this, just put a
on whichever page you want to be page 1. |
||||
|
|


