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

learn more… | top users | synonyms

1
vote
1answer
172 views

fancyhdr with 2 different fonts

I need to write a footer with these requirements: Font for footer – page # Garamond 12 regular, right upper corner, start page 1 with title & authors (after cover page) · Rest of the footer. ...
3
votes
1answer
95 views

Strange behaviour of hyperref with colorlinks=true in conjunction with fancyhdr

I found something that seems like a bug in hyperref, namely, I'm adding clickable labels at the bottom of the page with fancyhdr (see tex.stackexchange.com/q/51574), and a single option in the ...
2
votes
1answer
114 views

Change font size enumeration

I have the following LaTeX code to format page numbers: \pagestyle{fancy} \fancyhf{} \fancyhead[R]{\thepage} \fancyheadoffset{0mm} \fancyfootoffset{0mm} \setlength{\headheight}{17pt} ...
3
votes
1answer
631 views

List of Figures header not correctly modified by markboth

I use the markboth command to modify the header of the list of figures as shown in the code below. I want the header to display "List of Figures" on the bind side of the page (I use double sided ...
4
votes
1answer
423 views

Reduce space between header and headrule

Problem I'm trying to create fancy headers for my documents using fancyhdr. I want the headrule to be dotted, which can be achieved using \renewcommand{\headrule}{\vbox to 0pt{\hbox ...
7
votes
1answer
315 views

Show chapter name in fancyhdr when no section is available

The following code shows only section names in the headers. \documentclass[12pt,a4paper,oneside]{report} \usepackage{fancyhdr} \usepackage{lipsum} \pagestyle{fancy} \fancyhf{} ...
0
votes
0answers
79 views

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

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. ...
2
votes
1answer
85 views

How to edit header of one page of book class?

I use the book document class and make the headers with fancyhdr: \documentclass[12pt, a4paper, reqno, oneside]{book} \usepackage{amsmath,amsxtra,amssymb,latexsym, amscd,amsthm} ...
0
votes
0answers
24 views

How to put \title in the header? [duplicate]

I am just starting with TeX so please be tolerant for my lack of knowledge. I am using fancyhdr for footers and headers and I would like to put the title from \title into \fancyhead{} How can I do ...
2
votes
1answer
198 views

Problem with fancyhdr

I use package fancyhdr for make header and footer. I want to auto quote text in the chapter for right header. I use : \rhead{\thechapter} when latex show for me the number of chapter not text. Can ...
6
votes
1answer
68 views

Why doesn't fancyhdr like random numbers?

In the following MWE I use \lhead{\stepcounter{step}\arabic{step}} and it works perfectly, incrementing by 1 each page. I also use \chead{\setrand{100}\arabic{rand}} and get the same number every ...
2
votes
1answer
385 views

Change margins for all, but the first page [duplicate]

I've read Setting different margin sizes in different pages and Change \textwidth and \textheight in mid-document, but it doesn't work to well for my use case. I'm using the geometry and fancyhdr ...
8
votes
1answer
204 views

How to get Part in header?

I am writing my master thesis in LaTeX. I am using the book document class and the fancy fancyhdr package. Now, I would like to have the "Part" on even and the "chapter" on odd pages. I read one of ...
1
vote
0answers
89 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 ...
3
votes
1answer
204 views

Problems with documentclass{book} and utf8, prerenderunicode

I'm trying to write a book-like report in Greek, so at the beginning of every even page the name of the chapter is appeared and at the beginning of every odd page the name of the section is appeared. ...
4
votes
2answers
120 views

Don't want headers on ToC, Lists, Bibliography and Appendices

I'm using the fancy headers, but I dont want any headers on ToC, Lists, Bibliography and Appendices. If I put this \thispagestyle{plain}, it works on the last page, but when it has for example the ...
5
votes
3answers
87 views

Remove footer (page number) in documents that are one page long

When I create a document that has but one page, I see no reason to have a page number in the footer. I would like to remove this. There is, however, apparently no such equivalent to ...
1
vote
0answers
254 views

Tufte-Handout and Fancyhdr: How to make thumb-index? [closed]

I'm writing a small booklet for my med school, so that when I'm in the clinic I can have all the most important informations about something in a couple of pages. This is why I found tufte-handout ...
1
vote
1answer
127 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: ...
4
votes
1answer
612 views

multiline using fancy footer

A simple question. Multiline in footer. centered and leftmost text is ok, but i am not able to do righ footer multine. The first line always go to the center. \documentclass[a4paper,10pt]{article} ...
1
vote
1answer
398 views

chapter-first page-fancyhdr: hide title, but keep page number

In my diss (book document), I have headers (chapter title and page) appearing on chapters' first page as well. For each first page, I would like to remove the chapter name, and just keep the page ...
0
votes
1answer
62 views

Trying to insert a picture but when using graphicx package footer moves to the bottom of the page [closed]

When i put that i am using graphicx, my fancyhdr footer moves to the very bottom of the page? How can i stop it from doing this?
0
votes
1answer
79 views

Square Brackets Within Brackets (was: Twopage Graphics in Headers)

How can I scale graphics on alternate pages using fancyhdr from within a template that other corroborators use? The first listing below is a working example, and the second is the failing example. ...
2
votes
1answer
87 views

Managing different page styles' name and definition

I have two main questions: How to copy a page style under a different name? How to create a new page style based on an existing page style? For example, to add a footer to an existing page style.
5
votes
1answer
139 views

XeLaTeX size of Indic script in header

I am using XeLaTeX (TeX Live 2012 on Windows) and my Sanskrit document is entirely in Devanagari. Even the page numbers, section numbers and section names are in Devanagari. I use fancyhdr but quite ...
2
votes
1answer
685 views

scrartcl and fancyhdr: Strange spacing behaviour

Consider the following piece of code: \documentclass{scrartcl} \usepackage{ifthen} \usepackage{fancyhdr} \pagestyle{fancy} \lhead{} \chead{ \ifthenelse{\equal{\thepage}{1}}{}{ ...
3
votes
1answer
118 views

New textwidth for End Matter (but preserve fancyhdr)

Can anyone suggest a strategy for changing the textwidth for the end matter, but preserving the look of fancyhdr, whose offset is calculated using the old geometry. Can't seem to get \newgeometry to ...
3
votes
1answer
275 views

Conflict between exam class and fancyhdr package

With the code below: \documentclass[answers,a4paper]{exam} \usepackage{fancyhdr} \begin{document} hello world \end{document} I get the build error: ! LaTeX Error: Command \lhead already defined. ...
1
vote
1answer
675 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} ...
2
votes
1answer
57 views

Delaying header until page 2

I have \documentclass[12pt]{article} \usepackage{fancyhdr} \pagestyle{fancy}\lhead{Personal Statement} \rhead{2013} \chead{{{\bf Name}}} \lfoot{} \rfoot{\bf \thepage} \cfoot{} which gives me a ...
6
votes
1answer
451 views

Problem with \chapter* and fancyhdr

I'm having a problem with \chapter*{} and fancyhdr. I want to start the first chapter of my thesis with a introduction section, appearing in the TOC but without numeration, that's why I use: ...
4
votes
1answer
213 views

fancyhdr moves the header on first page after title [duplicate]

In the code below I have the problem that the 'TOO HIGH' on the first page after the title page is shifted into the header. I want this on the same height as the 'IN THE RIGHT PLACE' on the second ...
3
votes
1answer
181 views

Custom header in LaTeX

I have a header template that is based on boxes, which looks like this: \documentclass[10pt,a4paper]{article} \usepackage[MeX]{polski} \usepackage[utf8]{inputenc} ...
2
votes
2answers
657 views

Trying to change fancyhdr

so far that's my code: \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \fancyhf{} ...
6
votes
1answer
357 views

glossaries \leftmark and \rightmark not translated

I was trying to make an article in french with a glossary (glossaire in our weird tongue), and I noticed that, even if I did manage to set the translation right for the body, the \leftmark (or ...
9
votes
2answers
453 views

Decrease space between paragraph and header

How can I decrease the white space marked with blue? I tried \vspace with negative marks but to no avail (it normally does the trick but not this time). I am using the 'fancyhdr'-package. ...
4
votes
1answer
195 views

Remove Footer without removing the header

I created a header and footer using fancyhdr. I want to remove the footer from a particular page without touching the header. I tried changing the page styles but nothing worked. any idea?
4
votes
1answer
323 views

Horizontal Line in footer which ignores the margin

How can I add a horizontal line in the footer which spans the entire width of the page? \renewcommand{\footrulewidth}{0.4pt} is giving a line which is inside the margin only.
6
votes
1answer
660 views

fancyhdr - Header Line is removed on beginning of chapter

When compiling the code below, there is no line in the header in the beginning of the chapter. How do I change it such that the header looks the same on all pages? Thanks \documentclass{report} ...
3
votes
1answer
522 views

Header and Footer offset in Exam Document Class

I am using the exam document class and I want to implement a layout where the headers and footers span over both the text body and the margins. I tried using the \fancyhfoffset command from the ...
0
votes
1answer
88 views

Using fancyhdr to handle headers of different sizes [duplicate]

I want to use fancyhdr in the letter document class to define a custom header for the first page only. I know that I can use \fancypagestyle to do this (as is discussed here), but the problem is that ...
2
votes
3answers
1k views

problem having copyright notice and header at the same time in IEEEtrans template

I have problem having IEEE copyright notice and Conference header both at the same time in the first page of my paper that uses IEEE Trans class. I notice that \thispagestyle{fancy} makes the ...
3
votes
1answer
331 views

LyX + fancyhdr issue on chapter

I have a LyX document in which I have set a standard header, as is \fancyhf{} \fancyhead[EC]{\leftmark} \fancyhead[ER]{\thepage} \fancyhead[OC]{\leftmark} \fancyhead[OL]{\thepage} And I have ...
7
votes
1answer
774 views

How to configure Table of contents itself?

The aim is to manually configure the page(s) the TOC itself. The font size of TOC name. Also I need to configure pagestyle of this(these) page(s) The components by using \titlecontents I've already ...
3
votes
1answer
114 views

header-footer configuring

Need to start page numbering from the n-th page (in this case 6); used ifthen and fancyhdr packages. So, no dotted lines since page 6 and page 5 is already numbered. \usepackage{ifthen} ...
1
vote
1answer
136 views

Bottom margins for two title pages are not equal

For thesis it is needed two title pages but in my code page layouts are not equal. Problem is in the bottom of the page. the part of the code is: It is the cls file. Update: the problem is with the ...
3
votes
1answer
412 views

Configuring the thesis

I'm having some problems to configure the thesis. I use some template for .cls file from the web I tried to configure by myself and the attempt was failed. So list of problems are: Page layouts for ...
4
votes
2answers
174 views

Flexible, user-generated text in fancyhdr

I'm working on a scholarly edition of a philosophical manuscript and looking for a way to have fancyhdr display the page break of the original MS. In the text I put "|" at the position of the page ...
3
votes
1answer
326 views

Nomenclature header problems

I'm writing a document in book class, using the fancyhdr package. I have both an index, and a symbol list, for which I use the imakeidx and nomencl packages. I had problems with getting the right ...
4
votes
1answer
672 views

TikZ picture in header with opacity

I have a very similar problem mentioned here. But I like to put a tikz logo with transparency in the heading of the document using fancyhdr. If I compile the example below by enabling any of the two ...