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

learn more… | top users | synonyms

2
votes
1answer
128 views

fancyhdr equivalent in ConTeXt

In LaTeX the fancyhdr package provides the lhead, chead and rhead macros that allow me to create the left, center and right parts of the header. These macros also enable me to treat each part of the ...
2
votes
1answer
94 views

Main section heading in footer

I would like to have a footer on every page containing the main section (always the name of the current \section, not \subsection) and the current page, e.g. My section heading | 42 Bonus level: ...
2
votes
2answers
219 views

fancyhdr package: changing header from uppercase to lowercase

I need to change my headers from uppercase to lowercase using fancyhdr. How do I do that? \documentclass[10pt,cleardoublepage=empty,twoside]{book} \usepackage{fancyhdr} \pagestyle{fancy} ...
2
votes
1answer
187 views

Reducing/removing gap between header and custom chapter title

I'm writing a portfolio/report with pdflatex and while trying to get a header and footer I have got a situation where there's now a significant gap between the header and the chapter title, whereas ...
7
votes
1answer
200 views

Odd/Even fancy headers with article class

Using fancyhdr and the book class, one can set different headers/footers for odd/even pages as \fancyhdr[RO]{foo} \fancyhdr[LE]{bar} and so on. How can I achieve the same with an article class, ...
0
votes
1answer
82 views

Setting headers and footers, I have 2 styles

I have 2 styles for my header and footers. This one is for 90 %of my pages, I want the section in the header. My name left in the footer and my page right: \fancypagestyle{standard}{ \fancyhf ...
2
votes
1answer
149 views

Disable exceptional behavior of the first page in letter

I use the following code for my letter: \documentclass[a4paper, 11pt]{letter} \usepackage{fontspec} \usepackage{fancyhdr} \newcommand{\DocumentTitle}{Motivation Letter} ...
4
votes
1answer
215 views

Header and Footer on multipage listoffigures

I've using the fancyhdr package to modify the header and footer. If my \listoffigures spans multiple pages then the header and footer on page one of the LoF is not fancy. The TeX example below ...
0
votes
0answers
94 views

Error about my own class created [closed]

I apologize if my question is written in draft form. In fact, I would like to avoid a long message. Briefly, I have tried to write my own class, in which I have gathered all my \newcommands and some ...
4
votes
1answer
162 views

Font size of the headline

I wrote a text in LaTeX with the font size as 12 pt. Now, when I create a headline the size is also 12pt. How can I change only the size of the headline? I need a 10 pt size for headlines. MWE: ...
2
votes
2answers
108 views

Header and page styling problems

I need help with the preamble. Here is the code \documentclass[12pt,letterpaper]{book} \ProvidesLanguage{Italian} \usepackage[italian]{babel} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
8
votes
2answers
201 views

Header not displaying correctly on chapter page due to subsection

(Complete source code below.) (Note: Not sure if I am using LaTeX or just TeX. I am editing with TeXworks, as TeXStudio was not rendering what I typed without +20 seconds of lag.) I apologize if ...
2
votes
1answer
281 views

Make the glossary title upper case in header

I'm using the report class with twoside parameter. I'm using fancyhdr to configure the headers/footer. I'm using the glossaries package to generate a glossary. The glossary is the only chapter in my ...
5
votes
1answer
213 views

fancyhdr: include footnote only on page 1, but header on all pages

I want to put a footer on page 1 but not on other pages. I also want to put a header on all pages. Could some one tell me how I can do that? The code I am using so far (only relevant lines shown): ...
3
votes
2answers
164 views

Longtable doesn't work well with geometry [closed]

I would like to produce document with multiple longtables inside. I need to customize my headers with fancyhdr placing graphics inside it and modyfying page geometry. But then longtables have problems ...
4
votes
1answer
131 views

How do I have a second line in my header?

I would like to have a header that looks like <my name> <Class> <page number> <Student number> However, I can't figure out how to insert the second ...
1
vote
1answer
211 views

Fancyheaders: how to turn off the page number on the first page? [duplicate]

Possible Duplicate: Custom first page with fancyhdr I don't know how to turn off the page number on the first page of the following article with different headers on odd and even pages. I ...
4
votes
1answer
208 views

Change fancyhdr settings in preamble after they have already been set

I have a "standard" preamble (portion in the code below that I indicated that I really don't want to change) that I am trying to reuse. But, I want to adjust the right margin for one particular ...
6
votes
1answer
154 views

graphics in style file

I aim to create a reporting template for other TeX users to use at our work. My objective is creating an .sty file. The specifications are fairly simple but one is causing grief: that is including our ...
3
votes
1answer
290 views

How do put a header inside the margins?

I have to create a document that obeys the following guidelines: "Margins must be set at a minimum of ¾" (1.87 cm); Your name must appear outside the set margins of the page, at the top ...
2
votes
1answer
238 views

Help with footer

I'm pretty much finished the document I'm working on, but now that I'm adding the footer I have run into some issues. I'm using fancyhdr and have rather small margin, so the footer doesn't really fit ...
3
votes
1answer
341 views

How to customize pagenumber position using fncychap

Using fancypages and two-sided documents, I used to set \fancyfoot[LE,RO]{\thepage} to get the page number on the page away from the center. Now that I use the package fncychap it won't work on pages ...
6
votes
1answer
286 views

Page header with gray background and without margin

After finishing my thesis in LaTeX (I am an absolute newcomer) I've been asked to format it in a specific design matching a doc-file I received. I've managed to change titles and fonts and margins ...
6
votes
2answers
277 views

Generating QR-code in header impossible?

I've got a strange issue with the packages pstricks/pst-barcode and fancyhdr. Here is what I like to do: A custom header for every page, Name on the left, QR-code on the right. Although the QR-code ...
6
votes
2answers
92 views

Weird interaction between everyhook and fancyhdr

In a document I'm working on, I'd like whitespace to be added before a custom environment, but only if that environment doesn't immediately follow a sectioning command (\section, \subsection, etc). I ...
3
votes
1answer
198 views

Removing “Chapter 0” before TOC and Appendix issue

I am using the memoir class with the fancyhdr package for headings. I wanted to lower the size of my headings because of overlapping issues. Here is my tex code \documentclass[oneside]{memoir} ...
2
votes
2answers
106 views

fancyhdr too long names of the sections, lines at the right and left

I am using fancyhdr for my header. The problem is, that some of my section names are too long and it looks quite stupid. I attached a screenshot. So how can I have this correctly? So it does not ...
2
votes
1answer
841 views

fancyhdr color and width of line?

I am using the fancyhdr package and I want to have a thicker line under my header and I want to have it colored, but my problem is, that this 2 commands: \renewcommand{\headrule}{\vbox to 0pt{\hbox ...
3
votes
1answer
188 views

How to stop wallpaper package hiding fancyhdr page numbers

When I use the wallpaper package to put a background behind a slide or document, and then use fancyhdr to try and paginate the document the page numbers dont show up. Am I doing something wrong, or is ...
5
votes
2answers
853 views

Distinguish even/odd pages in header with oneside option

See the MWE below. How can I achieve (in the standard book class) that despite the oneside option odd and even pages are distinguished in the header? I would like to have that, also with oneside ...
4
votes
1answer
249 views

fancyhdr: Title don't match title number

Some of my titles in the header don't match the number. This happens in page 3 in the example. What can be a solution or a work around? \documentclass[twoside]{report} \usepackage[ansinew]{inputenc} ...
8
votes
2answers
226 views

Cross-references in headers, clash between fancyhdr and hyperref

I am writing my thesis and using fancyhdr for the headers. Just the standard "Chapter name on odd pages and section name on even pages". I also need to use the hyperref package to break up long urls ...
4
votes
1answer
154 views

Wrong \rightmark in twocolumn mode

I would like to use the "dictionary" style of page header, using \rightmark--\leftmark as suggested in fancyhdr package. However, in twocolumn mode, \rightmark containts the first mark in the latter ...
4
votes
1answer
181 views

Two Page Numbers in One Page

I am using LyX to layout a collection of essays. There is one page-number-position per spread in the design. Please find the example below. Instead of showing 59, is it possible to show 58—59? I am ...
1
vote
2answers
472 views

Fancyhdr layout of “Contents” and “Chapter 0”?

The attached latex produces header of page 2 and page 4 to look like where I would have liked "CONTENTS" to be "Contents" and "Chapter 0: Rresumé" to be "Rresumé". All the following chapter ...
0
votes
0answers
36 views

Switching between fancy and plain page style [duplicate]

Possible Duplicate: Problem with multiple fancyheader page styles I'm having issues with switching between the fancy and plain page styles. I defined both styles in the preamble but once I ...
6
votes
1answer
417 views

How to create Fancy Title Headers

I want to create a Fancy Title Header for an Article, like the one shown below: Can someone please provide some hint on how to achieve this?
5
votes
1answer
265 views

Similar header format for my company

I need to reproduce the following header format: Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble: \usepackage{fancyhdr} ...
5
votes
1answer
150 views

Question about changing the position of the footnote rule

My question is after I redefine the length of footrule, the footrule doesn't change the position on even or odd page, it's always at the left side. Did I lost something or there's the other way to ...
4
votes
1answer
797 views

Page numbering in header/footer (fancyhdr) [duplicate]

Possible Duplicate: How to remove the top horizontal bar in fancyhdr? How would I get rid of the line in the header, and the line and page numbering in the footer? My code is below. ...
5
votes
1answer
160 views

move page number in a standard book shell

I'm using a standard Latex book shell to typeset a book. Does anyone know how to format page numbering as follows: for preliminary pages, e.g. title page, contents, preface, etc., put page number ...
1
vote
2answers
144 views

glossaries, fancyhdr: acronym not replaced properly

In the following example the acronym is not replaced properly in the header and look like in this screenshot: \documentclass{book} \usepackage{fancyhdr} ...
3
votes
1answer
191 views

page number in top right intersects with the page text

My text and the top right page number seem to intersect when using fancyhdr: \documentclass[a4paper,oneside,12pt]{report} \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm} ...
5
votes
1answer
804 views

Change leftmark in fancyhdr

Can anyone tell me how, in the minimal example pasted below, I can achieve that the dot after Appendix in the header disappears? I understand that it is there because I simply made the number of the ...
3
votes
1answer
223 views

Fancyhdr - How to add a footer line outside of the footer area?

I am a beginner in LaTeX, tentatively using it for industrial documents. I am trying to mimic a company form. I do not understand why in the MWE, the content of the minipage, that I would like to see ...
1
vote
1answer
741 views

Force fancyhdr on table of contents page?

I'd like to have my header appear on every page except the first (title page). However, it's not appearing on the first page of my table of contents(regardless of where it appears in the document). ...
5
votes
1answer
328 views

Using \thesubsection in header references last instance - not first

I would like to include \thesubsection in my header, referring to the first instance of subsection, and not the last as seems to be the default. The following MWE says it all: ...
2
votes
1answer
183 views

Modify footer of first page in custom class

I know I can do \maketitle \thispagestyle{fancy} But I want my custom class that I am making (based on article) to do this for me. It already does pagestyle{fancy}, but I can't get it to change the ...
2
votes
1answer
301 views

\markboth{}{} and CJK

I'm writing a Japanese dictionary using the CJKutf8 package in LaTeX. I wrote a few macros to make entries and everything works fine except setting headers with fancyhdr. Using a macro: ...
6
votes
1answer
837 views

Change color of a type of text like header/footer

Can we change the color of a logical type of text, say every header or every footer, by a single command? Header and footer is using fancyhdr. I believe it should be a \renewcommand but won't it ...