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

learn more… | top users | synonyms

1
vote
0answers
32 views

Issue with fancyhdr and child documents for KOMA report

I have a strange problem with fancyhdr and report (KOMA) together with child documents. Individually for each child document, the headers are like I want them to be, but when I compile them all ...
3
votes
1answer
48 views

Can't get fancyhdr to work correctly

I am attempting to write a proposal using the following packages, fancyhdr, everypage and draftwatermark. Although the document prints quite nicely, all of the pages are lacking any headers or footers ...
3
votes
1answer
40 views

Add chapter numbering to page header

I'm currently using fancy for my page header everything is Ok but I just still need to also add the number of the chapter to the header. This is my code: \documentclass[12pt]{book} ...
3
votes
1answer
43 views

Trouble setting margins with Resumé header

I am trying to typeset my resumé in LaTeX and have created a header that I am really happy with. However, now that I am starting to fill in the rest of my information the margins I have set up to ...
2
votes
1answer
46 views

Book fancyhdr confusion

I am writing my master's thesis and would like to have my headers as in this book. I would like my even pages with the page number in the left margin and the chapter aligned to the left. My odd pages ...
4
votes
2answers
86 views

Fancyhdr does not apply same header/footer on chapter and non-chapter pages

I have a problem with the fancy package: I use the report documentclass and I have a chapter, a lot of text and then a new page starting with a section (or the next page has no chapter starting on ...
2
votes
0answers
58 views

Section name on the right hand sides (odd numbered)

Here are the command lines that appear in the preamble of a book manuscript: \pagestyle{fancy} \lhead{\nouppercase{\rightmark}} \rhead{\nouppercase{\leftmark}} \renewcommand{\chaptermark}[1]{% ...
4
votes
2answers
64 views

\thispagestyle{plain} has no effect [duplicate]

I'm using the default settings of the fancyhdr package and calling \pagestyle{fancy} at the beginning of my document of type report. Since I have some large figures and tables, I would like to ...
1
vote
0answers
23 views

page layout can be changed to fancy or heading in Lyx

I try to make my page number top centered on the page. But in my lyx, when I change the page layout setting in the document setting, it can only be plain(default) or empty without any error. For plain ...
2
votes
1answer
40 views

Fancyhdr package and page numbering issues

I am using the fancyhdr package and I have got big issues with the page numbering. Indeed, the pages appear for each new title, but then I don't have anymore page numbers, Here is the code furnish by ...
1
vote
0answers
49 views

fancyhdr - header and footer for all pages including first page

I'd like to insert header and footer for ALL pages INCLUDING first page Here is LaTeX code currently I use: \pagestyle{empty} \renewcommand{\headrulewidth}{0.0pt} \pagestyle{fancy} \lhead{} ...
2
votes
1answer
36 views

Page number in page which contain the name of the chapter

I would like to insert in each page the chapter name and number (bottom right) The problem is that this configuration does not apply to pages that contain the name of the chapter! My code : ...
3
votes
1answer
45 views

How to make the first page of index fancy

I have a file called index.tex that looks like this: \begin{theindex} \item apple, 39 \item banana, 23 ... lots more of this stuff stretching over say 4 pages \end{theindex} I include it in a MWE ...
3
votes
1answer
77 views

How can I stop content overlapping my footer?

I am trying to use LaTeX to generate PDF versions of cheat sheets people build on my website. They are all three column documents, effectively each containing multiple tables. For the most part, ...
0
votes
1answer
44 views

How to insert footer in first pages of chapter?

I am using fancyhdr to make header and footer for pages. In the minimal example the footer is not appearing in the first page of chapter. I want footer to be appear in the first pages of the chapter ...
3
votes
1answer
78 views

How to remove 'Chapter 1.' from 'Chapter 1. Introduction' while using \leftmark?

MWE is below: \documentclass{report} \usepackage{fancyhdr} %\newcommand{\currentchapter}{} %\let\oldchapter\chapter %\renewcommand{\oldchapter}[1]{\oldchapter{#1}\renewcommand{\currentchapter}{#1}} ...
6
votes
2answers
231 views

Alternatives to the horizontal line in fancyhdr

I'm looking for a more fancy alternative to the default (read boring) horizontal line produced under the fancyhdr package. How creative can we get?
1
vote
1answer
46 views

Centered section title in fancyhdr

fancyhdr automatically puts the section title on the right header. When I try \begin{document} \pagestyle{fancy} \chead{\rightmark} \rhead{} \cfoot{\thepage} \end{document} nothing appears in ...
2
votes
1answer
56 views

Getting chapter and section in \fancyhead

I am having a bit of a heard time getting \fancyhead to give me the out put I want. I'd like to have a header that includes Chapter X: THIS IS THE SECTION (italicized like the default). I can get it ...
1
vote
1answer
76 views

Customize page numbering so all pages are equally formatted in book class

The title says it all. A friend is working on her thesis and we cannot figure out how to ensure that the page numbering is equally formatted on all the pages that display page numbers. Default ...
5
votes
1answer
144 views

Tables as Header and footer

I've been struggling with my .tex for quite some time now, and decided its time to look for help. This is the situation: all docs here (my office) need to bring, as header, a table (3 columns) which ...
2
votes
1answer
81 views

Page number position on page with table of contents

I want to position page numbers in my document in top-right corner. I managed to do so using fancyhdr (see below). \usepackage{fancyhdr} \hypersetup{% pdfborder = {0 0 0} } ...
1
vote
1answer
80 views

Insert a url in a footnote [duplicate]

I would like to insert a url in a footnote but that isn't working. I use the following code : \documentclass[a4paper,11pt,final]{article} \usepackage{color} ...
3
votes
1answer
54 views

What is the proper way of moving my content but not my header/footer?

My header and footer are all set. Size and position are good. However, I want to push the actual content to the right and down (creating big margins at the top and left of the document). See this ...
5
votes
2answers
106 views

How to put the text at the top in fancyhdr

I made a document with 2 pages and headers: Can I put "Page 2 of 2" at the top of the 2-nd page, so it was vertically aligned with "Commercial invoice"? How can I manage the padding between the ...
2
votes
1answer
44 views

Empty page on the Part page

I'm using this on my document (scrartcl documentclass): \usepackage{etoolbox} \pretocmd{\section}{\cleardoubleevenemptypage}{}{} \pretocmd{\part}{\cleardoubleevenemptypage}{}{} This makes me get ...
6
votes
1answer
82 views

Want to get 'book name, and 'chapter name, in header

I asked a question to get 'chapter name' and 'section' in the header in the following link : \markboth is not working when using \chapter and \section. Now I have decided to replace the section name ...
0
votes
0answers
90 views

Gantt diagram and pdflscape

I'm trying to put a gantt diagram (using pgfgantt package) into landscape mode (using pdflscape package), but I have encountered a problem: It seems that, either because of pgfgantt, pdflscape or ...
0
votes
0answers
39 views

How to make page Footer Margin 0.75'' from bottom page?

I currently use LyX, and upload the package fancyhdr to try to solve this problem. However, it is not evident to me which of the commands would do this for me... Trying to file my doctoral ...
0
votes
0answers
66 views

Expand page to use full page height with fancyhdr

I use fancyhdr package and would like to print a large float that exceeds the textheight. Hence I would like to remove the headers and footers. And have the float verticaly centered. I tried ...
2
votes
1answer
90 views

fancyhdr - Only show sections, not subsections

Is there a way for the header to only print the title of the parent section? So in the example below, the subsection{LOL} page will have "1.1 LOL" written in the header. I just want it to say ...
1
vote
1answer
50 views

How to print the section name without the section number in a fancyhdr header?

I've copied a code to have a header that prints the section name on the left and my name on the right: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\sectionmark}[1]{\markright{\thesection\ ...
2
votes
1answer
71 views

\markboth is not working when using \chapter and \section

I am having a problem when adding \chapter and \section in the document. \markboth is not working when I compile it. I have got a link Why is \markboth not working?. But there is no solution about my ...
2
votes
1answer
69 views

topline of fancyhdr disappears when I use tocloft

I have the problem that when I use package tocloft the line under the fancyheader disappears. It only disappears on pages with lists, like table of contents or list of figures. I would like to have ...
3
votes
1answer
120 views

Placing page numbers with Fancyhdr

I have looked through many of the posts on this website, but I am still having trouble placing my page numbers in latex the way I want it. Essentially, I want to mimic the way MS Word formats page ...
0
votes
0answers
103 views

Is possible to make a page fancyhdr with LaTeX?

I want to make page with fancyhdr like this ? Can you explain to me ? How to make it ?
5
votes
1answer
118 views

Inconsistent margins using fancyhdr and geometry

For my homework assignments I usually use the fancyhdr package to create a header that contains the group (A, B, C etc), homework title, my name + student number and the date. Besides that I ...
5
votes
1answer
63 views

can't find issues identified by nag

I am somewhat new to LaTeX, but am currently working on a project (trying to use pdflatex for automated .pdf report rendering). I just learned about \RequirePackage[l2tabu, orthodox]{nag} today, ...
6
votes
1answer
104 views

How to set custom headers?

Having some experience with Latex, I'm now using LyX seriously for the first time. Since I need to set custom headers, I have enabled the Custom Header/Footerlines module and set the page layout to ...
3
votes
1answer
50 views

How to put a text, shifted to the right into the customized \section

I have the following code: \documentclass[11pt]{article} \usepackage[a4paper]{geometry} \usepackage[cm]{fullpage} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{lipsum} ...
2
votes
1answer
136 views

Same header and footer for every page

I have a problem with my header and my footer. If I do that: \pagestyle{fancy} \fancyhf{} \fancyhead[R]{\includegraphics[width=8cm]{img/header.png}} \fancyfoot[L]{ Name Firstname - v1.0 \\ Date}} ...
0
votes
0answers
61 views

Page numbering different side of heading for odd and even page

Hello I am using a fancyhdr package and I want that the page number appear in the right side of the heading for odd pages and in the left side of the heading for the left side. I alredy used the ...
1
vote
3answers
51 views

Problem with headlines

I have a problem with headlines. My kode is: \documentclass[a4paper,11pt.,leqno]{article} \pagestyle{fancy} \fancyhead{} \fancyfoot{} \fancyhead[LO, LE]{\thepage} \renewcommand{\headrulewidth}{0pt} ...
0
votes
0answers
59 views

titlesec and fancyhdr not compatible?

When I am writing my thesis, I define a new pagestyle called "main" using titlesec package, for all the chapters, as follows: \newpagestyle{main}{ \sethead{\bfseries \chaptertitle}{}{\bfseries ...
3
votes
1answer
56 views

Trouble using fancyhdr

I'm still relatively with using LaTex but I've done a lot of searching to try and fix my problem (may have not been enough). My issue is that I am after the page number in the top right of the header ...
4
votes
2answers
77 views

Text does not fit foot line space

For my next essay, I got some requriements from my teacher. The layout concerning headlines and footlines should be like this (as there is no adequate Times New Roman I chose Arial): ...
1
vote
1answer
70 views

Legend of picture, caption

I would like to assign one caption to a picture in my report, without this caption begin in the listing of figure. I use the following: \begin{figure}[htbp] \begin{minipage}[l]{.645\linewidth} ...
3
votes
0answers
79 views

Use fancy page numbering using Metapost graphic

ConTeXt is a great TeX format specially since Metapost is tightly integrated into it that producing page numbering style like is easily implemented if you know Metapost (which I admit I don't, ...
2
votes
1answer
197 views

Remove section name from header in LaTeX

I am trying to remove section names in headers. I am using fancyhdr package. When I try to specify new text in \lhead{}, text is just overlayed on section name. P.S. 3 hours of googling did not help. ...
5
votes
1answer
155 views

Decorative lines above and left of text

I would like to recreate this decoration, which is being placed at the top of every page: So a thin line above the text, and a thicker line left of the text. I've been trying to do this using the ...

1 2 3 4 5 6