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

learn more… | top users | synonyms

1
vote
2answers
97 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
81 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
33 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
66 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
62 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
67 views

Different headers with page number in odd and even pages [on hold]

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' (left)...
1
vote
1answer
45 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
33 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
26 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
22 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
50 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
27 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
60 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
23 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
37 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
33 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} \addcontentsline{toc}{chapter}{\protect\numberline{}...
2
votes
1answer
94 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
38 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 \documentclass[...
1
vote
2answers
79 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
35 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 ...
1
vote
1answer
38 views

Manually edit chapter for one page with fancyhdr

\documentclass[12pt,a4paper,oldfontcommands,oneside]{memoir} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \lhead{\leftmark} \begin{document} \listoftables \clearpage \chapter*{List of ...
2
votes
1answer
22 views

page numbering with braces and lines

Here is a MWE: \documentclass{article} \usepackage{fancyhdr} \usepackage{lastpage} \usepackage{lipsum} \fancyfoot[C]{ \hrulefill \{ \thepage\ of \pageref{LastPage} \} \hrulefill } \pagestyle{fancy} ...
1
vote
1answer
56 views

Remove name of section from header in pagestyle{fancy} (Notice: document class=article)

I am forced to use the document class: article, because of several packages that I use and format restrictions. I have long names for some of the sections and subsections, so there is no room to ...
3
votes
1answer
154 views

Fancy header and footers

I would like to create header and footers for all the page in my latex PDF, they should look: Header 1) one inch thick; background color: Blue; left hand-side: DOCUMENT Title; right hand-side: Logo (...
2
votes
1answer
46 views

How to remove the name Chapter with fanchyhdr in Book class

It's a question similar to How to remove the name Chapter with fanchyhdr in Report class. However, it's entirely different case on book class. I searched every corner of this site for 3 days without ...
1
vote
1answer
50 views

Fancypagestyle in \DeclareOption

In my class I want to define the page layout first during\DeclareOption and then modify it during a \newenvironment declaration. For that I wanted to use the fancyhdr package. Now my problem is that a)...
5
votes
1answer
95 views

The number of page goes down,down and down

I have \pagestyle{fancy} with usual settings. And names of my chapters sometimes are so huge (above the top line) that somehow the number of page (which is in foot of the page) is going down, down ...
1
vote
1answer
42 views

using fancyhead to centre image and title

I am new to latex and am trying to alter a template with little success. So the current template has an image in the header on the left side of the page and a title in the middle. I need to move the ...
0
votes
0answers
26 views

How to move a header to the extreme top of the page?

I have a image as footer: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} \usepackage{lipsum} \setlength\headheight{26pt} \fancyhead[L]{\includegraphics[width=...
4
votes
2answers
44 views

Image behind text with fancy

I want to have an image behind the page number in my latex document, and tried to write it like \fancyhead[CE,CO]{\textcolor{white}{\thepage}} \chead{\includegraphics[width=1cm]{img.eps}} The ...
2
votes
1answer
104 views

Remove page number on first page using fancyhdr

I am using fancyhdr and this is my preamble. The first page still has 1 in the footer while other pages have Page 2, Page 3 and so on. How to remove the 1 on the first page? \documentclass[10pt,...
2
votes
1answer
69 views

Removing header on chapter page

I am using the fancyhdr package where from what I understand the default is no header on the chapter pages, but I still have the header displaying the section name on all my chapter pages. I would ...
0
votes
0answers
57 views

Alternating which side the header is on odd and even pages

So I'm trying to get the header to display the section name on the right side on odd pages and the left side on even pages. My code is: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\...
0
votes
0answers
119 views

fancyhdr and headings in table of contents, bibliography and so on

I want to change the headings in my document with fancyhdr in my document to be bold and lower case: This is quite easily done by using fancyhdr: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
2
votes
1answer
50 views

How to have different head & footer rule widths on odd and even pages using fancyhdr?

I am trying to create a document that has just a footer on odd pages and just a header on even pages. On the odd pages, there should be a head rule width of 0pt and a foot rule width of 0.4pt. On the ...
3
votes
1answer
262 views

Remove `CHAPTER 0.' from header in frontmatter chapters with fancyhdr

As the title says. The heading on the page following the Abstract looks like this: CHAPTER 0. ABSTRACT How can I remove the unnecessary Chapter number from the headings in the frontmatter? \...
1
vote
0answers
46 views

Header starting from the first page

I am using fancyhdr to make header for pages. I want the header to appear from the first page starting from the content then chapters. For the odd page i want the header to be the current \...
1
vote
3answers
89 views

fancyhdr formatting help

Hello guys I am fairly new to LaTeX and this website has never let me down :D I am here once again for some help since I am a total noob. I need a bit of coding help to get a specific style on my ...
1
vote
1answer
88 views

Problem with title page

I have the following title page: \documentclass[a4paper,twoside,12pt,chapterprefix=false]{scrbook} \begin{document} \begin{titlepage} \thispagestyle{empty} \fancypagestyle{empty}{ \lhead{\...
3
votes
1answer
40 views

fancyhdr: color of page number not changing in document, even though it changes in other documents

For this problem, I am using the following code: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage{concmath} \usepackage{amsmath} \usepackage{xcolor} \usepackage{pagecolor} \...
2
votes
1answer
52 views

Wrong section number with fancyhdr when using clearpage

I am using Latex for my Bachelors Thesis and I have run into a little problem, I haven't been able to fix yet: I am using Article as my document class and want each section to start with a new page, ...
2
votes
1answer
51 views

Fancyhdr headrulewidth-related question

I have a work-around for this one, but I'd like to do it more elegantly if possible. Suppression of the line under the header when using fancyhdr seems to be well understood, and I have been doing it ...
2
votes
1answer
100 views

Setting a minimum margin size with the geometry package

When using the geometry and fancyhdr packages it is possible to specify margins that are too small to hold the header and footer. \documentclass{article} \usepackage{geometry} \usepackage{fancyhdr} \...
1
vote
1answer
68 views

emacs, twoside option doesn't go in documentclass, why?

I'm typing up some notes in Org-mode (emacs). When I try to export the *.org file as *.tex file and then get a pdf, I see the EVEN page numbers don't appear on the outside of the page as I want them ...
2
votes
2answers
131 views

How to put fancy header on all pages except the first page?

I am trying to put fancyhdr custom style on all pages except first one, but it either shows up on all of them, or on none, I can't make this style to go from second page, im new to latex, so any help ...
0
votes
0answers
41 views

Increase the actual textheight using fancyhdr?

I've been using the fancyhdr package but the thing is that it creates a lot of empty space at the bottom of the page. I tried to increase the actual \textheight of my thesis according to this \...
2
votes
1answer
83 views

\rightmark not displaying subsection

Current situation My document (report) consists of chapters, sections and subsections. Now I want to display the section name and the subsection name on the left side of the footer. However if I use \...