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

learn more… | top users | synonyms

0
votes
0answers
9 views

footruleskip already defined error when remove header line - abntex2

I'm trying to remove the line of the header. Doing some searches, the best answer was \renewcommand{\headrulewidth}{0pt} but when I add the package fancyhdr I get an error saying that the footruleskip ...
1
vote
1answer
24 views

How do I remove header and footer from contents page and list of figures

This is the code I've used for the header and footer. How do I remove header and footer from contents page and list of figures? \usepackage{times} \usepackage{fancyhdr} \usepackage{graphicx} ...
0
votes
0answers
24 views
5
votes
2answers
48 views

Wrap page number in colored box in footer

I a looking for a way to achieve the following outcome for the page numnbers in my footer created using fancyhdr: My current code in a stand-alone example looks like this: ...
1
vote
1answer
35 views

fancyhdr and chapter*

I'm using fancydr like this: \usepackage{titlesec} % Normal chapter titles \titleformat{\chapter}{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
3
votes
2answers
29 views

Remove header from the page after TOC and LOF

I am using Koma-script book document class, twosides, and I also use the package \fancyhdr to modify my pages. The problem is that header appears both in the next page after TOC and after LOF, so I ...
2
votes
2answers
31 views

How to get rid of the “chapter” word with \leftmark?

I'm using fancyhdr to make customs headings and I would like to know if there is a way to get rid of the "chapter" when I use \leftmark in my header ? The document is in oneside report. Thanks !
1
vote
0answers
20 views

Remove header in fancyhdr with new sections

I'm writing my thesis in LyX with the article class. I want my headers to have the "Section X. " except for the pages where the new sections start. Is there any way to do this? My current code is as ...
1
vote
1answer
27 views

Typesetting Error using TeXworks

I am trying to make a minor tweak to a template using TeXworks. I am new to LaTeX so forgive me for my ignorance. The file type is pdfLaTex. When making the slight adjustment and clicking the green ...
4
votes
1answer
57 views

how to use fancyhdr package to customize headers in landscape page

I have used the fancyhdr package to customize the header of my pages. However, when I want a page to be landscape (by using the pdflscape package), it does produce a page in landscape orientation, but ...
1
vote
1answer
12 views

Header: no number for references page

How can I make sure that the references page has no number in the header (i. e., I still want a header, but without a number). MWE with the problem: \documentclass[]{article} \usepackage{fancyhdr} ...
1
vote
1answer
21 views

Right align header not working

I'm trying to align my header to the right side but it is not going all the way to the right. Here is a minimal example (I'm including my margins in case that is part of the problem? I honestly ...
1
vote
1answer
51 views

Header with section name

I am writing an article document, without parts so the biggest item is the section (I also use subsection and subsubsection) in LaTeX and I am trying to configure the header so that : for each ...
1
vote
0answers
31 views

Can't redefine page style in book class

I have derived a class from the standard book class. I want to redefine the header and footers. But if I use the following code \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} % ...
3
votes
1answer
54 views

How to replace fancyhdr to a right scrbook way?

I've seen is not right to use fancyhdr with scrbook, i've got a code with fancyhdr and i want to replace it to scrbook. This is the code: \usepackage{fancyhdr} \pagestyle{fancy} \lhead{TEMA 13} ...
2
votes
2answers
44 views

Being able to define headers by hand in each part/chapter of a book

Consider the following code inspired from egreg's answer to this topic: \documentclass[11pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} ...
2
votes
2answers
43 views

fancyhead gradient doesn't match bg colour

I have a "fading line" from white to grey in my header. I wanted to add a page with a different background colour, and therefore fade from this colour instead of white. The problem is that the start ...
5
votes
3answers
85 views

Header and footer for a book using: part on even page and chapter on odd page

My goal is to realize this layout for a book (possibly using fancyhdr, but I'm open to everything): where the current layout is represented in grey. In other words, I want : to put the page ...
1
vote
1answer
29 views

Header line doesn't span width of page

I am using the following code to create a header using fancyhdr: \documentclass{report} \usepackage[margin=3.0cm]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} ...
0
votes
2answers
83 views

TOC and header versions of section titles (titlesec interferes with fancyhdr)

I am working on a long document with many chapters, using report class. I would like to have three different versions of certain section titles (long for document, medium for TOC, and short for ...
2
votes
2answers
41 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}{ ...
2
votes
1answer
46 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
41 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
57 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
65 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
110 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
39 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
59 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 ...
4
votes
2answers
56 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
59 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?
0
votes
1answer
39 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
25 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, ...
2
votes
2answers
60 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
43 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
53 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
41 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
50 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
31 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
86 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
103 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
52 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
82 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
50 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
61 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
37 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
88 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
123 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
0answers
280 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
88 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 ...