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

learn more… | top users | synonyms

0
votes
1answer
27 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
27 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
25 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
29 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
17 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
21 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
18 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 ...
1
vote
1answer
70 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 ...
0
votes
0answers
63 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
48 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 ...
0
votes
0answers
28 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 ...
0
votes
1answer
25 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
44 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
23 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 ...
0
votes
0answers
51 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
52 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 ...
2
votes
1answer
46 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
89 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} ...
1
vote
1answer
39 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 ...
2
votes
1answer
39 views

Missing Chaptername in Header with fancyhdr

I changed my fancyhdr settings, but it doesn't look as I want to. Just look at my example below and use pdflatex. On the second side of the pdf, the headers text should be: "Chapter 1: MyChaptername" ...
1
vote
0answers
43 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 ...
3
votes
1answer
58 views

How can I customize and use the \leftmark and \rightmark commands with custom fancyhdr styles?

Question How can I put the section name in the top right header on every page of my custom style mainmatter, but without the number. I do not want any subsections: ONLY SECTIONS. Problem First of ...
0
votes
0answers
24 views

Fancyhdr line is too short: How to make it longer? [duplicate]

How can I make the headerline longer? At the moment it looks like this: Minimal Example: \documentclass[a4,12pt]{article} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage[top=1.5in, ...
2
votes
1answer
50 views

Add Chapter Title to Header - without “Chapter 1” [duplicate]

I'm looking for the way (assuming there is one) of putting the current page's chapter title in the header of the page. Basically, what I want is: where only the chapter's title ("First Chapter" in ...
4
votes
2answers
73 views

Sections : Suppress numbers but retain title in header

I've found an answer to my question for a Memoir Class (Memoir class: turn off section numbering but still have header), but I can't get it to work for a book. Basically, I want to suppress the ...
1
vote
1answer
62 views

Part and section in fancyhdr header of (article documentclass) [duplicate]

I'm using the fancyhdr package in an article with the following code \fancyhf{} \fancyhead[LE,RO]{\thepage} \fancyhead[RE]{\textit{\nouppercase{\leftmark}}} ...
3
votes
2answers
75 views

logo at the left & right at the header of a Book (two sided)

I want to add logo in the header of a book. The logo should be either at the left or at the right corner w.r.t odd/even page. Please help me to correct my code: \documentclass[ paper=a4, % it's the ...
4
votes
1answer
68 views

Getting a constant distance between footnote and fancy footer

How can I configure the distance between the two? There seem to be a lot of resources dealing with the distance between text and footnote, but not for footnote and footer. My document has multiple ...
3
votes
1answer
38 views

Twoside footer produces extra vertical space

The below code produces the correct spacing for odd side pages but incorrect spacing for even side pages. Correct spacing: Wrong spacing: In my attempt to optically distinguish between the two ...
4
votes
2answers
72 views

Header in fancyhdr

Alright, so I'm using fancyhdr with the default options. I have some sections, where I'd like it to appear different in the TOC. This is accomplished like so: \section[test (in the TOC)]{test} In ...
1
vote
1answer
78 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 ...
1
vote
1answer
42 views

FancyHdr header problem [closed]

I have tried many different methods to solve this, by I can´t figure it out. Why is it when using fancyhdr that my header isn't parallel with the text. My code is included, thanks for the help ...
0
votes
0answers
31 views

Split a string variable when using fancyhead in Latex

I am using fancyhdr for my reports class. I store the name of the assignment in a variable. Then I place its contents in the top-right of each page except the first one. Besides the top-right I also ...
2
votes
1answer
54 views

Place a series of images in the upper right corner?

I would like to place a series of photos (image_1.png,...,image_54.png) from a file named flip_book_animation, in the upper right corner of every page starting from the seventh page onwards. The ...
2
votes
1answer
43 views

Spacing between lhead and rhead content while wrapping

I am having troubles with wrapped text in the header. At the moment it looks like this: And this is how I would like it to look like: This is my code: \documentclass[12pt,a4paper]{article} ...
4
votes
2answers
125 views

How to put pagenumber inside a tikz \node attached to the edge of the page?

My attempts \documentclass[12pt,twoside]{book} %------Tikz------------------------------------------------ \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{ positioning, shapes, shapes, ...
2
votes
1answer
42 views

Reduce space between header and headrule in standard fancyhdr, no dotfill required

I want to reduce the space between the headrule and the header itself in the standard fancyhdr package. All topics with similar title did not gave the solution for me. Please help me with this simple ...
0
votes
0answers
43 views

Unwanted chapter titles with fancyhdr package in twosided book class [closed]

I am using a two-sided book document class. I want to include the title of my book at the inside margin and the page number at the outside margin of the header. For that reason, I use the package ...
4
votes
1answer
42 views

override \scshape in fancyhdr

I would like to be able to disable the \scshape for a specific word in the title of a subsection. For example when using $\mathfrak{}$. Here is the parameters I have set for the layout. ...
1
vote
1answer
65 views

Malplaced minipage in fancy header

I have a rather complex layout for a letter. It needs to have a certain part of a header on every page while another part should only be shown on the first page. The whole thing can be found here: MWE ...
1
vote
1answer
64 views

Fancyhdr: How to change from lower case Roman numbers to upper case Roman number the pagenumbering of the preamble?

I am using the book class and I need to change the numbering of the first pages from lower case Roman numbers to upper case Roman numbers. I am using something like this: \usepackage{fancyhdr} ...
7
votes
3answers
154 views

two different framed box in running head using fancyhdr

I would like to get the two different filled framed box in the odd and even side running head. Expected are: my MWE is: \documentclass{book} \usepackage{fancyhdr} \usepackage{tikz,lipsum} ...
0
votes
1answer
38 views

LaTeX: diplay two headers over a two-column page

I need to make a header using a package like fancyhdr that spans only one column of my two-column page. the code is here
3
votes
1answer
42 views

alignement problem with table and fancyhdr

I'm having a problem with allignement in header handled with fancyhdr. Here is my code \documentclass[a4paper,italian,10pt]{report} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
0
votes
0answers
101 views

Problem with Fancyhdr, doesn't shows headers at any page

I'm trying to create a document in Latex which satisfies the following features: First page of each chapter, without header-body. All other pages, with its respective header and footer. But the ...
1
vote
1answer
60 views

`fancyhdr` and automatic line length

I want to create a template for notes and I was thinking to use fancyhdr package. So far I face two problems: [1] I don't want the header in the first page, but only the footer [2] I would like to ...
1
vote
2answers
96 views

How to insert a running heads after Opening Page?

After Opening Page running heads should always be [running authors], no matter what's the page number (Odd/Even). Then the next page should be [short Title]. Opening Page - Empty Second Page - ...
4
votes
1answer
53 views

Typeset \part in document without affecting head, ToC

Is there a way to influence typesetting of \part{} within the document, but without at the same time affecting it in ToC and the page headings? I have several different parts – in my minimal example ...
0
votes
1answer
58 views

fancyhdr: Wrong page number for chapter* in the prefix [duplicate]

In my thesis I have a list of abbreviations between the list of tables and the first chapter. I want to continue the page numbering from the other prefix parts (roman) and then switch to arabic with ...
0
votes
1answer
34 views

Header graphic dissapear from first page when using \thispagestyle{plain} in the second one

I'm using the fancyhdr command to incorporate a header in the first page of a document. This is the code I wrote: \thispagestyle{fancy}\hspace{0.2cm} ...