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

learn more… | top users | synonyms

3
votes
1answer
26 views

How to fix the top and bottom margins in Lyx in order to conform to standard ERC proposal?

I need to write a document with specific margins (well, I admit, a grant proposal). They want : The minimum font size allowed is 11 points, line spacing single. The page size is A4, and all ...
3
votes
1answer
79 views

Chapter thumb to work with Legrand Orange Book Template

This code is building from the solutions presented here. It also employs the Legrand Orange Book template. I was trying to implement the chapter thumb solution to this template but could not get my ...
2
votes
1answer
17 views

Same footer on pages

In the WE below, I was attempting to get the same footer on each page of the document (except the first page of the chapter), however, I get the footer appearing only on the odd pages. Can you help ...
1
vote
1answer
32 views

fancyhdr: how to get head ruler on pages where a chapter starts?

I am using the fancyplain page style, and still headers on pages where a chapter starts look different from headers on pages where no new chapter starts. On normal pages, fancyhdr adds a horizontal ...
1
vote
1answer
36 views

Get modified fancyhdr chapter thumb to work with a fancyhdr

In the code developed here, I was attempting to use it with a fancy header. For some reason, the "CHAPTER THUMB" code does not work as originally intended. That is, the chapter thumb does not ...
1
vote
0answers
33 views

Synctex fails for input files. Related to fancyhdr + graphicx?

I have run into a problem with the synctex option of pdflatex that seems to be related to the fancyhdr and graphicx package. Problem: Forward and inverse search between editor and PDF viewer work ...
1
vote
2answers
21 views

Center Numbering Page in Koma-Script class in LyX

I am writing my thesis in LyX, using book koma-script document class. However, I need to make some changes in order my thesis fits to my university requirements. One of them is that the page ...
0
votes
1answer
23 views

Spacing between Header and Chapter Titles

I have the following template: %Loading in the packages \documentclass[12pt]{report} \usepackage[a4paper, width=150mm, top=25mm, bottom=25mm ,bindingoffset=6mm]{geometry} \usepackage{graphicx} ...
1
vote
0answers
23 views

Numbering Chapters and header issue

I am a complete newbie to latex so I apologise if the questions asked are straightforward, I am using the document class with fancyhd, with a documentclass of report. However when producing my report ...
2
votes
1answer
37 views

Epigraph on Part Page

I used the solution given here to get a nice, customizable epigraph on a part page. However, the solution uses the command \usepagestyle{epigraph}, and because of this, the part page has a ...
2
votes
2answers
57 views

Blue box next to header (tikz)

I would like to draw a blue box next to the header but the blue box should be in the margin and not be part of the header it self. In the real document the margins are set with geometry. ...
2
votes
1answer
21 views

How do I remove “References” from my running header?

I am using fancyhdr to create a short running title for an article I'm drafting. I also need my tables and figures to be printed after the bibliography upon submission to the journal. Initially, the ...
1
vote
2answers
98 views

Page numbering incl. text (biblatex and appendix)

I have two major problems with my footer in my thesis. In my whole document, my text switch on every pages - it works perfect. But when the reader came to the last two "chapters": 1) References and 2) ...
2
votes
1answer
22 views

Tabu in fancyhdr footer doesn't span the whole footer

I've trying to make a document template. I've set up a header and footer very similar to that of the following MWE: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
27 views

How to set top padding on image in fancyhead?

I'm using fancyhdr, with a simple logo like the one below. With MWE like the following: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % set the font of the ...
1
vote
1answer
47 views

Inserting predefined paragraph number in page header - follow up

I am following up further on the questions in: Inserting predefined paragraph numbers in page header I was not allowed to comment on this issue so had to create a new question. @Andrew. @Sujato has ...
1
vote
0answers
15 views

Multiple page number positions in one document

I' m working on a document with multiple page number styles. The introduction consists of roman (I, II, III,...) page numbers, the actual text consists of page numbers in arabic style (1, 2, 3,...) ...
5
votes
2answers
168 views

LaTeX two different page numbers on the same page

I want to get two different page numbers on the same page in LaTeX. For example, I want to have overall page numbers in the footer and within chapter page numbers in the header. I wonder how to get ...
0
votes
0answers
14 views

fancyhdr sets wrong title in appendix

I have a problem with fancyhdr. I wanted to add an appendix at the end of my thesis, which is not supposed to have a section number, just like the references appear without a number in the table of ...
2
votes
3answers
50 views

Creating a Flipbook as overlay only on some pages

I'm writing a thesis where some images with minor changes are used. This changes would be perfectly visible if it would be possible to overlay one picture over the other and toggle both. So doing it ...
2
votes
1answer
18 views

How omit page number on some pages in fancyhdr?

Using fancyhdr how can I achieve that on specific pages the page number is omitted. For example, in the minimal example I want the page number to appear on the third page and the page number of the ...
0
votes
0answers
20 views

multiple headers and pagination in a book

For some reason I get "Table of Contents" on every odd page. The other problem being the pagination which is reset after the second edition in the main matter. Help much appreciated. Here's the code ...
8
votes
1answer
92 views

Inserting predefined paragraph numbers in page header

I am dealing with translated texts that have "paragraph" numbers which are already defined in the source, with which I must keep consistency. Hence I can't use \theparagraph to generate the numbers. ...
5
votes
4answers
122 views

Center footer wrt paper, not margins

Im writing a thesis. The requirements are 1.5in left margin and 1 in right. In addition, the page number must be in the right hand corner except on the first page of every chapter where it must be ...
2
votes
1answer
36 views

Changing header on Fancyhdr

Hello I am new to LaTeX and I am having a problem using fancyhdr package I want the header to only show the chapter number and chapter name in the center of the page and I am having issues doing that ...
1
vote
3answers
72 views

geometry and fancyhdr clash

When I try and create a custom title page, I am having to adjust headerheight because of an Image that will go there. The same image will be in the header on the normal page, but slightly smaller, ...
2
votes
1answer
81 views

Section Titles in Margin Notes

I am struggling to reproduce the following layout in Latex. I have tried using the package marginnote, and playing around with geometry and fancyhdr. I end up going around and around in circles, ...
1
vote
0answers
16 views

Trouble with fancy page headers on pages with float too large warnings

I'm using latex to write a thesis using a template I found at http://openwetware.org/wiki/LaTeX_template_for_PhD_thesis. I am having trouble with fancy page headers on pages with float too large ...
4
votes
1answer
39 views

In fancyhdr : change the height of a logo in the footer

I want to put the logo of my school in the bottom right of my pages. The problem is that the logo collides with the text on top. I know that the position of the footer is ruled by the \footskip ...
2
votes
1answer
55 views

fancyhdr and lastpage: do not count last page

I am using fancyhdr and lastpage. I want to write a Bachlorthesis and the last page must be the statutory declaration wich should not be part of the page count. But this page is counted in LastPage. ...
2
votes
1answer
48 views

put the horizontal line below the section title and modified page number with the box surrounding it

I would like to put the horizontal line below the section title as the figure below: and the second one I would like to modified the page number by putting it in the rectangular box as the second ...
1
vote
1answer
34 views

List of Figures and List of Tables do not show fancyhdr

I'm currently writing my Bachelor's Thesis and have already used LateX for several documents and reports so far. However, I cam across a problem during formatting my thesis. Throughout my whole work I ...
1
vote
1answer
33 views

Double page headings with fancyhdr and fancyplain style in TOC/bibliography

I noticed the bibliography and TOC, list of figures etc have the "section title" twice on each header, on the left and the right -- I have defined in the main body just the right part of the header ...
3
votes
1answer
34 views

Alternate section title in header, also when new section starts at top of page

I'm using fancyhdr to display the current section title in the header of even-numbered pages of a book. I achieve this with the following code: \setlength{\headheight}{14pt} \pagestyle{fancy} ...
3
votes
2answers
41 views

Undefined references within equations

So my problem is that there seams to be a clash between something in my preamble and the \label{} and \ref{} commands. When I do references within my definition environment it all goes smoothly, but ...
1
vote
1answer
72 views

Changing a4paper to letterpaper

For starters I am a first time user of LaTeX I am formatting my dissertation using this template: https://www.overleaf.com/2943161npnxys#/8024281/ Unfortunately, the paper size in this is a4 and I ...
0
votes
1answer
89 views

Spiral around cylinder [duplicate]

i want to draw a spiral around cylinder. Can you help me? something like that http://www.unitmath.com/um/p/Examples/GeometricSolids/Spiral.gif Thank you very much.
1
vote
1answer
51 views

Switch from portrait to landscape maintaining margins [duplicate]

There is a portrait document in which only the second page have to be made landscape (the document has header and footer made with fancyhdr). To accomplish the portrait to landscape turn I'm using the ...
1
vote
1answer
36 views

`fancyhdr` to include just Chapter in header

Using fancyhdr is there a way to restrict the header to just the Chapter names (ignoring any section names?) Spinning off of my previous question [here]:1 I would like to limit the header information ...
0
votes
0answers
25 views

headers and footers acting strangely with floatpag package

Using the fancyhdr package, I have a LaTeX document with the following headers and footers: Underlined chapter name at the top of each page. Page number at the bottom of each page. I was also ...
0
votes
0answers
30 views

How can I produce better spacing between header and content when using fancyhdr package?

I am currently using the fancyhdr package with the following setup: %BOOK FORMATTING \usepackage{fancyhdr} % nice header format \fancyhead[RO, LE]{\textbsf{\thepage}} % ...
0
votes
0answers
33 views

how to remove half line in twocolumn in first page?

I want half line in twocolumn article but in first page like this first page second page \documentclass[landscape,12pt]{article} \usepackage[margin=1cm,top=1.3cm,bottom=1.3cm,headsep=5mm] ...
0
votes
1answer
26 views

Change Page Size Mid-Document: Fancy Header and Footer Horizontal Width

When changing the paper size within a document, the fancyhdr package does not recognize the alteration of the layout width. This page details how to change page size mid-document. An answer has been ...
4
votes
1answer
40 views

Custom header not working as expected using fancyheader

I want to have a custom header like the following: Chapitre5 (Chapter5) in the left and the name of the chapter in the right(Mise en oeuvre) I used this in my root .tex file: \usepackage{fancyhdr} ...
3
votes
1answer
51 views

Alternating page numbers

How can I have alternating page numbers in the footer (using fancyhdr) in the form of (left footer) page x of y -nextpage- (right footer)page x2 of y? I now have \pagestyle{fancy} \cfoot{\thepage\ ...
3
votes
1answer
80 views

Fancyhdr does not apply the right style

I am using Latex for the first time, to write my thesis. I organized my work as a main file that calls several others using subfiles, since I like to compile a single chapter while I am working on ...
1
vote
0answers
33 views

Applying fancyhdr on pages where new chapters start

I'm using the book.cls document class and the following fancy header: \usepackage{fancyhdr} \fancyfoot{} \fancyhead[RO,LE]{\thepage} \fancyhead[LO]{\leftmark} \fancyhead[RE]{\rightmark} This works ...
2
votes
1answer
45 views

Different texts in odd and even pages in footer

MWE \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{fancyhdr} \usepackage{pifont} \usepackage{lipsum} % dummy text ...
4
votes
2answers
56 views

Different texts in various pages in footer

MWE \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{lastpage} \usepackage{fancyhdr} \usepackage{pifont} \begin{document} ...
1
vote
1answer
47 views

How do you align page numbers 2 and 3?

I am formatting a 115 page book. I have a really strange problem. Page numbers 2 and 3 are not horizontally aligned as you can see in the screenshot. I have checked other page numbers and they are ...