{fancyhdr} is a package which allows the creation of custom page headers and footers.

learn more… | top users | synonyms

14
votes
2answers
19k views

How to move page number?

I want to change the position of the page number. I've read around here that some suggest to use the fancyhdr package, but I don't want to use it – I'm a beginner to LaTeX so I don't want to use a ...
0
votes
1answer
688 views

Fancy style, cleaning and improving

I was given the following style: % Style definitions \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]% {\markboth{\MakeUppercase{\chaptername\ \thechapter.\ #1}}{}} ...
4
votes
1answer
769 views

Rotated text in side margin

I've typeset a very wide table using longtable and rotating all the cells. As a consequence, if I want to place a "right" header, it ought to be in the bottom of the right margin, with the text ...
7
votes
1answer
694 views

How can I horizontally align rows in fancyhdr?

How can I left-align the [multiple-row] text in the right portion of my header using fancyhdr? I have something like this \rhead{row 1\\row 2\\row 3} where the rows aren't the same length, and I ...
4
votes
2answers
6k views

Different header for odd and even pages with fancyhdr

We are making a book with the document class book. We use the fancyhdr package to customize the headings. We want the book title on LE and the chapter name on RO. We tried \usepackage{fancyhdr} ...
11
votes
1answer
4k views

header spacing trouble

I'm using the fancy header package, yet I've also adjusted all of my margins, to allow more text on each page as there is no need for the excessively large margins. I've run in to some trouble with ...
20
votes
2answers
3k views

How to customize headers and footers?

I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the ...
15
votes
3answers
19k views

page number position

I am working on a long document in LaTeX with documentclass book. I need the page number to always be in the upper right corner of each page, even if that page is the first page of a chapter (right ...