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

learn more… | top users | synonyms

1
vote
1answer
17 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
0answers
30 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
63 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
80 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
17 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
34 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
44 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 ...
0
votes
0answers
19 views

How do I disable headers and footers in the exam class?

I am writing a very large class file for my University, which can generate different kinds of documents (depending on the kind of options). One of the types is an exam. All these documents have to ...
0
votes
0answers
50 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} ...
0
votes
0answers
25 views

fancyhdr clearing first page of a chapter

Hi have already a working fancyheader, but it is also showing on the chapter beginning which I want to avoid (see attachment). \pagestyle{plain} % reset page numbering to 1,2,3,.. ...
1
vote
0answers
55 views

Help with a footer/header/pagenumbering in a greater project in LaTeX documentclass book

I just wanna make a nice template for some greater work e.g. thesis. But I have a lot of trouble. I tried to make the pagenumbering start after the table of contents. But for some reason it doesn't ...
1
vote
1answer
136 views

Undefined control sequence by reference LYX, MikTex

For each reference I put in to the document, I get the following error message. What should I do? Undefined control sequence Document Class: scrreprt 2013/12/19 v3.12 KOMA-Script document class ...
3
votes
1answer
35 views

How can i remove the header on the first page of my sections, but keep the footer?

i need some support with my headers and footers. Actually my expectation was that Latex was good right at these type of things, but i'm very confused that i don't get it sorted out. I have the ...
3
votes
1answer
39 views

Header/Footer and isov2 document class

I am currently using the isov2 document class. I would like for a header/footer to be on every page (it varies from even to odd). I am using the current code from the fancyhdr package. % Header and ...
6
votes
1answer
71 views

Prepackaged tikz routine

I would like to have a single definition of my company logo. Right now, I have it defined to just fit on a letter sized paper. It is completely defined in TikZ filled paths. As you would expect, it ...
4
votes
1answer
81 views

Thesis chapter headings, any suggestions?

I've found a thesis with really beautiful chapter headings that I would like to use. What package am I going to need and how would I go about creating a heading that looks like the one below. Also, if ...
3
votes
1answer
55 views

Remove or Change heading on certain Chapters

I have headings in all my chapters (on the top corner stating which chapter you are reading), however at the end of my document I have a chapter which is not numbered as my appendix and glossary. For ...
2
votes
1answer
56 views

How do I insert the section name into the header?

I'm trying to use fancyhdr to put the current section name into my header, but the below code just returns a blank header. I can display the current page number without a problem. ...
4
votes
1answer
151 views

\chaptermark in tikz header (book design)

How can I add the current chapter and section to the node? \node[color=white, anchor=west] at ($(current page.north west) - (-10ex,3.5ex)$) {\ifnum\value{chapter}>0 \thechapter.~\chaptermark\fi}; ...
0
votes
1answer
31 views

fancyfoot page numbering is overwriten at TOC and List of Fig pages

I want to have the page numbers on the left of even and right of odd pages. So I did the following \usepackage{fancyhdr} \pagestyle{fancy} \fancyfoot[LE,RO]{\thepage} \cfoot{} This works fine ...
5
votes
2answers
54 views

How to clear footer for the last page?

In the preamble of an exam I am creating, I currently have: %headers, footers \usepackage{fancyhdr} \pagestyle{fancyplain} %header \fancyhf{} % sets both header and footer to nothing ...
1
vote
2answers
64 views

Taking notes for class in Latex, and changing parts of fancy header across include

I am beginning grad school in the fall and I wanted to try and take (or copy over after class) all my notes in LaTeX. I wrote a python script that looks at my calendar for all occurrences of classes. ...
0
votes
0answers
23 views

Header appearing in second page of TOC, when it shouldn't

I have recently made some changes to my document, using the geometry package to change its margins. But after I've done this, the fancy header I'm using started to appear in the second page of the ...
1
vote
1answer
22 views

Misaligned fancyhdr footer when using color [duplicate]

Strangely, using {\color{}} in \lfoot{} is causing my footer parts to misalign. This code \documentclass[11pt,a4paper]{article} \usepackage{fancyhdr} \usepackage[pdftex]{color,graphicx} ...
5
votes
2answers
89 views

How to hide header only in first page of each section with fancyhdr?

I want the header to be empty in the page were section begins and showed in the other pages. How can I do that? \documentclass[12pt, titlepage, onecolumn, a4paper]{article} \usepackage{lipsum} %% ...
1
vote
1answer
38 views

move margin of pages for bookbinding

\documentclass[a4paper,12pt,openright,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{booktabs} ...
1
vote
0answers
44 views

Fancyhdr problems with regular footnote!

I am using fancyhdr package. I want a fancy footer but, also want regular footnote to come...is there some way to do both? My code is as follows: \documentclass{article} \usepackage{fancyhdr} ...
0
votes
0answers
51 views

Section spacing suddenly dynamic

I'm using LaTex in combination with MikTex and just recently introduced the fancyhdr package to my thesis. For some reason, when using the \subsection or \subsubsection commands I sometimes get the ...
2
votes
0answers
38 views

table of contents modification with fancyhdr

I am using the fancyhdr package in the article document class. I would like all pages (including the table of contents page) to have the header and footer that I prescribe in the preamble. I would ...
1
vote
1answer
38 views

Fancyhdr vertical overlap with body section title

I am writing up a product report, and building my header with fancyhdr. On the first page, the section header (in the body) is overlapping with the page header, as shown here: This is not repeated ...
1
vote
1answer
32 views

fancyhdr does not display chapter name

I am using the fancyhdr package to create the headers and footers in my document. I wanted to display the chapter name on the left side of the page, so I defined my header like this: ...
6
votes
3answers
124 views

FancyHdr top rule that is not full width

By default, fancyhdr includes a headrule separator line that spans the text width at the top of the page. Is there a (simpler) way to get the headrule (or footrule, for that matter) to span only, ...
4
votes
1answer
55 views

How to move the page number to the bottom of the page for a single page

I am making a book with the fancyhdr package. I have some headers that put page numbers on the top corners of the pages. On pages that are started by \chapter, LaTeX moves the line number down to the ...
1
vote
0answers
39 views

table of contents and fancyhdr

I'm using the report class to write my phd. But when I tried the \usepackage[Conny]{fncychap} I have to delete \tableofcontents \listoffigures and \listoftable, otherwise it wouldn't work. ...
5
votes
1answer
50 views

Missing footer problem

I am trying to format my document with different header and footer for first page. I have done it successfully for the first page but the footer of the second page is not visible. I think the margins ...
0
votes
0answers
18 views

page number first page of chapter on right side [duplicate]

I'm writing my thesis. I'm using this pagestyle: fancy But page number in first page of chapter appears in the middle of page. I want to move to right side. Can I change it ?
1
vote
1answer
47 views

Using titlesec to have \chaptertitle and \sectiontitle in twosided report

I would like to customize the headers of my report. These should contain chaptertitle and sectiontitle. From here: Header not displaying correctly on chapter page due to subsection I have made an ...
2
votes
0answers
47 views

Irregular behaviour when mixing \pagestyle and \newpage and \marginenote

This might be a newbie question, but I have been struggling for hours to find out what is going on and still it does not make any sense. I managed to create a MWE, but when I gradually transfer to ...
1
vote
2answers
40 views

How do I format the header text of the table of contents?

I'm new here, I have tried to solve most of the problems with my TEX code and so far I have been successful in solving all of them except for this one. I would like to show the word "CONTENTS" in the ...
2
votes
1answer
32 views

Fancyheader and Appendix

I am having some trouble combining fancyhdr with my Appendix. There's two problems. The first is that the header doesn't show the correct information on the page just before the Appendix (the last ...
1
vote
1answer
105 views

Header font in LyX

I would like to change the header font in my book ms from serif to sans serif. I've spent much time trying to find the answer on the web. I'm using book (KOMA script) and fancyhdr. Can some kind soul ...
1
vote
2answers
74 views

Problems with header and footer in documentclass book

I tried to use a header and footer layout I found here on this website. But I have some problems with changing the code to what I want. I want the pagenumbering to be like page x of y in the footer. ...
1
vote
1answer
72 views

fancy header on bibliography first page

I have used a different first page for all my chapters in my thesis which are defined using: \titlespacing*{\chapter}{0cm}{3cm}{0.5cm} ...
0
votes
0answers
32 views

Change fancy header on one specific page

I have a problem with my thesis. I use fancy header as environment in my document. Code: \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \fancyfoot[EL]{\thepage} ...
2
votes
1answer
43 views

LaTex: Page numbers between hyphens

How do I get page numbers to appear like: - 1 - I followed http://tex.stackexchange.com/questions/40114/format-page-numbers but it just added an annoying header at the top of the page: ...
1
vote
0answers
50 views

Create a document cover using style class

I'm wanting to create a latex class called projeto.cls that should create this report cover image below, which has the following headers and footer for all reports generated. The fields defined entrie ...
4
votes
3answers
53 views

How to center \rhead

I currently have my header as follows \pagestyle{fancy} \setlength{\headheight}{39pt} \renewcommand{\headrulewidth}{0pt} \lhead{\includegraphics[width=.1\textwidth]{Logo}} % Frist page only header ...
2
votes
1answer
54 views

Fancyhdr, even and odd

I want to add the chapter name to the header of even pages and section name to odd. But the output show me just the name of section in every page (odd or even). In below, you can find the sample of ...
1
vote
1answer
124 views

Fancyhdr, chaptermark and table of contents

I'm using fancyhdr for editing the header of my document. I have the following code: \documentclass[a4paper,12pt,oneside,titlepage]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
2answers
51 views

Applying a style globally (example in fancyhdr - across page styles)

Imagine I wanted to make all footers, pagestyles, etc. in bold. There's nothing like a \globalpagestyle or something, so my take on the problem was something like this: \documentclass{article} ...