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

learn more… | top users | synonyms

0
votes
1answer
77 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
60 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
46 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
42 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
68 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
64 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
70 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
68 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
237 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 ...
8
votes
1answer
63 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
63 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
45 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
134 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: ...
1
vote
0answers
89 views

Question about headers and one inch margins

I'm writing an application for the National Science Foundation (NSF) Graduate Fellowship (NSF GRFP) and they require you to have one inch margins. As I want to put the title of the proposal at the top ...
0
votes
0answers
24 views

Suppress fancyhdr warnings

Is there an easy way to disable warnings from fancyhdr that my header isn't wide enough? I'm happy with how it looks, and it doesn't intersect text, etc.
1
vote
1answer
50 views

New list environment not working in class file

Sorry in advance for the length of this one.... The following MWE contains an enumerate environment I defined: \documentclass{memoir} \usepackage{multicol} \usepackage{enumitem} ...
2
votes
3answers
72 views

custom footer on title page using \maketitle and book document class

I'm trying to add a custom footer to the title page of my thesis, in order to insert some text that is required by my university. I'm using fancyhdr to do so. However, the footer appears on the second ...
4
votes
1answer
96 views

It doesn't displayed \section name, number… at header in \tcolorbox

I am trying about section's in tcolorbox. My code is \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=6cm,marginparsep=.5cm, ...
0
votes
1answer
63 views

\headheight Problem

I'm using LuaLaTeX of latest TexLive 2014 on Windows 7. I want to overlap headers (page numbers) and documents. My code is as below: \documentclass[a4, 10pt]{article} \usepackage{fancyhdr} ...
1
vote
1answer
80 views

Glossaries and custom section headings broken

I've a document, where I use the glossaries to manage acronyms for me. Sometimes, I use a \gls{} command inside a section heading, and I have defined page headers to have the current section heading. ...
0
votes
1answer
92 views

Page Numbering and Header Problem, with Margin and Multicols

1) The chapter page with margin, page numbering is not in the center. My code is, \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
3
votes
1answer
177 views

Latex - Headlines with Chapter (left = even page) and Section + Subsection (right = odd page)

I would like to format my headlines like that: left page: left side: Chapter x, right side: name of chapter rigt page: left side: subsection, right side: name of subsubsection but only if there is ...
0
votes
2answers
157 views

Insert footer on chapter page but NOT header

this may or may not seem to be a weird thing to want, but I would like to have a customized header on all my pages, except the first one of each chapter, ToC, ..... Furthermore, I would like to have a ...
0
votes
0answers
81 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
66 views

\vspace (\section?) misbehaving in amsart document

In the example below, I wanted to reduce white space above the first section header (it seems to be improperly or at least variably placed), and when trying to use \vspace{} above the first \Section{} ...
1
vote
1answer
74 views

how to put header (and footer) on title page with correct positioning?

I tried to use fancyhdr package and the result I have with the output is as shown here. The screenshot shows the junction between pages (bottom of) 3 and (top of) 4 (both header and footer being the ...
0
votes
0answers
40 views

How do I disable headers and footers in the exam class?

I am writing a very large class file for my University, which can generate different kinds of documents (depending on the kind of options). One of the types is an exam. All these documents have to ...
0
votes
1answer
107 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} ...
0
votes
0answers
32 views

fancyhdr clearing first page of a chapter

Hi have already a working fancyheader, but it is also showing on the chapter beginning which I want to avoid (see attachment). \pagestyle{plain} % reset page numbering to 1,2,3,.. ...
1
vote
0answers
78 views

Help with a footer/header/pagenumbering in a greater project in LaTeX documentclass book

I just wanna make a nice template for some greater work e.g. thesis. But I have a lot of trouble. I tried to make the pagenumbering start after the table of contents. But for some reason it doesn't ...
1
vote
1answer
890 views

Undefined control sequence by reference LYX, MikTex

For each reference I put in to the document, I get the following error message. What should I do? Undefined control sequence Document Class: scrreprt 2013/12/19 v3.12 KOMA-Script document class ...
3
votes
1answer
127 views

How can i remove the header on the first page of my sections, but keep the footer?

i need some support with my headers and footers. Actually my expectation was that Latex was good right at these type of things, but i'm very confused that i don't get it sorted out. I have the ...
3
votes
1answer
69 views

Header/Footer and isov2 document class

I am currently using the isov2 document class. I would like for a header/footer to be on every page (it varies from even to odd). I am using the current code from the fancyhdr package. % Header and ...
6
votes
1answer
80 views

Prepackaged tikz routine

I would like to have a single definition of my company logo. Right now, I have it defined to just fit on a letter sized paper. It is completely defined in TikZ filled paths. As you would expect, it ...
4
votes
1answer
114 views

Thesis chapter headings, any suggestions?

I've found a thesis with really beautiful chapter headings that I would like to use. What package am I going to need and how would I go about creating a heading that looks like the one below. Also, if ...
3
votes
1answer
95 views

Remove or Change heading on certain Chapters

I have headings in all my chapters (on the top corner stating which chapter you are reading), however at the end of my document I have a chapter which is not numbered as my appendix and glossary. For ...
2
votes
1answer
104 views

How do I insert the section name into the header?

I'm trying to use fancyhdr to put the current section name into my header, but the below code just returns a blank header. I can display the current page number without a problem. ...
4
votes
1answer
282 views

\chaptermark in tikz header (book design)

How can I add the current chapter and section to the node? \node[color=white, anchor=west] at ($(current page.north west) - (-10ex,3.5ex)$) {\ifnum\value{chapter}>0 \thechapter.~\chaptermark\fi}; ...
0
votes
1answer
37 views

fancyfoot page numbering is overwriten at TOC and List of Fig pages

I want to have the page numbers on the left of even and right of odd pages. So I did the following \usepackage{fancyhdr} \pagestyle{fancy} \fancyfoot[LE,RO]{\thepage} \cfoot{} This works fine ...
5
votes
2answers
84 views

How to clear footer for the last page?

In the preamble of an exam I am creating, I currently have: %headers, footers \usepackage{fancyhdr} \pagestyle{fancyplain} %header \fancyhf{} % sets both header and footer to nothing ...
1
vote
2answers
118 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. ...
0
votes
0answers
24 views

Header appearing in second page of TOC, when it shouldn't

I have recently made some changes to my document, using the geometry package to change its margins. But after I've done this, the fancy header I'm using started to appear in the second page of the ...
1
vote
1answer
39 views

Misaligned fancyhdr footer when using color [duplicate]

Strangely, using {\color{}} in \lfoot{} is causing my footer parts to misalign. This code \documentclass[11pt,a4paper]{article} \usepackage{fancyhdr} \usepackage[pdftex]{color,graphicx} ...
5
votes
2answers
125 views

How to hide header only in first page of each section with fancyhdr?

I want the header to be empty in the page were section begins and showed in the other pages. How can I do that? \documentclass[12pt, titlepage, onecolumn, a4paper]{article} \usepackage{lipsum} %% ...
1
vote
1answer
62 views

move margin of pages for bookbinding

\documentclass[a4paper,12pt,openright,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{booktabs} ...
1
vote
0answers
111 views

Fancyhdr problems with regular footnote!

I am using fancyhdr package. I want a fancy footer but, also want regular footnote to come...is there some way to do both? My code is as follows: \documentclass{article} \usepackage{fancyhdr} ...
0
votes
0answers
64 views

Section spacing suddenly dynamic

I'm using LaTex in combination with MikTex and just recently introduced the fancyhdr package to my thesis. For some reason, when using the \subsection or \subsubsection commands I sometimes get the ...
2
votes
0answers
70 views

table of contents modification with fancyhdr [closed]

I am using the fancyhdr package in the article document class. I would like all pages (including the table of contents page) to have the header and footer that I prescribe in the preamble. I would ...
1
vote
1answer
241 views

Fancyhdr vertical overlap with body section title

I am writing up a product report, and building my header with fancyhdr. On the first page, the section header (in the body) is overlapping with the page header, as shown here: This is not repeated ...
1
vote
1answer
63 views

fancyhdr does not display chapter name

I am using the fancyhdr package to create the headers and footers in my document. I wanted to display the chapter name on the left side of the page, so I defined my header like this: ...