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

learn more… | top users | synonyms

2
votes
2answers
24 views

Customizing layout using hdr in double sided document

I am trying to set custom styles at different places in the document, e.g. first couple of sections no page numbering, while the rest follow common page number and header styling. Running the sample ...
3
votes
1answer
30 views

Problems with positioning footers using fancyhdr

I'm having a problem placing footers on my document. On the first page it shows ok, but in the next pages it doesn't show at all. A bit of thinkering made me realize that the footer was indeed ...
0
votes
1answer
18 views

margin below of the footer differs about 1cm in dinbrief than in moderncv

I simply want my moderncv document have the same foot margin as my dinbrief document. However, when i print both and measure the gap between the footer and the end of the paper, the gap differs in ...
1
vote
2answers
44 views

Retrieve only chapter name in fancyhdr

In the tufte-book document class, I am having a hard time figuring out how to insert the chapter name in the header of right odd-numbered pages with the fancyhdr package. Something like: Chapter ...
2
votes
1answer
20 views

Appendix name in the headers and in TOC

My problem is quite simple : I want to have a TOC like that : Chapitre 1 - Some chapter title Annexe A - Some appendix title but I get : Chapitre 1 - Some chapter title Chapitre A ...
2
votes
1answer
50 views

Include a package in one chapter only

I have this package that removes the header from the pages \fancypagestyle{noheadrule}{ \fancyhf{} \renewcommand{\headrulewidth}{0pt} \fancyhead[LE,RO]{\thepage} } ...
1
vote
1answer
34 views

Fancyhdr and redefinition of leftmark/rightmark

I am writing a long document and I decided to change the headers, using fancyhdr : \documentclass[12pt,a4paper]{book} \renewcommand*\thesection{\arabic{section}} \usepackage{fancyhdr} % Fancyhdr ...
1
vote
1answer
26 views

Article class letterhead with logo on first page and different margins on second page

I've been struggling with this for a couple of days. I can't find a good solution for making this letterhead. I want to have the text justified as on the guidelines, but only on the first page: So it ...
2
votes
0answers
50 views

Changing header style in Report

I am using LyX and I am writing my thesis using the report class (two-sided). I put in Latex preamble the following code: \fancyhf{} \fancyhead[LE,RO]{\thepage} \fancyhead[LO]{\footnotesize ...
1
vote
1answer
33 views

change the color of the footer in the first page of the fancy

I am using this to change the color of the headers and footer of the chapter pages in the fancy page style, which I got from another post. \usepackage{etoolbox} \makeatletter ...
3
votes
1answer
29 views

How to Test for Page Style Inside eso-pic

I'm having trouble implementing this solution inside eso-pic: If pagestyle equal to... -- How should I ask it? It looks like \thepagestyle is coming out equal to "fancy" on every page, including ...
5
votes
1answer
38 views

How to add markers to each page with the number of the first and last numbered environment/equation which appear in the page?

I would like to know if it is possible to achieve the following dictionary-like functionality: Add markers to each page with the number of the first and last numbered environment/equation which ...
2
votes
1answer
23 views

How to add logo to footer of fancy page and place it depending on odd or even page?

I use a fancyfoot of the fancyhdr package and let the footer text align left or right depending on the page number (odd or even). \usepackage{fancyhdr} \pagestyle{fancy} \fancyfoot[LE,RO]{footer ...
2
votes
1answer
37 views

How can I split Biblatex's \printbibliography over multiple pages, with different styles?

I am working on Latex document totalling 360 pages for group coursework at University. Part of the coursework, is that we have to have each of our names on each page, to which we contributed. I am ...
1
vote
1answer
23 views

Why Subsection at top-bar in fancyhdr?

Code \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} \rhead{\textsc{Department}} \cfoot{\thepage} \begin{document} % \section{Objective Data} % nothing at left top when this ...
3
votes
2answers
51 views

Non-bold math in header with fancyhdr?

MWE: \documentclass[12pt,a4paper]{report} \usepackage{fancyhdr} \usepackage{etoolbox} \makeatletter %this is a hack to get the math in titles bold & italic, but not bold in table of contents ...
1
vote
1answer
26 views

Vertical line in footer problem with chapter (fancyhdr) [duplicate]

This is practically a follow-up to this question. The solution there works great for an article, but does not work with chapters, i.e. with report or book classes. As you can see here on the first ...
1
vote
1answer
28 views

Customizing page numbering by subtracting a number

I want to start new page numbering like \thepage-11. \fancyhead[R]{Annex- \thepage-11} Would appreciate if one help me for this. Thanks
2
votes
0answers
65 views

fading tikz fancyhdr problem in book printing

I recently had a book printed, where I used fading lines in the header. In the PDF it looks correct, bu in the actual print, the lines on the left pages didn't fade as much as the lines on the right ...
2
votes
1answer
20 views

My page number is disapearing after page 1

I'm writing a document in latex with two logos in the header and a custom page number in the bottom right. The problem is that although the header is displayed correctly, the footer on the second page ...
1
vote
1answer
54 views

Custom header: [E] \chaptername \thechapter [O] \chaptermark

I'm new here and I'm into headers with package fancyhdr. My request is: I want on even pages, CHAPTER NUMBER, in the odd pages CHAPTERTITLE. So in a way like: [E] \chaptername \thechapter [O] ...
1
vote
1answer
59 views

Long title problem with fancyhdr and titlesec

I have the same problem as How to use short subsection title in header but not in table of contents?, and the solution given works almost well. The difference is that also use the package titlesec. ...
3
votes
1answer
29 views

Using `fancyhdr` with two pagestyles

I am writing a long article but still with the article class. I want to redefine my headings using this preambule : \documentclass[12pt,a4paper,twoside]{article} \usepackage[utf8]{inputenc} ...
0
votes
0answers
27 views

How to automatically generate names of sections in head part of fancyhdr?

I need to ask you a question, I want to make my fancyhdr to automaticly put the name of the section in the left corner, and the name of subsection of the same page on the right side of the head part ...
2
votes
1answer
18 views

Title page header also leaves space on other pages.

When trying to put a logo at the top of my title page, it somehow leaves space for the logo on all other pages as well. This means all text is shifted down, while this should only happen on the title ...
2
votes
1answer
64 views

Insert the number and name of the section in the header, (including on a chapter's opening page)

By using fancyhdr, I want to get the section name and number in the header of pages and if relievant also the chapter name. To be CLEARER, The question goes to : How to put on the header of the ...
0
votes
0answers
28 views

Article headers

I have a problem with article headers. I am almost always writing reports, but now I decided to write a article, because I think I could make the design of my latex document look better . So I want my ...
1
vote
2answers
72 views

Vertical line in footer and header

I want to make my footer and header look like this beautiful apple manual. I think, I should use the fancyhdr package. But, I need an example to see how I should use it in this case (for vertical ...
4
votes
3answers
132 views

How to align a picture in a 2 lines fancyhdr header

I use fancyhdr to create my header, i have this code: \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{lastpage} \fancyhead[L]{\includegraphics[width=1cm]{logosmall.jpg} \textbf{Title of my ...
3
votes
1answer
69 views

Unbalanced multicolumn environment + wrapping footer results in footer moving

When using an unbalanced multicolumn (multicols* environment) and my footer has a parbox with text that wraps, the footer moves upwards. Anyone know why this is happening and how I can have it not ...
0
votes
1answer
32 views

How to use fancyhdr and \begin{titlepage} concurrently

Im writing a thesis in Latex and am trying to create a title page with a the fancyhdr package. However the right header Swinburne University of Technology (Sarawak Campus) refuses to appear on the ...
3
votes
2answers
60 views

Header/Footer formatting on Title page

I've spent the best part of an hour trying to make a footer/header on my title page and I'm getting so frustrated, any help appreciated. I just need my university name at the top and my supervisor at ...
2
votes
0answers
57 views

Headers and footers with Logo input

In the MWE below, the logo top left is making some trouble as of it is size I assume. Due to the small margins top and bottom "20mm" its pushing the page number too low. Is there a way this can be ...
1
vote
1answer
60 views

Different headers with page number in odd and even pages

Does anyone know how to put number and header in the same side but in the odd pages be placed left and in the even pages right? The main problem is that the headers are different e.g 22 'titleA' ...
1
vote
1answer
36 views

Can't change the colour of the line in the header (fancyhdr)

I'm trying to change the colour of the line in my header to the grey, and I don't know how to do it correctly. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % ...
3
votes
1answer
31 views

How can I calculate the correct offset for fancyhdr when using geometry to change layout?

I have a document with the following configuration: a custom layout is defined using geometry in the preamble; custom headers/footers are defined using fancyhdr in the preamble; an alternative ...
2
votes
1answer
23 views

Can't create a custom first page footer

I am trying to create a footer in an article for the first page only, while the rest of the pages are supposed to contain a header and page number at the bottom of the page. Here's the code I use: ...
1
vote
1answer
21 views

Pagenumber in first page when using fancyhr package

My problem is, I want numbering on first page, but it always starts from page 2, and I don't know how what I have to change in order to having the page number on the first page, this is what I have: ...
1
vote
1answer
43 views

How to Change Header Footer font and Color in XeLatex

I need to change the Header Footer in Latex which need to be compiled in XeLatex. Header - Green using Lato-Light font Footer - Red using Raleway-Light font Here is the link to the MWE. Fonts are in ...
0
votes
0answers
24 views

how add a fancyhdr.sty file to LYX

Am using LYX on wndows8 to create LATEX documents. When i compile my code a file named fancyhdr.sty is required. Some one here can help me on how i add this file. Thank you for responding me.
1
vote
1answer
56 views

Formatting with fancyhdr [closed]

I need a special formatting for my document which it class is (article). The first page has: special header and NO footer header contains image on the right and text on the left and both on the ...
2
votes
1answer
22 views

Switch defined header during bibliography pages

In the code below, I typically start the bibliography on a new page. I would like to be able to display "Bibliography", instead of the previous section number and name on the header, anytime the ...
1
vote
0answers
32 views

Inconsitent footer position with multicols

A footer created with fancyhdr in combination with multicols is placed at different vertical positions depending on - as far as I have been able to isolate the issue - wether the page is full or not: ...
0
votes
0answers
31 views

why usepackage{fancyhdr} does not apply when I use \chapter*{title}?

I have a problem with the fancyhdr package: I use the book documentclass and I have a chapter which is defined like this: \chapter*{Introduction} ...
2
votes
1answer
89 views

Small Capitals in ToC Header (and LoF/LoT)

How can I change the header of ToC by using the solution given by @Bordaigorl here? I want small capitals, like in abstract, chapters and appendix in my example. The same problem is for LoF and LoT. ...
2
votes
1answer
37 views

headings and footnotes in first page different

I want that the first page of each chapter has no headrule. Here is a MWE \documentclass[a4paper,openright,10pt]{book} \usepackage{vmargin} \usepackage{fancyhdr} \usepackage{emptypage} ...
2
votes
1answer
178 views

Different positions of headers and footers in different pages

I could not figured out why I'm getting different positions of headers and footers in different pages (please see MWE below). Any help in this regard will be highly appreciated. Thanks ...
1
vote
2answers
66 views

How to change the header and footer on the first page of references section

I am trying to change the pagination on the first page of my references section. I've been using fancyhdr to customize the pagination in my headers per the requirements of the thesis format at my ...
3
votes
1answer
31 views

Wrong rfoot placing after setting \newgeometry

I have a document where from a certain point onward the width of the left margin changes. To do so, I used the \newgeometry command of the geometry package. However, in the part of the document with ...
1
vote
0answers
33 views

How can the names of chapters, tables, figures and contents be set?

I'm writing a configuration for a template LaTeX document and I'm trying to write the configuration that defines the text used in titles of the document (such as the name used to indicate a chapter, a ...