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

learn more… | top users | synonyms

5
votes
2answers
139 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
145 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} ...
4
votes
1answer
214 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
166 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
106 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
415 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
145 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
77 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
112 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
46 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
124 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
99 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
122 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
105 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
86 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
89 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
193 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
120 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
159 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
922 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
203 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
68 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
113 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
83 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
141 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
98 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
391 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
295 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
158 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
53 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
77 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
21 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
143 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
59 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
176 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
116 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
66 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
162 views

Problems with documentclass{book} and utf8 ,prerenderunicode

I'm trying to write a book like, report in greek, so at the beggining of every even page the name of the chapter is appeared and at the beggining of every odd page the name of the section is ...
4
votes
2answers
85 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
76 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
211 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
89 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
327 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
253 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
64 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
119 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 ...