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

learn more… | top users | synonyms

4
votes
1answer
85 views

Image in header, custom padding

First of all, sorry about the poor title, but I searched for ten minutes and couldn't find a better one.. I'm using fancyhdr to set some custom headers and footer in my LaTeX document. I'd like to ...
3
votes
1answer
134 views

Removing header underline and margins from a single page

I'm using the book class and fancyhdr in TexMaker and I want to use a rotated table which will eventually take up one whole page. The largest problem is the header line as my table will overlap with ...
1
vote
2answers
77 views

Wrong header in Bibliography page

I need help with header in bibliography page. I use fancyhdr to set different headers for even and odd pages. When my bibliography runs long to a second page, the header appears as like what I set ...
3
votes
2answers
712 views

Using fancyhdr in titlepage using Report Class

In the report class I am having trouble getting the header to show up on the title page. From what I understand, the \maketitle command automatically sets the pagestyle to empty. I had tried ...
5
votes
1answer
120 views

Add chapter number in roman numbers using fancyhdr

I am trying to add the chapter number to the footer using fancyhdr. What I would like to do is have the chapter number in roman numbers and the page number in arabic together like so: VI - 8 This ...
6
votes
3answers
599 views

Using the fancyhdr package, how do I have a footer but no header on the first page only

I would like to have a header and a footer throughout the document, however on the first page I would like no header with the footer remaining as it is throughout the document. So far all I can do is ...
1
vote
0answers
28 views

How can I typeset the current subsection in the page header? [duplicate]

How do you set the name of the subsection in the header? I've managed to put the chapter and section in the header/footer, by using the fancyhdr package. More specifically, I used, in \rhead, ...
6
votes
1answer
836 views

Fancyhdr adding multiline header causes footer margin to be inconsistent?

I have been searching to fix this problem for a while now. When I use the fancyhdr package to create headers and footers, and I run my code, as long as the header does not take up multiple lines, the ...
2
votes
2answers
159 views

Illegal unit of measure (pt inserted) \end{document} [closed]

By looking at questions with same title as mine, I unfortunately don't find answers to fix my code. I am not too familiar with LaTex, but after reading several webpages I really can't see what I am ...
4
votes
1answer
2k views

Fancyhdr and scrreprt

I try to use scrreprt and fancyhdr for getting the chapter at the head of even pages left and the section at odd pages right: \documentclass[12pt,a4paper,twosides]{scrreprt} \usepackage{fancyhdr} ...
5
votes
2answers
143 views

Problems double-sided document header

I'm having troubles setting the header of a two-sided document. I need only the chapter number (not necessarily) and name in the header at left for even pages and at right for odd pages; I don't want ...
2
votes
1answer
141 views

Fancyhdr - the header image collides with the body of the content

I am really confused. In the original document , I had a header that collides with the body of the document. Now for preparing the MWE , I removed the unnecessary packages and code segments. I found ...
4
votes
1answer
143 views

Fancyhdr messes up with \backmatter

I just found out that if fancyhdr has to mention a chapter located in \backmatter, it does this by numbering it with the number of the last chapter. For instance, this: \documentclass[11pt, a4paper, ...
5
votes
2answers
113 views

How to remove the horizontal line below the image in the header

To add image in the header , I have written the code, basically the pagestyle modification. Now , just for a trial , I first modified only my plain page style. After the image gets inserted in the ...
2
votes
1answer
165 views

Header and footer with tables. Right margin go off the page

I'm not completely sure if this topci is repeated, but anyway... I'm writing some company reports that have a special header and footer layout containing tables. I have been able to configure the ...
5
votes
2answers
171 views

Removing gap above “Chapter X” introduces problems with the text formatting

I am trying to get the page layout of my thesis sorted out. I am using fancyhdr to give me the page number in the top right and chapter name in the top left with a horizontal rule under, and sectsty ...
1
vote
1answer
298 views

page header logo overlapping page header text

I am using the following LaTeX source to place a logo into page header: \pagestyle{fancy} \chead{\includegraphics[width=1.5cm,keepaspectratio]{./docs/log4cplus}} \setlength{\headheight}{47.0pt} ...
5
votes
1answer
271 views

Huge ornament chapter numbering

Well, I'm using a such a code bellow, basically I would like to add ornaments to the numbering of this chapter... Any ideas, examples please? thanks a lot ...
6
votes
1answer
209 views

fancyhdr page decorations and page numbering

Hello there are several examples of decorative pages. Most examples work with a single page,when numbering is not necessary. When i try to make for every page. It does not work, or i have problems ...
2
votes
3answers
171 views

How to reposition or remove middle pagination labels?

Right now, I am using the following fancy headers as required by my school's department policy. However, when I look at the footer, it has a number for each page in the middle of my footer label. I ...
0
votes
0answers
41 views

Why do I have to set the pagestyle to fancy before setting it to something else? [duplicate]

I have a minimal example here that creates lowercase headings. \documentclass[12pt, a4paper, oneside, onecolumn]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
791 views

scrartcl and fancyhdr on first page

In relation to this question, I'd like to get a fancy header just on the first page of my scrartcl document (height about 150 pts), but even using \thispagestyle{myfancyhdr} all the following pages ...
2
votes
1answer
225 views

How can I use fancyhdr to style my BibTeX's page headings?

I haven't yet found a solution to this problem. Before using BibTeX, I styled my bibliographies with fancyhdr, which worked. I was able to write it directly into the bibliography environment: ...
5
votes
1answer
89 views

\savebox in page header with redefinable commands

I'm making a document class with some redefinable commands for page headers. However, I'm running into the following issue: \documentclass{article} \usepackage{fancyhdr} % In custom document class ...
1
vote
1answer
241 views

The footer styling in fancyhdr - Center text

\fancypagestyle{myfancy}{ \fancyhf{} \fancyhead[LE,RO]{\slshape\nouppercase{\leftmark}} \fancyfoot[LE,RO]{\tikz[baseline={(0,0)},anchor=center] ...
2
votes
1answer
50 views

Custom footer without number of pages

I use fancyhdr to create a custom footer in the left,I refer to this answer so I use \makeatletter % new style {footmark} \fancypagestyle{footmark}{ \ps@@fancy % use {fancy} style as a base of ...
1
vote
1answer
262 views

\fancypagestyle does not affect the first page of the chapter. Why? How to modify that? [duplicate]

\fancypagestyle{myfancy}{ \fancyhf{} \fancyhead[LE,RO]{\slshape\nouppercase{\leftmark}} \fancyfoot[LE,RO]{\tikz[baseline={(0,0)},anchor=center] ...
1
vote
1answer
111 views

Modifying the header in fancyhdr

I want the chapter name to appear on the header without numbering.What should I do?I tried removing the section mark but it doesn't just work? Here is the code: %Template for Technical Document ...
4
votes
1answer
132 views

Page Number styling in LaTeX

How to put the page numbers inside a logo in book in LaTeX. That is, in the book, at the footer, I want to add a logo and inside the logo the page number. How do I do that? \documentclass[12pt]{book} ...
1
vote
2answers
124 views

The logo doesn't appear properly in the letter

I want to have the college logo at the center (in the header) followed by the college name, then a horizontal line , then the letter content. But My Logo is half cut: Here is the code: ...
4
votes
2answers
161 views

Text running into footer area when using amsart and fancyhdr

I'm trying to include a logo in the footer area of an amsart document. I use fancyhdr to achieve that, but the problem I run into is that the body of the text runs into the footer area - as ...
4
votes
1answer
106 views

Problems with the header

Today I want to set a centered header. My trial \documentclass[utf8]{ctexart} \usepackage{fancyhdr} \begin{document} \pagestyle{fancy} \chead{ 常州大学本科论文外文翻译 } \cfoot{第\thepage 页,共\pages 页} ...
4
votes
1answer
268 views

Fancyhdr and Tikz, runaway argument?

I am trying to draw some of the headers for a document with TikZ inside a fancy custom header, using the following code: \documentclass[letter,11pt]{article} \usepackage{tikz} \usepackage{fancyhdr} ...
1
vote
0answers
153 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 ...
3
votes
1answer
218 views

How to position fancyhdr[R]?

I cant get the right header/footer on the right position. It should be positioned 3cm from right page end. How can i achieve that? Sample Document: \documentclass[12pt,a4paper]{scrartcl} % includes ...
9
votes
2answers
1k views

chapter heading appearing in appendix

I am using \fancyhdr package for the headings and report as a document class samplecode is given below \documentclass[a4paper,11pt]{report} \usepackage[toc,page]{appendix} \usepackage{fancyhdr} ...
5
votes
1answer
279 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
3
votes
1answer
80 views

How to number all pages in fancyhdr

I don't know why, but the following code numbers only the first page and I'd need all the pages to be numbered. Is there anybody that can help me out? \documentclass[10pt]{article} ...
3
votes
1answer
138 views

Page numbering at wrong place

I am quite new to TeX. I'm writing my thesis and I want to place the page numbers at bottom left for even pages and bottom right for odd pages. I've done this and it works for even pages, but the odd ...
1
vote
0answers
92 views

LyX headers and footers don't span page [closed]

I'm creating a document using LyX with various packages in the preamble. I'm setting different fonts, setting colours and I have multicols working. The problem is that for some reason, the headers and ...
1
vote
1answer
165 views

fancyhdr with 2 different fonts

I need to write a footer with these requirements: Font for footer – page # Garamond 12 regular, right upper corner, start page 1 with title & authors (after cover page) · Rest of the footer. ...
3
votes
1answer
94 views

Strange behaviour of hyperref with colorlinks=true in conjunction with fancyhdr

I found something that seems like a bug in hyperref, namely, I'm adding clickable labels at the bottom of the page with fancyhdr (see tex.stackexchange.com/q/51574), and a single option in the ...
2
votes
1answer
111 views

Change font size enumeration

I have the following LaTeX code to format page numbers: \pagestyle{fancy} \fancyhf{} \fancyhead[R]{\thepage} \fancyheadoffset{0mm} \fancyfootoffset{0mm} \setlength{\headheight}{17pt} ...
3
votes
1answer
568 views

List of Figures header not correctly modified by markboth

I use the markboth command to modify the header of the list of figures as shown in the code below. I want the header to display "List of Figures" on the bind side of the page (I use double sided ...
4
votes
1answer
392 views

Reduce space between header and headrule

Problem I'm trying to create fancy headers for my documents using fancyhdr. I want the headrule to be dotted, which can be achieved using \renewcommand{\headrule}{\vbox to 0pt{\hbox ...
7
votes
1answer
264 views

Show chapter name in fancyhdr when no section is available

The following code shows only section names in the headers. \documentclass[12pt,a4paper,oneside]{report} \usepackage{fancyhdr} \usepackage{lipsum} \pagestyle{fancy} \fancyhf{} ...
0
votes
0answers
76 views

can't adjust header/footer width to text width APA6 class

I'm using the \documentclass[doc]{apa6} class to create a document, I decided to use the fancyhdr package but can't make it work, I tried with packages anysize and geometry but still not working. ...
2
votes
1answer
84 views

How to edit header of one page of book class?

I use the book document class and make the headers with fancyhdr: \documentclass[12pt, a4paper, reqno, oneside]{book} \usepackage{amsmath,amsxtra,amssymb,latexsym, amscd,amsthm} ...
0
votes
0answers
24 views

How to put \title in the header? [duplicate]

I am just starting with TeX so please be tolerant for my lack of knowledge. I am using fancyhdr for footers and headers and I would like to put the title from \title into \fancyhead{} How can I do ...
2
votes
1answer
194 views

Problem with fancyhdr

I use package fancyhdr for make header and footer. I want to auto quote text in the chapter for right header. I use : \rhead{\thechapter} when latex show for me the number of chapter not text. Can ...