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

learn more… | top users | synonyms

2
votes
2answers
40 views

Trouble switching between pagestyles

I am working with the following document: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \setlength{\headheight}{13.6pt} \fancypagestyle{plain}{ ...
1
vote
1answer
31 views

Fancyhdr - No “Chapter” Word, but part number

I am having trouble defining my headers with the fancyhdr package. Here is what I want : - on the left page, on the left side : partnumber.chapternumber. Chapter Name - on the right page, on the right ...
2
votes
2answers
29 views

Removing fancy style from part pages

I am using the fancyhdr package to set headers and footers for the thesis. I have recently added LaTeX \parts, and defined a pagestyle for this purpose called 'partpagestyle'. As the MWE below shows, ...
1
vote
0answers
49 views

Why does section and chapter's name overlapping?

Please help me with the following problem. In the header the chapter name and section name overlapp. It's strange, because (as I show below) I commented the \sectionmark Why does the section name ...
4
votes
3answers
48 views

How to correctly include a header image only on the first page

I found a nice Latex template here and I would like to include an image to to the header which is aligned in the right side. I like the template, which is why I would like to adapt it. I included a ...
2
votes
1answer
61 views

Page numbering on bottom center on full page figure

I've looked at several other answers, notably this and this, however I am still stumped. Currently, my document shows all page numbers centered in the bottom (as I need them to be), however for all ...
1
vote
0answers
31 views

Headers/footers not showing (fancyhdr)

I have a slight problem. When I use the fancyhdr package, no headers/footers are published. I'm not sure why \documentclass[a4paper,12pt]{report} \usepackage{fancyhdr} \pagestyle{fancy} ...
1
vote
1answer
48 views

Section name with fancyhdr in beamer

I am trying to add the name of the section in the fancyhdf foot of a beamer presentation but the following command does not work. I have found some help that suggests the command ...
1
vote
2answers
158 views

Taking notes for class in Latex, and changing parts of fancy header across include

I am beginning grad school in the fall and I wanted to try and take (or copy over after class) all my notes in LaTeX. I wrote a python script that looks at my calendar for all occurrences of classes. ...
4
votes
2answers
45 views

How do I show the subsection name and the subsubsection number and name in a fancyhdr header?

For example: \documentclass{article} \usepackage{fancyhdr} \usepackage{blindtext} \pagestyle{fancy} \fancyhf{} \fancyhead[L]{\leftmark} % displays the section (1. SECTION NAME) ...
0
votes
0answers
52 views

Fancy Header footer

I'm using article latex exam class to create exam paper. Is it possible to add fancy header and footer as mentioned in the picture below?
1
vote
1answer
90 views

Multiple problems with custom commands and fancyhdr

I have kind of a multiple part question. I am making a class file for a standard operating procedure class file. This includes the need for revision control flags. I am trying to make a custom ...
0
votes
1answer
32 views

Fancy header trouble when used with titletoc

In a very big and complex document using the book class (so I can't reporduce easily a MWE, sorry), I want to use the fancyhdr package to display chapter name and number on the top left of even pages ...
0
votes
0answers
17 views

Wrong page number position with fancyhdr

The following commands produce page numbers that are correctly on the left on the even pages, but on the center of the odd pages. I can't understand where is the error, please can you help me? Silvia ...
0
votes
0answers
49 views

Part and Chapter in Header

Following up on this post: earlier question I have problems setting this style for my soon to submit thesis. Actually, it works for the beginning, but not for the entire project (created in Lyx, ...
8
votes
1answer
3k views

fancyhdr: How get part on even and chapter on odd pages

I am trying to use fancyhdr to set the part no. and name on my left pages and chapter no and name on the right pages. My document is ...
2
votes
2answers
47 views

How to use fancyhdr and \maketitle concurrently

I'm trying to use fancy header and \maketitle concurrently. This causes a problem because apparently \maketitle calls \plainstyle, which overrides the fancyhdr settings. Is there a simple patch for ...
2
votes
1answer
37 views

Remove section numbering from fancyhdr header

I have a document containing my course notes, and am attempting to alter the fancyhdr header as in the images below: Current Wanted Here is my current header code, with irrelevant parts ...
1
vote
1answer
42 views

How to adjust textwidth and textheight to paper size in mid document? (and header and footer “length” as well)

I want to adjust textwidth and textheight to papersize in mid document, that simple. I am planning to change some pages paper size, but I need both the header, footer and text to adjust (better if ...
4
votes
1answer
37 views

Fancyhdr: Starred Sections

Using fancyhdr package, this is what I do for each of my starred sections to print them at the header, e.g.: \chapter*{{Foreword}} \markboth{{Foreword}}{Foreword} and this what I have in the ...
1
vote
1answer
45 views

Section author to be shown in footer

For my diploma thesis I need to write the author of each text section in the footer, to make visible who wrote that exact part. In comparison to Microsoft Word (I hate to do that u.u) you can enter ...
1
vote
0answers
25 views

Why my headrule width does not appear to change?

When I run the following script I cannot observe any difference between the width of the line made via \headrulewidth}{1pt} and \headrulewidth}{0.1pt}. Why is this? \documentclass[12pt]{thesis} ...
3
votes
2answers
80 views

Header of my thesis

I used the following for the header, as I have \chapter*. It works great, the only problem is with bibliography where the header shows as ''Chapter4. BIBLIOGRAPHY'' as chapter 4 is the last chapter. ...
1
vote
1answer
84 views

How to move header and footer on left or right?

I have a really nasty problem. I have to move page body OR header and footer on left or right on few pages in mid document, but I cant use a lot of useful stuff: geometry package \textwidth options ...
4
votes
1answer
44 views

Using pythontex \py with fancyhdr

I don't know what I'm doing wrong, but this MWE does not work for me: \documentclass[a4paper]{article} \usepackage{pythontex} \usepackage{lipsum} \usepackage{fancyhdr} \pagestyle{fancy} ...
0
votes
1answer
69 views

Page number position with fancyhdr and memoir oneside

I am trying to have a one sided layout for a book in memoir (that is: each page shall have the same right and left margins) but I want the header and the footer to have different margins as well: the ...
1
vote
1answer
46 views

add a header on top of the page

I just want to add a simple text on top all (or the first) pages stating "FOR AUTHOR ONLY". However, I found it not very clear how to add that! Here is the code which I borrow from this topic ...
2
votes
1answer
42 views

twoside page number alignment on first page

I have a document which doesn't have the first page as "front", but rather the content follows immediately after \maketitle. It starts with: \documentclass[twoside,a4paper,12pt]{article} ...
1
vote
1answer
93 views

fancyhdr novel's pages need headers with CHAPTER ONE, TWO etc. spelled out

I'd like to use the fancyhdr package to have odd number pages with the chapter number spelled out, for instance, "CHAPTER ONE" OR "CHAPTER TWO" etc., and the even number pages with the actually title ...
1
vote
1answer
30 views

Removing number from a single page, but keeping the header?

How can I remove the number from a single page, but still have the header unchanged? I want to remove the number, and all the ways i have tried, the header is removed as well, or the header is ...
2
votes
1answer
46 views

Get sectionmark in fancyhdr without chapter number

I have been trying to get this done for hours, but I can't get it to work. I want the left header in my document to appear as the name of the chapter, no numbers. The right one (the one causing ...
0
votes
0answers
38 views

fancyhdr top page number

I am using following commands for page number in the upper right corner 0.5 inch from the top and 1 inch from the right edge of the paper. How to update the below mentioned command to get that ...
1
vote
0answers
147 views

Package Fancyhdr Warning: \headheight is too small (41.6pt):

I got this error today in my doc which worked fine for long. Package fancyhdr Warning: \headheight is too small (41.6pt): Make it at least 41.61469pt. We now make it that large for the rest of the ...
0
votes
1answer
71 views

Page numbering on the R/L corners?

I am writing a book-style document for children stories etc. I 've found a nice border for the page background of each paper, with a special place near the corner for each page-number. What I need ...
3
votes
1answer
111 views

Counter in fancyhdr not matching body

I'm trying to set a counter that says "x of 3" at the right header where x increments based on when I use \pgroup. However it shows "2 of 3" on the first page and then "3 of 3" on the second and third ...
1
vote
1answer
101 views

can't adjust header/footer width to text width APA6 class [duplicate]

I'm using the \documentclass[doc]{apa6} class to create a document, I decided to use the fancyhdr package but can't make it work, I tried with packages anysize and geometry but still not working. ...
0
votes
1answer
46 views

Header with Image: Page number disappearing after firstpage

When I compile the following code, there's no page number after the first page. If I comment out the Geometry command at the top of the code, the page number appears well beyond the printable page. ...
0
votes
1answer
65 views

Left and right text in header without Fancyhdr

Is there a way to write a header with left- and right-aligned text without using the package Fancyhdr?
0
votes
0answers
46 views

Headers and footers created in Fancyhead not shown in PDF (using Knitr)

New to latex and Knitr. I am trying to add headers/footers into a PDF in Knitr (using the xelatex driver). As a first go, I have tried just adding some text into the header and footer as per the ...
2
votes
1answer
108 views

Keeping header “on top” in landscape mode

When using pdflscape and fancyhdr, the headers also get rotated. Whilst it's a normal behaviour in most cases (especially when the document has to be printed), I am dealing with a report which will ...
0
votes
0answers
79 views

header footer chapter part page

I want to customize my report's header and footer according our institutation' requirements. I hope, 1. Table of Contents page: The first TOC page’s header is the report’s tile. and the other TOC ...
2
votes
1answer
113 views

Fancyhdr header: chapter name when there is no section

I have a problem with fancyhdr. My header shows on odd pages the chapter name, and on even pages the section name. However, I have a unnumbered chapter with no sections (the conclusions), and in that ...
1
vote
1answer
303 views

avoid \headrulewidth appearing at chapter beginning

I am using the following code set my headers. \fancypagestyle{plain} \fancyhf{} \pagestyle{fancy} \fancyhead{} ...
1
vote
1answer
145 views

how to add section number and name to the page header

I'm trying to modify the page layout of my thesis. I'd like to have at the top-right corner the section number and section title and at the top left corner the page number. Using the following: ...
1
vote
1answer
844 views

loading mps to pdf converter latex [closed]

\documentclass[a4paper,11pt,english,openright]{book} \usepackage[ansinew]{inputenc} \usepackage[english]{babel} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[centertags]{amsmath} ...
1
vote
1answer
98 views

How to include headers in first page of list of tables ,contents, etc

\documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{fullpage} \usepackage{sectsty} \usepackage{tocloft} \usepackage{epstopdf} \usepackage{fancyhdr} ...
6
votes
2answers
4k views

How to determine head height automatically

I'm creating three documents with three different headers, containing images or large banners. Is there a way to determine the head height automatically or even better a way to change the head height ...
1
vote
0answers
44 views

fancyhdr's and accentuated letters [duplicate]

I am writing my thesis, in french. I also use fancyhdr. In the head of the page I have the chapter title. I had no problems for the first chapters, but the third include accentuation. I then had error ...
5
votes
2answers
422 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
1
vote
1answer
53 views

Make your own pagestyle on TOC

I have the same page style but I want to change it on the TOC. I want my document look like the second one, so I would appreciate any idea. I want the TOC only with foot rule and page number on the ...