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

learn more… | top users | synonyms

2
votes
1answer
194 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
66 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
345 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
184 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
85 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
199 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
113 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
86 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
241 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 ...
0
votes
0answers
114 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: ...
3
votes
1answer
538 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
387 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
77 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
85 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
132 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
628 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
114 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
253 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. ...
0
votes
0answers
619 views

loading mps to pdf converter latex

\documentclass[a4paper,11pt,english,openright]{book} \usepackage[ansinew]{inputenc} \usepackage[english]{babel} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[centertags]{amsmath} ...
2
votes
1answer
55 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
430 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
208 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
172 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
605 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
346 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
434 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
171 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
308 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
631 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
494 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
320 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
732 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
111 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
131 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
401 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
311 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
644 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 ...
0
votes
0answers
128 views

How to change the headers of the ToC when using `fancyhdr`/`extramarks`?

WIth fancyhdr, one must use the package extramarks to get the headers of the subsections right; but for the old hack: \markboth{WEWFE}{ONWOOQ} no longer works. For the section headers I use ...
5
votes
1answer
52 views

Interpreting a part of a code

I have the following code for header definition: \pagestyle{fancy} \fancyhf{} \fancyhead[RO]{\nouppercase{\emph{\rightmark}}} \fancyhead[LE]{\nouppercase{\emph{\leftmark}}} ...
6
votes
1answer
1k views

The problem of fancyhdr and leftmark /rightmark for the bibliography with biblatex

There is the well know problem of empty marks with latex but fortunately there is a hack for the content to appear only once in the header; but for the bibliography with biblatex, it does not seem to ...
3
votes
1answer
204 views

New header every new chapter included in master document

I am using Bookclass and created several book chapters (each has its own author). Each book chapter need to have a heading on the first page of the chapter with the name of the book series and year. ...
1
vote
1answer
688 views

Fancy header in bibliography

I would like to add a custom style to my bibliography. With this code: \phantomsection \addcontentsline{toc}{chapter}{\bibname} \bibliographystyle{unsrt} \bibliography{mybib.bib}{} ...
1
vote
1answer
324 views

How to align header/footer

I want to get left border of the header, please see below, to the tip of the section title and the right border to the end of the text. I use fancyhdr package and the code is: ...
1
vote
1answer
496 views

fancyhdr package not working proprely

I'm trying to numerate pages depending on even and odd and add chapter name the left part of the header and section name to the right. here's the code, \usepackage{fancyhdr} \pagestyle{fancy} ...
4
votes
2answers
120 views

Different footer position in different pages

I am creating document with headers and footers. The problem that I faced with is that I cannot get nice view of first and the other pages: different spacing is set. See my code and picture. ...
2
votes
1answer
2k views

letter class with header

When I create a letter using the standard letter class, and try to create header using fancyhdr package, the header never displays even after using \thispagestyle{fancy}. I do not like to use ...