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

learn more… | top users | synonyms

4
votes
0answers
305 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
239 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
42 views

How to set the section title as a right header using fancyhdr?

Within \documentclass{amsart} how can I define the \rightmark to be the section title, without the number? I am using the fancyhdr package.
3
votes
0answers
71 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
96 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
124 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
58 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
54 views

Headers and footers with Logo input

In the MWE below, the logo top left is making some trouble as of it is size I assume. Due to the small margins top and bottom "20mm" its pushing the page number too low. Is there a way this can be ...
2
votes
0answers
138 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
31 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
31 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
31 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
84 views

Alignment problem with fancyhdr for a report page layout

I am trying to define a base class for some reports to share the same page layout. I use the fancyhdr package for creating the header and footer but I am experiencing some vertical alignment problems. ...
1
vote
0answers
42 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
83 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
124 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. ...
1
vote
0answers
58 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
53 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
35 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
56 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
56 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
63 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
99 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
350 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} ...
1
vote
0answers
707 views

Problem with Fancyhdr, doesn't shows headers at any page

I'm trying to create a document in Latex which satisfies the following features: First page of each chapter, without header-body. All other pages, with its respective header and footer. But the ...
1
vote
0answers
154 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
539 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
317 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
26 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
27 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
21 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
30 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} ...
0
votes
0answers
25 views

How to move a header to the extreme top of the page?

I have a image as footer: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} \usepackage{lipsum} \setlength\headheight{26pt} ...
0
votes
0answers
45 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} ...
0
votes
0answers
96 views

fancyhdr and headings in table of contents, bibliography and so on

I want to change the headings in my document with fancyhdr in my document to be bold and lower case: This is quite easily done by using fancyhdr: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
0
votes
0answers
40 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
37 views

Centering of footer with custom margins

The problem I encouter is that whenever I change the margins of my tex document, the footer does not remain centered. My tex code is the following: \documentclass[11pt]{article} ...
0
votes
0answers
33 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. ...
0
votes
0answers
56 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
75 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
33 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
43 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
62 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
39 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} ...
0
votes
0answers
78 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
183 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
75 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
199 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 ...
0
votes
0answers
115 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 ...