Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
19 views

How to make side label

How to make and control a side label similar like this? This example i made with code: \multirow{1}{*}{\begin{sideways} {\small This is my very very very ...
1
vote
0answers
18 views

How can I make pages after the first come out correctly with fancyhdr?

I am trying to write a recommendation letter with a fancy heading at the top of the first page, using fancyhdr. I copy my code below. The results are that the first page looks good but subsequent ...
2
votes
2answers
33 views

Using cfoot command

Here is my file \documentclass[11pt]{article} \usepackage{fancyhdr} \cfoot{abc} \begin{document} ab \end{document} As I understand from this website, the cfoot command is supposed to produce a ...
1
vote
1answer
38 views

How to change the header layout?

I am typing an article. I have used fancyhdr for the header and footer. Now my problem is that the header, which is set by default to the name of the section appears on the top right of all pages. I ...
0
votes
1answer
17 views

Title marking with titleps breaks when \tableofcontents is used

I asked a question about chapter/section marking in headers in a previous question, and got very helpful feedback from @Werner and @cfr. I discovered another problem when I implemented their ...
2
votes
1answer
33 views

Lower the first chapter title to put in a fancy header, have all subsequent pages look normal

I have several chapters in a book. I want a fancy header above the first chapter, so on this page the chapter number and title should be typeset a little lower than usual (below the header). All ...
5
votes
2answers
48 views

Choosing \firstmark and \botmark with \leftmark?

I'm very new to LaTeX, and I'm having a terribly difficult time understanding the marking system. I'm not really grasping what The LaTeX Companion and the fancyhdr manual are saying. I'm creating a ...
0
votes
1answer
54 views

Alternate fancy page header? left page = page number + chapter, right page = page number + section?

I currently use fancyhdr to display the chapter name and page number on each page. However, I would like to change this so that it displays the chapter on the left page and section on the right. I ...
1
vote
0answers
29 views

Creating a header with logo using fancyhdr

Iam pretty new to LateX and iam trying to display an image in the header using fancyhdr. Iam also using django to create a template, this is what I got: {% autoescape off %} {% load l10n %} ...
3
votes
2answers
50 views

How to reclaim space from removing headers and footers

I'm using the fancyhdr for headers and footers in most of my document, however there are some pages, such as the title page, for which headers and footers aren't wanted, and for these pages I've set ...
3
votes
2answers
160 views

Replacing \fancyhdr with \titlesec in complicated design documents

Thes page on the picture below (from this post) has been created within \fancyhdr package, but I need to something like this keeping incompatible \titlesec usage and using twopage layout. Really, I ...
0
votes
1answer
36 views

Fancyhdr: unwanted different header fonts in ToC and normal text

The header font in my ToC is different than the header font in the document. How can I change that? \documentclass[a4paper,12pt]{scrreprt} \usepackage[ngerman]{babel} \usepackage{color, ...
2
votes
1answer
33 views

Two lines with different width in the header using fancyhdr

I want create the attached header style for my document? Any suggestion?
2
votes
1answer
56 views

How to get a separate header only for the first page?

I cannot seem to figure out how to get one header on the first page and another header on all the rest of the pages. In particular I want to have a picture in the header on the first page, and some ...
2
votes
1answer
37 views

Increasing text body to pull page width and height

I am using fancyhdr and geometry to create a custom page where the text would fill as much of the page as possible. The document has other pages on as well but have been omitted as they are not ...
4
votes
1answer
38 views

How to change page number positions for with active \maketitle

I am trying to change the position of the page numbers from the bottom center to the bottom right. I tried using the fancyhdr package which seemed to be the most recommended way to solve this issue. ...
0
votes
0answers
45 views

I'm trying to change the header of the Table of Contents and List of Figures, but I can't

I'm an amateur user of LaTeX and I'm writing my PhD thesis using a template that I found in: ThesisStyleOld Looking inside Classes/CUEDthesisPSnPDF.cls, I found that it uses fancyhdr for the ...
0
votes
0answers
47 views

Manually setting page headers using fancyhdr

How do I manually set page headers? In my example below, all the page headers are the same as the last instance of \rhead{7}. Is there any way to renew the page header to the first instance of ...
0
votes
0answers
41 views

fancy header table of contents

I have an issue with the fancyhdr package. I defined the headers for the document to be on top, and for the first page of each chapter I defined no header on top but the page number on bottom centre. ...
2
votes
1answer
36 views

How to use more than one color in the headrule using package fancyhdr

I would like to create some headrules with more than one color inside. The problem is that I get the following warning in the log : pdfTeX warning: pdflatex: pop empty color page stack 0 The ...
4
votes
2answers
44 views

rightmark without subsection?

Does anyone know how using \documentclass{article} and \pagestyle{fancy} to define the header to display only \section and not \subsection? Fancy I defined as follows: \fancyhead{} \fancyhead[LO, ...
1
vote
1answer
33 views

How to disable only header (not footer) for page with customized chapter heading?

Here is the minimal code on which I am working. Can the header action be postponed to next page. And clear the header only. \documentclass[12pt,a5paper]{memoir} ...
2
votes
1answer
40 views

Longtable breaks afterpage

My problem is that I want to have a certain footer on the first, or the last, page. The solution I've tried with is by using fancyhdr together with afterpage. Here is a working example, without ...
1
vote
1answer
50 views

Is it possible to use both long name and short name of the section in headers?

I'm using fancyhdr, and following this answer I have redefined \sectionmark as: \renewcommand{\sectionmark}[1]{\markboth{#1}{}} so that \fancyhead[RO,LE]{\leftmark} gives the name of the ...
0
votes
1answer
67 views

Rectangle as background for header

I'm having a horrible problem with fancyhdr and tikz that I was hoping you'd be able to solve for me. I've tried desperately to get a simple, colored rectangle to show up as background for my ...
0
votes
0answers
50 views

Trouble using fancyhdr. Stops working after two pages

I'm currently writing a thesis at school and have been trying to learn LaTeX the last weeks. I'm close to finished building up the document, but I'm having trouble with the fancyhdr package. My ...
3
votes
0answers
32 views

How to add a picture to Legrand Orange Book's header and footer

I tried to put a picture to Legrand Orange Book's header and footer by slightly modifying the structure.tex. \usepackage{fancyhdr} % Required for header and footer configuration \pagestyle{fancy} ...
1
vote
1answer
33 views

How can I remove the section title in the header on a specific page but keep the page number using fancyhdr?

Since days I am trying to remove the header on a page but to keep the page number. Here is my working example. The issue is that, when I remove the header using: \thispagestyle{plain}, it also ...
3
votes
2answers
58 views

My center header is not centered

I have the following code for my footer: \usepackage{fancyhdr} \lhead{} \rhead{} \chead{My very important and long title that is not being centered as I would like to \newline Very Myself} ...
0
votes
0answers
46 views

\lhead already defined error

I am writing my thesis by using isuthesis package. I want page numbers to come at the middle of bottom of the page. For that I thought of using fancyhdr package. ...
3
votes
1answer
51 views

Why do I see the first section title of a page in fancyhdr, not the last?

While this question asks how one can change from the default "show the last section of a page in the header" to "show the first section in the header" I have the reversed problem: The custom document ...
1
vote
0answers
65 views

Custom page numbers

I'm writing an article in Latex which I will print so that there are two pages per side. I want to number the pages as 1a, 1b, 2a, 2b, 3a, 3b, ... so that the two pages appearing on page 1 will be 1a ...
3
votes
4answers
163 views

Fitting fancyhdr's chead in a colorbox

I am trying to create a header using fancyhdr in which the rhead and lhead parts are two images, of the same and known size. In the center, I would like to put some text (perhaps the document's ...
7
votes
1answer
52 views

What is the difference between \\ and \linebreak in cfoot

\documentclass[a5paper,10pt]{article} \usepackage{array,tabularx,longtable,tabu} \usepackage{colortbl,tikz} \usepackage{lastpage} \usepackage{fancyhdr} \pagestyle{fancy} ...
4
votes
1answer
49 views

fancyhdr: Footer not centered after changing page geometry

MWE \documentclass{article} \usepackage{lipsum} \usepackage[showframe]{geometry} \usepackage{fancyhdr} \fancyhf{} \cfoot{something centered in footer} \lhead{\rule{\textwidth}{3pt}} \pagestyle{fancy} ...
1
vote
1answer
33 views

How can I make the header and footer on my first page the same as on all subsequent pages?

Various versions of this question have been asked before, but they either have special issues (such as a title page) or I simply can't understand the answer. Here is the start of my latex: ...
4
votes
1answer
61 views

How to add a copyright notice footer to only the first page of a document?

I have a conference paper that requires me to enter a copyright notice to only the first page of the document. I know that I can use fancyhdr to add this. I added the following to my document: ...
1
vote
0answers
58 views

Question about headers and one inch margins

I'm writing an application for the National Science Foundation (NSF) Graduate Fellowship (NSF GRFP) and they require you to have one inch margins. As I want to put the title of the proposal at the top ...
0
votes
0answers
24 views

Suppress fancyhdr warnings

Is there an easy way to disable warnings from fancyhdr that my header isn't wide enough? I'm happy with how it looks, and it doesn't intersect text, etc.
1
vote
1answer
45 views

New list environment not working in class file

Sorry in advance for the length of this one.... The following MWE contains an enumerate environment I defined: \documentclass{memoir} \usepackage{multicol} \usepackage{enumitem} ...
2
votes
3answers
54 views

custom footer on title page using \maketitle and book document class

I'm trying to add a custom footer to the title page of my thesis, in order to insert some text that is required by my university. I'm using fancyhdr to do so. However, the footer appears on the second ...
4
votes
1answer
85 views

It doesn't displayed \section name, number… at header in \tcolorbox

I am trying about section's in tcolorbox. My code is \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=6cm,marginparsep=.5cm, ...
0
votes
1answer
52 views

\headheight Problem

I'm using LuaLaTeX of latest TexLive 2014 on Windows 7. I want to overlap headers (page numbers) and documents. My code is as below: \documentclass[a4, 10pt]{article} \usepackage{fancyhdr} ...
1
vote
1answer
48 views

Glossaries and custom section headings broken

I've a document, where I use the glossaries to manage acronyms for me. Sometimes, I use a \gls{} command inside a section heading, and I have defined page headers to have the current section heading. ...
0
votes
1answer
61 views

Page Numbering and Header Problem, with Margin and Multicols

1) The chapter page with margin, page numbering is not in the center. My code is, \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
3
votes
1answer
118 views

Latex - Headlines with Chapter (left = even page) and Section + Subsection (right = odd page)

I would like to format my headlines like that: left page: left side: Chapter x, right side: name of chapter rigt page: left side: subsection, right side: name of subsubsection but only if there is ...
0
votes
2answers
122 views

Insert footer on chapter page but NOT header

this may or may not seem to be a weird thing to want, but I would like to have a customized header on all my pages, except the first one of each chapter, ToC, ..... Furthermore, I would like to have a ...
0
votes
0answers
36 views

avoid \headrulewidth appearing at chapter beginning

I am using the following code set my headers. \fancypagestyle{plain} \fancyhf{} \pagestyle{fancy} \fancyhead{} ...
1
vote
1answer
51 views

\vspace (\section?) misbehaving in amsart document

In the example below, I wanted to reduce white space above the first section header (it seems to be improperly or at least variably placed), and when trying to use \vspace{} above the first \Section{} ...
1
vote
1answer
65 views

how to put header (and footer) on title page with correct positioning?

I tried to use fancyhdr package and the result I have with the output is as shown here. The screenshot shows the junction between pages (bottom of) 3 and (top of) 4 (both header and footer being the ...