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

learn more… | top users | synonyms

3
votes
2answers
424 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 ...
5
votes
1answer
371 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
742 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 ...
5
votes
1answer
560 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
554 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
1k 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 ...
3
votes
1answer
2k 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
826 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
1k 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 ...
8
votes
2answers
573 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
129 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
577 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
189 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 ...
3
votes
1answer
6k 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
326 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 ...
7
votes
2answers
5k 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
315 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} ...
10
votes
3answers
811 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
230 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
515 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 ...
2
votes
2answers
2k 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
41 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
762 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
456 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
342 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 ...
6
votes
1answer
12k 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
396 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
377 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
308 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} ...
7
votes
1answer
3k 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
347 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 ...
2
votes
1answer
4k 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
768 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
581 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
432 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: ...
8
votes
1answer
4k 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 ...
2
votes
1answer
460 views

URL doesn't work in header

\documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[MeX]{polski} \makeatletter \renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad} ...
4
votes
2answers
610 views

How to include headers and footers for pages between chapters?

\documentclass[12pt,a4paper,openright]{mwrep} \usepackage{lipsum} \usepackage[top=2cm,bottom=2cm,left=3cm,right=2cm,twoside]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} ...
4
votes
1answer
708 views

Page number intersects text when using fancyhdr

As i mentioned in title, i can't manage fancyhdr to work. I can't remove page numbers. And page numbering is not stable. And this is the result. As you can see one iii is at the bottom but iv is at ...
2
votes
2answers
2k views

fancyhdr - anomalous behaviour on first page

I am having trouble typesetting multi-line headers using fancyhdr The header on the first page behaves differently than the header on subsequent pages. The first page header has no depth, but produces ...
1
vote
0answers
50 views

How to remove header bar in fancyhdr's \pagestyle{fancy} [duplicate]

Possible Duplicate: How to remove the top horizontal bar in fancyhdr? I am working on my report and found one example. \documentclass{report} \usepackage{fancyhdr} ...
5
votes
1answer
2k views

fancyhdr style problem

I am having some problems with the fancyhdr package. How can I achieve the following in my big thesis file: The header should consists of the chapter name at the left side and the page number at the ...
2
votes
1answer
750 views

Using different layout for makeindex name

I would like to use different layout for \indexname \documentclass[8pt,b5paper,twocolumn]{extbook} \usepackage[top=2cm, headsep=0.4cm, bottom=1.5cm, left=1.5cm, right=1.5cm]{geometry} ...
4
votes
1answer
832 views

Can't get \fancyheadoffset to work

I have loaded the fancyhdr package and I want to make the headers and footers wider (clamp them to the margin), so I inserted the following line after the package has loaded: ...
1
vote
1answer
323 views

TeXbook headers

\documentclass[10pt,% % corpo del font principale a4paper,% % carta A4 twoside,% % fronte-retro %openright, ...
0
votes
0answers
110 views

How to create a table of contents with thumb indexes? [duplicate]

Possible Duplicate: Adding chapter marker to far right edge of page How do I create a table of contents with thumb indexes as shown in chapter 21 of the fancyhdr manual? The manual ...
4
votes
1answer
12k views

Fancyhdr on the first page only [duplicate]

I'm writing an article and I need to put a figure on the top right but only on the first page. Also on the top left I need to place the type of article for Example Scientific Paper (left ...
2
votes
1answer
399 views

Table of Contents in a Journal

I have a problem with the numbering of items. I own the items separately and do not know how to put it together, for the numbering, etc, etc. I have several articles, and need to get an index should ...
10
votes
2answers
3k views

Want \section* to change the page header

In a book, I have several numbered sections followed by an unnumbered section. I have placed an \addcontentsline following the \section* that introduces the unnumbered section, so that it will appear ...
12
votes
2answers
10k views

Top right side page numbering

I want the numbers of pages to be placed at the top right side. I try to do it like this \documentclass[12pt]{article} \usepackage{fancyhdr} \begin{document} \lhead{} \chead{} \rhead{\thepage} ...