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

learn more… | top users | synonyms

5
votes
0answers
40 views

Special plain header gets deleted by editing font size in doc

After reading on this website, I have created a header on the first page that is different from the rest of the pages headers writing this in the preamble: \documentclass[twoside,12pt]{article} \...
4
votes
0answers
319 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 ...
4
votes
0answers
242 views

Use fancy page numbering using Metapost graphic

ConTeXt is a great TeX format specially since Metapost is tightly integrated into it that producing page numbering style like is easily implemented if you know Metapost (which I admit I don't, ...
3
votes
0answers
78 views

Correct counting of paragraph number is header/footer

I want to \usepackage{fancyhdr} to list paragraph numbers in the header/footer of a document. Most of the time this works fine but when a new page starts with a paragraph, the number is also listed on ...
3
votes
0answers
122 views

Turn off fancyhdr auto-spacing

Fancyhdr gives me warnings that my header height is too small, and is adding extra space at the top of some of my pages. How do I turn this off? \documentclass{article} \usepackage{fullpage} \...
3
votes
0answers
158 views

Synctex fails for input files. Related to fancyhdr + graphicx?

I have run into a problem with the synctex option of pdflatex that seems to be related to the fancyhdr and graphicx package. Problem: Forward and inverse search between editor and PDF viewer work ...
2
votes
0answers
80 views

fading tikz fancyhdr problem in book printing

I recently had a book printed, where I used fading lines in the header. In the PDF it looks correct, bu in the actual print, the lines on the left pages didn't fade as much as the lines on the right ...
2
votes
0answers
142 views

Irregular behaviour when mixing \pagestyle and \newpage and \marginenote

This might be a newbie question, but I have been struggling for hours to find out what is going on and still it does not make any sense. I managed to create a MWE, but when I gradually transfer to ...
1
vote
0answers
43 views

Want \section* to change the page header?

I have several numbered sections followed by an unnumbered section. However, the page headers for the unnumbered section are continued from the last numbered section. I am using fancyhdr with the ...
1
vote
0answers
23 views

Exclude chapter 0 from fancyhdr footer

I've run into a problem using the package fancyhdr, if you look at the left side of the footer, it says "Kapitel 0" which I want to remove for chapter 0 exclusively. Chapter 0 contains TOC, table of ...
1
vote
0answers
40 views

Inconsitent footer position with multicols

A footer created with fancyhdr in combination with multicols is placed at different vertical positions depending on - as far as I have been able to isolate the issue - wether the page is full or not: ...
1
vote
0answers
34 views

How can the names of chapters, tables, figures and contents be set?

I'm writing a configuration for a template LaTeX document and I'm trying to write the configuration that defines the text used in titles of the document (such as the name used to indicate a chapter, a ...
1
vote
0answers
52 views

Header starting from the first page

I am using fancyhdr to make header for pages. I want the header to appear from the first page starting from the content then chapters. For the odd page i want the header to be the current \...
1
vote
0answers
43 views

why usepackage{fancyhdr} does not apply?

I use the package \usepackage{fancyhdr} and then \pagestyle{fancy} but it does not affect my output. Even it does not give error. The code is as follows: \documentclass[12pt,twoside]{report} \...
1
vote
0answers
95 views

appendix counter is too large

After including more on my appendix, I got the following error: LaTeX Error: Counter to large. I've got more than 30 sides in the appendix, but after Z the acrobat shows AA, BB, ... that's ok, but ...
1
vote
0answers
187 views

Use smaller \headheight in fancyhdr

When I use headers without fancyhdr, TeX is happy to use the same \headheight as is used for the text, but when I use fancyhdr, fancyhdr increases \headheight. Here is an MWE. \documentclass[11pt]{...
1
vote
0answers
65 views

Decrease indentation of header text (fancyhdr) to 0.15 cm (same as \titleformat)

I'm using fancyhdr for the header. I want to decrease the indentation of the text in it (header - italic text): Now is like in the image but I would like to have the same indentation in both (...
1
vote
0answers
63 views

Numbering Chapters and header issue

I am a complete newbie to latex so I apologise if the questions asked are straightforward, I am using the document class with fancyhd, with a documentclass of report. However when producing my report ...
1
vote
0answers
43 views

Multiple page number positions in one document

I' m working on a document with multiple page number styles. The introduction consists of roman (I, II, III,...) page numbers, the actual text consists of page numbers in arabic style (1, 2, 3,...) ...
1
vote
0answers
60 views

Trouble with fancy page headers on pages with float too large warnings

I'm using latex to write a thesis using a template I found at http://openwetware.org/wiki/LaTeX_template_for_PhD_thesis. I am having trouble with fancy page headers on pages with float too large ...
1
vote
0answers
47 views

headers and footers acting strangely with floatpag package

Using the fancyhdr package, I have a LaTeX document with the following headers and footers: Underlined chapter name at the top of each page. Page number at the bottom of each page. I was also ...
1
vote
0answers
67 views

Applying fancyhdr on pages where new chapters start

I'm using the book.cls document class and the following fancy header: \usepackage{fancyhdr} \fancyfoot{} \fancyhead[RO,LE]{\thepage} \fancyhead[LO]{\leftmark} \fancyhead[RE]{\rightmark} This works ...
1
vote
0answers
44 views

hypdvips causing content to overflow into footer

I am having problems with the content of the page running over into the footer. Here is my Minimal Working Example. \documentclass[a4paper,11pt,twoside]{book} \usepackage{fancyhdr} \usepackage[...
1
vote
0answers
74 views

Can't redefine page style in book class

I have derived a class from the standard book class. I want to redefine the header and footers. But if I use the following code \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} % ...
1
vote
0answers
108 views

Why does section and chapter's name overlapping?

Please help me with the following problem. In the header the chapter name and section name overlapp. It's strange, because (as I show below) I commented the \sectionmark Why does the section name ...
1
vote
0answers
443 views

Headers/footers not showing (fancyhdr)

I have a slight problem. When I use the fancyhdr package, no headers/footers are published. I'm not sure why \documentclass[a4paper,12pt]{report} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage[...
1
vote
0answers
166 views

Creating a header with logo using fancyhdr

Iam pretty new to LateX and iam trying to display an image in the header using fancyhdr. Iam also using django to create a template, this is what I got: {% autoescape off %} {% load l10n %} \...
1
vote
0answers
606 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} \...
1
vote
0answers
347 views

How to make landscape mode rotate in a twoside book both for pdfviewer and printer?

I wanted the even pages' text, to face outwards, to be easy to read the text/table. I combined two different approaches that made the desired result happen for the pdf viewer. But when I print the ...
0
votes
0answers
38 views

Rule with fancyhdr

I am using the following code to produce a header that contains a text a line below it and a box with the page number on the side: \fancyhead[LE]{\vbox{\hbox{\vbox{\hbox{\thickheaderfont \thepage{}\...
0
votes
0answers
30 views

Border spacing in fancy header

I am using the 'fancyhdr' package. I have both text and images (one in header one in footer). There seems to be some padding / spacing around the text and images. I cannot see where this is coming ...
0
votes
0answers
46 views

Logo in page header gets replaced by arbitrary picture from the document

I use fancyhdr and graphicx simultaneously in a document. In a more or less empty document I set a logo in the page header like this (once right after \begin{document}): \lhead{\includegraphics[width=...
0
votes
0answers
29 views

How to automatically generate names of sections in head part of fancyhdr?

I need to ask you a question, I want to make my fancyhdr to automaticly put the name of the section in the left corner, and the name of subsection of the same page on the right side of the head part ...
0
votes
0answers
32 views

Article headers

I have a problem with article headers. I am almost always writing reports, but now I decided to write a article, because I think I could make the design of my latex document look better . So I want my ...
0
votes
0answers
31 views

how add a fancyhdr.sty file to LYX

Am using LYX on wndows8 to create LATEX documents. When i compile my code a file named fancyhdr.sty is required. Some one here can help me on how i add this file. Thank you for responding me.
0
votes
0answers
33 views

why usepackage{fancyhdr} does not apply when I use \chapter*{title}?

I have a problem with the fancyhdr package: I use the book documentclass and I have a chapter which is defined like this: \chapter*{Introduction} \addcontentsline{toc}{chapter}{\protect\numberline{}...
0
votes
0answers
64 views

Alternating which side the header is on odd and even pages

So I'm trying to get the header to display the section name on the right side on odd pages and the left side on even pages. My code is: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\...
0
votes
0answers
42 views

Increase the actual textheight using fancyhdr?

I've been using the fancyhdr package but the thing is that it creates a lot of empty space at the bottom of the page. I tried to increase the actual \textheight of my thesis according to this \...
0
votes
0answers
42 views

Problems with longtabu when using tabu on fancyhead

I'm trying to use the longtabu environment but I get the following error: Not in outer par mode. \end{longtabu} Undefined control sequence.\end{longtabu} Missing number, treated as zero. \end{...
0
votes
0answers
62 views

How to have the same top/bottom margins (from the footer/header, if any) and the same left/right margins in the book class

I have the following document. Thanks to the answer http://tex.stackexchange.com/a/272591/ the absolute text-height is 20 cm (text-height+footer+header=20cm). I would that the left and the right ...
0
votes
0answers
118 views

fancyhdr sets wrong title in appendix

I have a problem with fancyhdr. I wanted to add an appendix at the end of my thesis, which is not supposed to have a section number, just like the references appear without a number in the table of ...
0
votes
0answers
34 views

How can I produce better spacing between header and content when using fancyhdr package?

I am currently using the fancyhdr package with the following setup: %BOOK FORMATTING \usepackage{fancyhdr} % nice header format \fancyhead[RO, LE]{\textbsf{\thepage}} % ...
0
votes
0answers
44 views

how to remove half line in twocolumn in first page?

I want half line in twocolumn article but in first page like this first page second page \documentclass[landscape,12pt]{article} \usepackage[margin=1cm,top=1.3cm,bottom=1.3cm,headsep=5mm] {...
0
votes
0answers
67 views

Section name in the header

I want to make Latex display the subsection name (i.e. "2.1 Subsection") in the left header and the section name (i.e. "2 Section") in the right header. I use the following code: % !TEX TS-program =...
0
votes
0answers
87 views

Part and Chapter in Header

Following up on this post: earlier question I have problems setting this style for my soon to submit thesis. Actually, it works for the beginning, but not for the entire project (created in Lyx, ...
0
votes
0answers
201 views

header footer chapter part page

I want to customize my report's header and footer according our institutation' requirements. I hope, 1. Table of Contents page: The first TOC page’s header is the report’s tile. and the other TOC ...
0
votes
0answers
81 views

Split a string variable when using fancyhead in Latex

I am using fancyhdr for my reports class. I store the name of the assignment in a variable. Then I place its contents in the top-right of each page except the first one. Besides the top-right I also ...
0
votes
0answers
217 views

Manually setting page headers using fancyhdr

How do I manually set page headers? In my example below, all the page headers are the same as the last instance of \rhead{7}. Is there any way to renew the page header to the first instance of \rhead{#...
0
votes
0answers
122 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 ...
0
votes
0answers
98 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 ...