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

learn more… | top users | synonyms

0
votes
0answers
22 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
37 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} ...
6
votes
3answers
101 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
29 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
34 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
63 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
51 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
64 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
45 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
28 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
32 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} ...
0
votes
1answer
30 views

Fancy Header: Alternating Centered Headers

How can I can have centered chapter title on odd pages, and centered section title on even pages?
3
votes
2answers
59 views

Colorbox of page width, INCLUDING margins

I want to make a header like on the picture below: But I don't know how to force colorbox to overflaw in the margin. The best I got is: I try to use \hspace but it only moves the text: ...
0
votes
0answers
42 views

How to make a header show a continuing section's title?

Goal: I want the reader to know which section he is in, even if a section was page-wrapped. I've been using \renewcommand{\sectionmark}[1]{\markright{#1}} previously and then \fancyhead[C]{\sffamily ...
1
vote
2answers
46 views

How to make side label

How to make and control a side label similar like this? This example i made with code: \multirow{1}{*}{\begin{sideways} {\small This is my very very very ...
1
vote
1answer
54 views

How can I make pages after the first come out correctly with fancyhdr?

I am trying to write a recommendation letter with a fancy heading at the top of the first page, using fancyhdr. I copy my code below. The results are that the first page looks good but subsequent ...
2
votes
2answers
46 views

Using cfoot command

Here is my file \documentclass[11pt]{article} \usepackage{fancyhdr} \cfoot{abc} \begin{document} ab \end{document} As I understand from this website, the cfoot command is supposed to produce a ...
1
vote
1answer
48 views

How to change the header layout?

I am typing an article. I have used fancyhdr for the header and footer. Now my problem is that the header, which is set by default to the name of the section appears on the top right of all pages. I ...
0
votes
1answer
23 views

Title marking with titleps breaks when \tableofcontents is used

I asked a question about chapter/section marking in headers in a previous question, and got very helpful feedback from @Werner and @cfr. I discovered another problem when I implemented their ...
2
votes
1answer
41 views

Lower the first chapter title to put in a fancy header, have all subsequent pages look normal

I have several chapters in a book. I want a fancy header above the first chapter, so on this page the chapter number and title should be typeset a little lower than usual (below the header). All ...
5
votes
2answers
53 views

Choosing \firstmark and \botmark with \leftmark?

I'm very new to LaTeX, and I'm having a terribly difficult time understanding the marking system. I'm not really grasping what The LaTeX Companion and the fancyhdr manual are saying. I'm creating a ...
0
votes
1answer
65 views

Alternate fancy page header? left page = page number + chapter, right page = page number + section?

I currently use fancyhdr to display the chapter name and page number on each page. However, I would like to change this so that it displays the chapter on the left page and section on the right. I ...
1
vote
0answers
36 views

Creating a header with logo using fancyhdr

Iam pretty new to LateX and iam trying to display an image in the header using fancyhdr. Iam also using django to create a template, this is what I got: {% autoescape off %} {% load l10n %} ...
3
votes
2answers
59 views

How to reclaim space from removing headers and footers

I'm using the fancyhdr for headers and footers in most of my document, however there are some pages, such as the title page, for which headers and footers aren't wanted, and for these pages I've set ...
3
votes
2answers
189 views

Replacing \fancyhdr with \titlesec in complicated design documents

Thes page on the picture below (from this post) has been created within \fancyhdr package, but I need to something like this keeping incompatible \titlesec usage and using twopage layout. Really, I ...
0
votes
1answer
45 views

Fancyhdr: unwanted different header fonts in ToC and normal text

The header font in my ToC is different than the header font in the document. How can I change that? \documentclass[a4paper,12pt]{scrreprt} \usepackage[ngerman]{babel} \usepackage{color, ...
2
votes
1answer
35 views

Two lines with different width in the header using fancyhdr

I want create the attached header style for my document? Any suggestion?
2
votes
1answer
61 views

How to get a separate header only for the first page?

I cannot seem to figure out how to get one header on the first page and another header on all the rest of the pages. In particular I want to have a picture in the header on the first page, and some ...
2
votes
1answer
44 views

Increasing text body to pull page width and height

I am using fancyhdr and geometry to create a custom page where the text would fill as much of the page as possible. The document has other pages on as well but have been omitted as they are not ...
4
votes
1answer
45 views

How to change page number positions for with active \maketitle

I am trying to change the position of the page numbers from the bottom center to the bottom right. I tried using the fancyhdr package which seemed to be the most recommended way to solve this issue. ...
0
votes
0answers
54 views

Manually setting page headers using fancyhdr

How do I manually set page headers? In my example below, all the page headers are the same as the last instance of \rhead{7}. Is there any way to renew the page header to the first instance of ...
0
votes
0answers
55 views

fancy header table of contents

I have an issue with the fancyhdr package. I defined the headers for the document to be on top, and for the first page of each chapter I defined no header on top but the page number on bottom centre. ...
2
votes
1answer
37 views

How to use more than one color in the headrule using package fancyhdr

I would like to create some headrules with more than one color inside. The problem is that I get the following warning in the log : pdfTeX warning: pdflatex: pop empty color page stack 0 The ...
4
votes
2answers
55 views

rightmark without subsection?

Does anyone know how using \documentclass{article} and \pagestyle{fancy} to define the header to display only \section and not \subsection? Fancy I defined as follows: \fancyhead{} \fancyhead[LO, ...
1
vote
1answer
39 views

How to disable only header (not footer) for page with customized chapter heading?

Here is the minimal code on which I am working. Can the header action be postponed to next page. And clear the header only. \documentclass[12pt,a5paper]{memoir} ...
2
votes
1answer
50 views

Longtable breaks afterpage

My problem is that I want to have a certain footer on the first, or the last, page. The solution I've tried with is by using fancyhdr together with afterpage. Here is a working example, without ...
1
vote
1answer
52 views

Is it possible to use both long name and short name of the section in headers?

I'm using fancyhdr, and following this answer I have redefined \sectionmark as: \renewcommand{\sectionmark}[1]{\markboth{#1}{}} so that \fancyhead[RO,LE]{\leftmark} gives the name of the ...
0
votes
1answer
69 views

Rectangle as background for header

I'm having a horrible problem with fancyhdr and tikz that I was hoping you'd be able to solve for me. I've tried desperately to get a simple, colored rectangle to show up as background for my ...
0
votes
0answers
55 views

Trouble using fancyhdr. Stops working after two pages

I'm currently writing a thesis at school and have been trying to learn LaTeX the last weeks. I'm close to finished building up the document, but I'm having trouble with the fancyhdr package. My ...
3
votes
0answers
38 views

How to add a picture to Legrand Orange Book's header and footer [closed]

I tried to put a picture to Legrand Orange Book's header and footer by slightly modifying the structure.tex. \usepackage{fancyhdr} % Required for header and footer configuration \pagestyle{fancy} ...
1
vote
1answer
38 views

How can I remove the section title in the header on a specific page but keep the page number using fancyhdr?

Since days I am trying to remove the header on a page but to keep the page number. Here is my working example. The issue is that, when I remove the header using: \thispagestyle{plain}, it also ...
3
votes
2answers
60 views

My center header is not centered

I have the following code for my footer: \usepackage{fancyhdr} \lhead{} \rhead{} \chead{My very important and long title that is not being centered as I would like to \newline Very Myself} ...
0
votes
0answers
55 views

\lhead already defined error

I am writing my thesis by using isuthesis package. I want page numbers to come at the middle of bottom of the page. For that I thought of using fancyhdr package. ...
3
votes
1answer
61 views

Why do I see the first section title of a page in fancyhdr, not the last?

While this question asks how one can change from the default "show the last section of a page in the header" to "show the first section in the header" I have the reversed problem: The custom document ...
1
vote
0answers
67 views

Custom page numbers

I'm writing an article in Latex which I will print so that there are two pages per side. I want to number the pages as 1a, 1b, 2a, 2b, 3a, 3b, ... so that the two pages appearing on page 1 will be 1a ...
3
votes
4answers
192 views

Fitting fancyhdr's chead in a colorbox

I am trying to create a header using fancyhdr in which the rhead and lhead parts are two images, of the same and known size. In the center, I would like to put some text (perhaps the document's ...
7
votes
1answer
59 views

What is the difference between \\ and \linebreak in cfoot

\documentclass[a5paper,10pt]{article} \usepackage{array,tabularx,longtable,tabu} \usepackage{colortbl,tikz} \usepackage{lastpage} \usepackage{fancyhdr} \pagestyle{fancy} ...
4
votes
1answer
52 views

fancyhdr: Footer not centered after changing page geometry

MWE \documentclass{article} \usepackage{lipsum} \usepackage[showframe]{geometry} \usepackage{fancyhdr} \fancyhf{} \cfoot{something centered in footer} \lhead{\rule{\textwidth}{3pt}} \pagestyle{fancy} ...
1
vote
1answer
40 views

How can I make the header and footer on my first page the same as on all subsequent pages?

Various versions of this question have been asked before, but they either have special issues (such as a title page) or I simply can't understand the answer. Here is the start of my latex: ...
4
votes
1answer
89 views

How to add a copyright notice footer to only the first page of a document?

I have a conference paper that requires me to enter a copyright notice to only the first page of the document. I know that I can use fancyhdr to add this. I added the following to my document: ...