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

learn more… | top users | synonyms

3
votes
1answer
690 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
2k 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
63 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 ...
7
votes
1answer
947 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: \chapter*...
4
votes
1answer
332 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
306 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} \setlength{\...
2
votes
2answers
2k 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{} \fancyhead[LE,RO]{\nouppercase{\thepage}...
6
votes
1answer
527 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
1k 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. \...
5
votes
1answer
1k 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
738 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
1k 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} \...
4
votes
1answer
1k 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
132 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
3k 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
531 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
2k 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
142 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} \usepackage{...
1
vote
1answer
180 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
540 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
220 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
822 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
1k 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 ...
5
votes
1answer
58 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}}} \fancyfoot[RO,LE]{\...
6
votes
1answer
2k 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
331 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
1k 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}{} \thispagestyle{...
1
vote
1answer
881 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: \documentclass[10pt]{...
4
votes
1answer
2k 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} \...
5
votes
2answers
181 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
6k 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 KOMA-...
3
votes
2answers
629 views

Why does my header disappear from front page using fancyhdr?

I am writing a letter and using fancyhdr to use a pdf file as a header. It is a two page letter, and I have specified the header to be on both the first page as well as the subsequent pages. ...
9
votes
1answer
2k views

Warning “Command \@makecol has changed.”

When I compile my document I get the following warning Command \@makecol has changed. TexStudio points to the file footmisc.sty. Of course I've tried to install its latest version (2011/06/06 v5.5b) ...
3
votes
1answer
1k views

Fancyhdr header goes on top of main text

I have a problem with headers and footers. When im making header, it goes on the top of my text. Maybe someone can help to fix it. \documentclass[11pt,a4paper,oneside]{article} \usepackage{fancyhdr} \...
2
votes
1answer
990 views

Double line for header/footer rules

I want to create a fancy header/footer rule in Exam document class. I have tried what is at http://tex.stackexchange.com/questions/89569/custom-header-footer-rules-fancyhdr and Custom header/footer ...
4
votes
2answers
2k views

package fancyhdr: no dot behind chapter number in header

I am using a university template and want to modify it just a little bit. How can I remove the dot behind the chapter in the headings? Here is a "minimal" example. \documentclass[paper=a4 , twoside=...
5
votes
1answer
296 views

different sized page numbers due to \usepackage{helvet}?

I am at the end of finishing my thesis and after printing it out for final corrections I recognized that the sizes of the page numbers differ sometimes. For example page "10" and page "11". Especially ...
2
votes
1answer
357 views

Problem with geometry and headers

I am trying to setup the margins such that from the top of the header text and the bottom of the footertext there is exactly 1.5cm space. I was not able to achieve this so far and I would highly ...
5
votes
2answers
518 views

Change pagestyle to plain for first page of an unnumbered chapter

I'm writing my undergrad senior-thesis (at a German university) with the following specifications: \documentclass[12pt,headsepline,footsepline]{scrreprt} \usepackage{fancyhdr} \pagestyle{fancy} \...
2
votes
0answers
331 views

dictionary-style header problem with fancyhdr [closed]

I am trying the fancyhdf.pdf page 11 example. But I find I am getting wrong headers like Foo--Foo on the first page of the Foo entry, but correctly Foo on subsequent pages. The reason seems to be that ...
0
votes
0answers
48 views

Variable header height [duplicate]

I want to create invoices with LaTeX, and they need a header (containing some company information and maybe a logo) which must be repeated on every page. My problem is that I do not know the header ...
4
votes
0answers
316 views

How to display current section title in the header when a new chapter begins just on an odd page

I am using package fancyhdr to help me construct the headers of my book. The Editor want to me to add the chapter title to the header if the new chapter begins on a page whose number is even, and to ...
2
votes
1answer
315 views

Figure in Header

For our documentation I am trying to put an image inside the header via but it won't work. I already have tried multiple codes but I can't solve my problem with fancyhdr. Anybody has an idea? This ...
2
votes
1answer
214 views

How to prevent offsetting a margin?

I have basic class file and I would like to use fancyhdr. Here is the markup of some-class.cls: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{some-class}[2013/07/29] \renewcommand{\normalsize}{\fontsize{...
3
votes
2answers
2k views

How I can put the title on the head on the left side and the name of the chapter on the right?

I'm working with Lyx, and I have the fancy style in the page layout. My document is printed on both sides. On the left side, I want to only have the title of the document and on the right the name of ...
10
votes
1answer
686 views

Page header with box sections & page border

So I'm currently working on converting some documents used in our university to use LaTeX, and I'm stuck on a bit of a hangup. I've been able to nail down all the basics, using plotting, etc; but I ...
4
votes
1answer
309 views

Changing chapter page footer with epigraph

I'm trying to modify the font size of my page numbers in footers, but running into problems with the chapter page when using an epigraph. Here is my MWE: \documentclass[12pt,oneside]{book} \...
4
votes
1answer
840 views

Page numbers restart for preliminary pages

I have just started typesetting my PhD thesis. I am using the book class. I have a parent file where I define style, chapter header styling, page numbering, etc., and I include every chapter using \...
3
votes
2answers
1k views

Koma-script header/footer change with includepdf

I'm (still) moving from regular LaTeX classes (report, article) to Koma-Script. Lots of things are just okay, but not everything. My current problem lies with PDF inclusion and header/footer change ...
7
votes
1answer
1k views

Chapter Thumbs or Tabs in Book Class

I'm currently finalizing a book, and would like to add chapter thumbs or tabs to the document. While I've found a fair number of packages which are likely capable of doing so, I can't seem to get the ...