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

learn more… | top users | synonyms

2
votes
2answers
183 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
319 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
792 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
508 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
756 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
446 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
339 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
11k 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
389 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
374 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
306 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
760 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
566 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
455 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
607 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
700 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
740 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
811 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
321 views

TeXbook headers

\documentclass[10pt,% % corpo del font principale a4paper,% % carta A4 twoside,% % fronte-retro %openright, ...
0
votes
0answers
109 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
398 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} ...
11
votes
3answers
11k views

Headrule length in fancyhdr

Using the fancyhdr package, is it possible to change(increase or decrease) the headrule length without changing the header length? In the picture related, one can see that the headrule rectangle(in ...
6
votes
2answers
1k views

fancyhdr - how to disable auto section number and still show section name in header

\documentclass[fleqn,12pt,a4paper]{article} %\RequirePackage{Kaumudi_Package} \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} \section{section-1} \newpage \section{section-2} \end{document} ...
2
votes
1answer
274 views

Customizing headings

I am writing a document in the book class. I am looking for a way to produce the following. In one of my chapters, the sections carry a name, each of which can be summed up by only a few letters, for ...
1
vote
0answers
2k views

\fancyhead[LE,RO]{\thepage} not working [closed]

I'm having some issues with page numbering in my LaTeX document. I would like the odd numbered pages to display the page number on the left and the even numbered pages to display it on the right. ...
2
votes
1answer
352 views

Exclude footer from bibliography

I'm using fancyhdr in a document I'm writing and what I want to do is place numbering (which is placed in the footer) only in the main body of the document. Not in the bibliography. In other words I ...
6
votes
1answer
474 views

Remove fancyhdr footer when float page too large

I'm working on a book with fancyhdr with some overfull float pages, and want to remove the footer on only those pages, but keep the header. Can I either automatically remove footer if the caption ...
3
votes
2answers
2k views

Fancyhdr footer not working on pages where a chapter does not begin

I'm using fancyhdr to put a text and page number on every page: \usepackage{fancyheadings} \fancypagestyle{plain}{ \fancyhf{} \lhead{section \bfseries \thesection} \chead{CS04-708 Main Project, ...
6
votes
1answer
18k views

sectionname + number in header with fancyhdr

I want to have section name + number on the left side in the header, and a predefined text on the right side. Also want to have subsection / subsubsection name + number, if the subsection is long ...
2
votes
1answer
492 views

Why \hyperlink{\rightmark}{} does not work in fancyhead (and inside some other macros)?

\fancyhead[LO,RE]{\hyperlink{\rightmark}{\bfseries\rightmark}} (\leftmark is all the same) cause error: TeX capacity exceeded, sorry [input stack size... Why? (here, \rightmark has double ...
4
votes
1answer
5k views

fancyhdr: Section number, Section, colon and subsection in header

I am a bit confused with the fancyhdr options. I currently have this style for my headers: MWE: \documentclass[12pt,oneside]{book}%use oneside to ensure no blanks\ \usepackage[text={5.45in,8.5in}, ...
6
votes
1answer
430 views

Hyperlinked sectionnames in fancyheader

I am trying to create a header that consist of chaptername and sectionname (chaptername:sectionname) both of them a hyperlink to chapter and section respectively. I am using Hungarian language so ...
4
votes
1answer
359 views

Need directions on how to gain more control over graphical design of header/footers

I have a design of a letterhead which contains a header and a footer as seen below in ASCII-form. As you can see it contains a header and a footer which have both above and below a horizontal ruler. ...