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

learn more… | top users | synonyms

6
votes
1answer
421 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
261 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
74 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
2answers
388 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
225 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
272 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
91 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
100 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
289 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
157 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
123 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
327 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
84 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
45 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
640 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
155 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
351 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
184 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
161 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
90 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
494 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 ...
3
votes
2answers
150 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. ...
6
votes
1answer
223 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) ...
2
votes
1answer
166 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
274 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 ...
3
votes
2answers
605 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 , ...
5
votes
1answer
161 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
101 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
221 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} ...
1
vote
0answers
132 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
39 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 ...
3
votes
0answers
109 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
145 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
134 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] ...
3
votes
2answers
677 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 ...
9
votes
1answer
371 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 ...
3
votes
1answer
155 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} ...
3
votes
0answers
237 views

tocloft: listof changes headers/chapter page style

I'm having problems with the tocloft package. For each chapter of my report, I need to create a custom "list of" (done) and to insert that list on the first page of the relative chapter (done). (I ...
4
votes
1answer
233 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
401 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
462 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 ...
4
votes
3answers
365 views

two horizontal lines in header

I need to reproduce the following header format: \documentclass{book} \usepackage{fancyhdr} \pagestyle{fancy} \cfoot{} \lhead{\thepage}
2
votes
2answers
302 views

Undefined control sequence: \undefinedpagestyle at \end{macrocode}

The full source can be found here (static link), but here is the relevant bit: ... % \begin{macrocode} %<*package> % \end{macrocode} % \begin{macro}{\BCSet} % And stuff % ...
2
votes
1answer
109 views

Changing whether the footer rule is present

I would like the footer to be different after the first page of my problem sheet document I have implemented the following: \fancypagestyle{questions} { \fancyhf{}% Delete the current section ...
5
votes
1answer
2k views

How to add a picture to fancyhdr *header* (and align in the top right)?

In the MWE below, the blue square aligns according to plan, whereas the dummy-image doesn't, see screenshots below. How to re-code so that the dummy-image "A" is aligned like the blue square? ...
1
vote
1answer
132 views

\usepackage{fancyhdr} remove bookmarks

Hi everybody sorry for the inconvenience, i try to make a thesis in pdf and i like to put two things in: 1) change the style of chapters (Lenny); 2) put the chapter in a header top on the page; ...
3
votes
1answer
166 views

How to make different headings on even and odd pages

I want to make some headings on my thesis. I use the following codes in my cls file. \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\thechapter. #1 }}{}} ...
8
votes
3answers
282 views

Preserve page numbering in fancyhdr

I'm using the fancyhdr package to include a header on each page. In order to surpress the section title also being cited in the header of each page, I'm using the command \fancyhf{}, however this also ...
0
votes
1answer
132 views

How to make the first page of a latex document like other pages

I am writing a paper with the article document class. The first page contains a large footer than other pages. I want to make it filled with text like the other pages and contains the same footer. a ...
3
votes
2answers
181 views

Prevent superposition of titles in header (fancy)

I would like to prevent the issue of having titles superposed in the header of my report. I am using the following code: \usepackage{fancyhdr} \setlength{\headheight}{15.2pt} ...