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

learn more… | top users | synonyms

1
vote
1answer
108 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
127 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
115 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: ...
3
votes
2answers
116 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
93 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
220 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
134 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
187 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
237 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
75 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
125 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
90 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
152 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
90 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
105 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
474 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
353 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
219 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
61 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
80 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
22 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
180 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 ...
6
votes
1answer
64 views

Why doesn't fancyhdr like random numbers?

In the following MWE I use \lhead{\stepcounter{step}\arabic{step}} and it works perfectly, incrementing by 1 each page. I also use \chead{\setrand{100}\arabic{rand}} and get the same number every ...
2
votes
1answer
237 views

Change margins for all, but the first page [duplicate]

I've read Setting different margin sizes in different pages and Change \textwidth and \textheight in mid-document, but it doesn't work to well for my use case. I'm using the geometry and fancyhdr ...
7
votes
1answer
141 views

How to get Part in header?

I am writing my master thesis in LaTeX. I am using the book document class and the fancy fancyhdr package. Now, I would like to have the "Part" on even and the "chapter" on odd pages. I read one of ...
1
vote
0answers
79 views

Counter in fancyhdr not matching body

I'm trying to set a counter that says "x of 3" at the right header where x increments based on when I use \pgroup. However it shows "2 of 3" on the first page and then "3 of 3" on the second and third ...
3
votes
1answer
177 views

Problems with documentclass{book} and utf8, prerenderunicode

I'm trying to write a book-like report in Greek, so at the beginning of every even page the name of the chapter is appeared and at the beginning of every odd page the name of the section is appeared. ...
4
votes
2answers
95 views

Don't want headers on ToC, Lists, Bibliography and Appendices

I'm using the fancy headers, but I dont want any headers on ToC, Lists, Bibliography and Appendices. If I put this \thispagestyle{plain}, it works on the last page, but when it has for example the ...
5
votes
3answers
80 views

Remove footer (page number) in documents that are one page long

When I create a document that has but one page, I see no reason to have a page number in the footer. I would like to remove this. There is, however, apparently no such equivalent to ...
1
vote
0answers
224 views

Tufte-Handout and Fancyhdr: How to make thumb-index? [closed]

I'm writing a small booklet for my med school, so that when I'm in the clinic I can have all the most important informations about something in a couple of pages. This is why I found tufte-handout ...
0
votes
0answers
100 views

how to add section number and name to the page header

I'm trying to modify the page layout of my thesis. I'd like to have at the top-right corner the section number and section title and at the top left corner the page number. Using the following: ...
3
votes
1answer
436 views

multiline using fancy footer

A simple question. Multiline in footer. centered and leftmost text is ok, but i am not able to do righ footer multine. The first line always go to the center. \documentclass[a4paper,10pt]{article} ...
0
votes
0answers
334 views

chapter-first page-fancyhdr: hide title, but keep page number

In my diss (book document), I have headers (chapter title and page) appearing on chapters' first page as well. For each first page, I would like to remove the chapter name, and just keep the page ...
0
votes
1answer
62 views

Trying to insert a picture but when using graphicx package footer moves to the bottom of the page [closed]

When i put that i am using graphicx, my fancyhdr footer moves to the very bottom of the page? How can i stop it from doing this?
0
votes
1answer
71 views

Square Brackets Within Brackets (was: Twopage Graphics in Headers)

How can I scale graphics on alternate pages using fancyhdr from within a template that other corroborators use? The first listing below is a working example, and the second is the failing example. ...
2
votes
1answer
83 views

Managing different page styles' name and definition

I have two main questions: How to copy a page style under a different name? How to create a new page style based on an existing page style? For example, to add a footer to an existing page style.
5
votes
1answer
123 views

XeLaTeX size of Indic script in header

I am using XeLaTeX (TeX Live 2012 on Windows) and my Sanskrit document is entirely in Devanagari. Even the page numbers, section numbers and section names are in Devanagari. I use fancyhdr but quite ...
2
votes
1answer
513 views

scrartcl and fancyhdr: Strange spacing behaviour

Consider the following piece of code: \documentclass{scrartcl} \usepackage{ifthen} \usepackage{fancyhdr} \pagestyle{fancy} \lhead{} \chead{ \ifthenelse{\equal{\thepage}{1}}{}{ ...
3
votes
1answer
107 views

New textwidth for End Matter (but preserve fancyhdr)

Can anyone suggest a strategy for changing the textwidth for the end matter, but preserving the look of fancyhdr, whose offset is calculated using the old geometry. Can't seem to get \newgeometry to ...
3
votes
1answer
220 views

Conflict between exam class and fancyhdr package

With the code below: \documentclass[answers,a4paper]{exam} \usepackage{fancyhdr} \begin{document} hello world \end{document} I get the build error: ! LaTeX Error: Command \lhead already defined. ...
0
votes
0answers
536 views

loading mps to pdf converter latex

\documentclass[a4paper,11pt,english,openright]{book} \usepackage[ansinew]{inputenc} \usepackage[english]{babel} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[centertags]{amsmath} ...
2
votes
1answer
52 views

Delaying header until page 2

I have \documentclass[12pt]{article} \usepackage{fancyhdr} \pagestyle{fancy}\lhead{Personal Statement} \rhead{2013} \chead{{{\bf Name}}} \lfoot{} \rfoot{\bf \thepage} \cfoot{} which gives me a ...
6
votes
1answer
386 views

Problem with \chapter* and fancyhdr

I'm having a problem with \chapter*{} and fancyhdr. I want to start the first chapter of my thesis with a introduction section, appearing in the TOC but without numeration, that's why I use: ...
4
votes
1answer
193 views

fancyhdr moves the header on first page after title [duplicate]

In the code below I have the problem that the 'TOO HIGH' on the first page after the title page is shifted into the header. I want this on the same height as the 'IN THE RIGHT PLACE' on the second ...
3
votes
1answer
153 views

Custom header in LaTeX

I have a header template that is based on boxes, which looks like this: \documentclass[10pt,a4paper]{article} \usepackage[MeX]{polski} \usepackage[utf8]{inputenc} ...
2
votes
2answers
512 views

Trying to change fancyhdr

so far that's my code: \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \fancyhf{} ...
6
votes
1answer
323 views

glossaries \leftmark and \rightmark not translated

I was trying to make an article in french with a glossary (glossaire in our weird tongue), and I noticed that, even if I did manage to set the translation right for the body, the \leftmark (or ...
9
votes
2answers
368 views

Decrease space between paragraph and header

How can I decrease the white space marked with blue? I tried \vspace with negative marks but to no avail (it normally does the trick but not this time). I am using the 'fancyhdr'-package. ...
4
votes
1answer
133 views

Remove Footer without removing the header

I created a header and footer using fancyhdr. I want to remove the footer from a particular page without touching the header. I tried changing the page styles but nothing worked. any idea?