{header-footer} is about customizing headers and footers, i.e., choosing a page style for certain pages (e.g. empty, plain, headings) and (for the styles employed) placing information like the current section title and page number. Popular packages are {fancyhdr}, {scrpage2}, and {titleps}.

learn more… | top users | synonyms (2)

4
votes
1answer
82 views

Extra 0.1cm after setting geometry top margin

I try to set 3cm for top margin of the paper with geometry package. After I measure the real length of top margin with PDF, this is actually 3.1 cm. There are a 0.1 extra space there. Also, I spot ...
5
votes
2answers
292 views

LastPage not defined - can't get “page x of y” - even after multiple compiles

Here is my MWE: \documentclass[11pt,letterpaper,oneside,notitlepage]{article} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \usepackage{natbib} \usepackage{graphicx} ...
4
votes
3answers
146 views

Remove Chapter Number from Header--Memoir Class

I'm working in the memoir class using A6. For this format, I want to remove both the word "Chapter" from the default memoir page heading style as well as the chapter number, so that only the chapter ...
6
votes
2answers
138 views

Automatically remove ruler when no header is present

This is a question triggered by Automatically remove page number in one-page documents. When activating the fancyhdr package, it is necessary to clear the headers, which I do below with \fancyhf{}, ...
4
votes
1answer
59 views

Image in header, custom padding

First of all, sorry about the poor title, but I searched for ten minutes and couldn't find a better one.. I'm using fancyhdr to set some custom headers and footer in my LaTeX document. I'd like to ...
4
votes
1answer
115 views

How adjust the Header/Footer?

With this preamble : \documentclass[12pt,a4paper,twoside]{book} \usepackage[top=2.5cm,bottom=2.5cm,right=2.5cm,left=2.5cm]{geometry} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} ...
7
votes
3answers
166 views

Section title in header showing the title belonging to the section that begins the page

In the header latex shows the title of the section which starts on a page. I would like it to show the title of the section which is continued from the previous page. An example: ...
4
votes
1answer
79 views

Chapter Heading like Cambridge University Press

Cambridge University Press uses the following types of chapter headings. How can I create the same fancy heading without using their codes?
1
vote
1answer
193 views

Header and footer in IEEEtran

How to do this in IEEEtran conference format: Add a header on first page of the paper as ,conference name Add a footer on first page of the paper , notice Add a footer on rest of the pages of ...
2
votes
0answers
66 views

Suppress running (Fancy) header on first page (of Glossary)

in an earlier question I asked to format the Glossary headings to match the chapter heading which was solved by Nicola Talbot thru Formatting of heading 'Glossary" to match chapter and index ...
5
votes
3answers
210 views

scrpage2 - Chapter and Section on two lines in header?

Here is a the beginning of my code : \documentclass[twoside,a4paper,11pt]{scrbook} \usepackage[UTF8]{inputenc} %encodage clavier \usepackage[T1]{fontenc} %encodage police \usepackage[francais]{babel} ...
2
votes
3answers
87 views

Image in the top of a page

I am trying to fix an image in the top of a page, according with the margins definitions. It is the logo of a conference paper, so it has to be in the head of the first page. How can i do it? Thank ...
1
vote
1answer
50 views

Sometimes wrong math font in headers when using KOMA's \sectfont with lineno

I am using the KOMA-Script scrbook class, and I want to have bold math in my section titles (to match the title text). For this I redefine \sectfont, and it works nicely. ...
3
votes
1answer
86 views

Removing header underline and margins from a single page

I'm using the book class and fancyhdr in TexMaker and I want to use a rotated table which will eventually take up one whole page. The largest problem is the header line as my table will overlap with ...
1
vote
1answer
47 views

How to make page numbers centered at the head of page

I want page numbers to be centered at the head of page. How can I do this? Thanks for your helps...
0
votes
0answers
127 views

How to change the headline and footline in LaTeX

I am writing a new documentclass, based on “minimal,” and would like to modify the headline and the footline. I started to study the output routine, but it is not as clear as plain TeX's output ...
3
votes
1answer
137 views

Tikz footer and page numbering issues

I put a footer on all my pages using: \newcommand\Footer{ \begin{tikzpicture}[remember picture, overlay] \node[anchor=south, inner sep=0pt, outer sep=0pt] (footer) at (current page.south) ...
2
votes
1answer
102 views

Emacs — “fancy” LaTeX footer designed for regexp highlighting

I'm looking for some assistance, please, to modify my current footer setup to make it easier to create a reliable regexp for font-lock highlighting. Ideally, I'd like the bottom line of the right ...
2
votes
1answer
48 views

Remove chapter numbering in page header

I have chapters beginning as follows: \chapter*{MyChapter} \chaptermark{MyChapter} \addcontentsline{toc}{chapter}{MyChapter} As you can see the chapters are not numbered but added to the TOC. My ...
6
votes
2answers
113 views

Controlling the position of page numbering

How do I get the number of each page to be three quarters of an inch down and three quarters of an inch in from the top right hand corner? \documentclass[12pt, a4paper]{report} ...
1
vote
2answers
65 views

How to make the space under footnotes disappear?

How do I make the space under footnotes disappear? And to space over the footnote's bar? Code: \documentclass[12pt,french]{report} \usepackage{mathptmx} \usepackage{helvet} \usepackage{courier} ...
1
vote
1answer
81 views

How to make footnotes appear at bottom of the footer's bar?

How to make footnotes appear at bottom of the footer's bar? Code: \renewcommand{\footrulewidth}{0.4pt} AJAX\footnote{Asynchronous JavaScript and XML permet de construire des applications Web et des ...
3
votes
2answers
192 views

Using fancyhdr in titlepage using Report Class

In the report class I am having trouble getting the header to show up on the title page. From what I understand, the \maketitle command automatically sets the pagestyle to empty. I had tried ...
0
votes
0answers
82 views

putting a logo in a classic-thesis report

I am currently writing some documents using the template that is present at this link: http://www.lorenzopantieri.net/LaTeX_files/TesiClassica.zip It uses koma-script and ...
6
votes
3answers
147 views

Why does \maketitle change the availability of \@title?

I am trying to include the document title in a heading using scrartcl. For some reason when I call \maketitle, the \@title variable seems to be unset and all uses of it turn up empty. My document ...
2
votes
1answer
77 views

The page number is missing from the bottom of the page within the manuscript

I am writing my PhD dissertation and I noticed that the last page of the manuscript, right before the bibliography, is missing the page number. All the other pages are numbered correctly, just this ...
10
votes
2answers
255 views

Prepend 'Appendix' before 'A' using scrbook

I am writing my thesis and need to put 'Appendix' before the numbering (A, B, C, ...) in the table of contents (TOC), the chapter title and in the header. I'd also like for \autoref{} to output ...
5
votes
2answers
95 views

\tableofcontents overwrites default header

I am using Springer's svmult package. The default header gives the name of the author in the top right corner and the title in the top left. When I use \tableofcontents, the default header is ...
1
vote
2answers
76 views

Remove page number from book title

How to remove page number from book title? I tried thispagestyle{empty} command, but this only works for article document. This is my sample code: \documentclass[oneside,a4paper , 12 pt, ...
6
votes
3answers
227 views

Using the fancyhdr package, how do I have a footer but no header on the first page only

I would like to have a header and a footer throughout the document, however on the first page I would like no header with the footer remaining as it is throughout the document. So far all I can do is ...
1
vote
0answers
28 views

How can I typeset the current subsection in the page header? [duplicate]

How do you set the name of the subsection in the header? I've managed to put the chapter and section in the header/footer, by using the fancyhdr package. More specifically, I used, in \rhead, ...
6
votes
1answer
200 views

Fancyhdr adding multiline header causes footer margin to be inconsistent?

I have been searching to fix this problem for a while now. When I use the fancyhdr package to create headers and footers, and I run my code, as long as the header does not take up multiple lines, the ...
2
votes
2answers
116 views

Illegal unit of measure (pt inserted) \end{document} [closed]

By looking at questions with same title as mine, I unfortunately don't find answers to fix my code. I am not too familiar with LaTex, but after reading several webpages I really can't see what I am ...
2
votes
2answers
137 views

Parts with titlesec parts: \thepart wrong on last page of part

When using the titlesec package to customize part headers, the counter \thepart is somehow incremented before its value is used in, for example, running headers: \documentclass[oneside]{book} ...
3
votes
0answers
74 views

How can I obtain the same vertical space between the chapter number and the chapter title?

How can I obtain the same vertical space between the chapter number and the chapter title for all chapters? The space between the chapter number and the chapter title reduces when the title goes on ...
4
votes
1answer
76 views

setting the font size for page number in memoir class

The requirement for my document is to have times new roman font type with font size of 12 at the main body and size 8 for page number. I'm new to latex and I've looked it up in the documentation for ...
2
votes
1answer
46 views

Memoir header problem with \chapter*

I'm using memoir, when I use \chapter* the header is copied from the previous section. How can I fix that? MWE: \documentclass{memoir} \usepackage{lipsum} \setcounter{secnumdepth}{3} ...
10
votes
2answers
167 views

How I could add an image in the bottom of pages of my document

Hello! In the picture you can see the bottom of pages 2-7 of one document that I found. I would like to apply the same format in my document and I would like your help. As you can see the document ...
1
vote
0answers
44 views

head page in previous chapter

Good Afternoon I am writting my thesis. In chapters "acknowledgments" , "abstract" etc , I want a head page. How I can put this? I had a head page in others chapters (after list of tables). I ...
4
votes
1answer
206 views

header and footer in letter class newlfm

I am trying to write letters using newlfm. The first page is fine but on subsequent pages it puts bars for the header and footer but doesn't include the address, logos etc. that appear on the first ...
1
vote
0answers
58 views

Distance between multiple lines in header of beamer template

this is my first question ;). I have defined a custom header in my beamer template and I want to show multiple lines. Since \\ isn't available in beamercolorbox I had to use \newline instead. The ...
4
votes
1answer
719 views

Fancyhdr and scrreprt

I try to use scrreprt and fancyhdr for getting the chapter at the head of even pages left and the section at odd pages right: \documentclass[12pt,a4paper,twosides]{scrreprt} \usepackage{fancyhdr} ...
4
votes
1answer
89 views

Remove header on one page

I use moderncv to create my cv. There I include a pdf document with the includepdf command. The problem is that I defined a fancyheader and that this header is also on the included pdf, but I do not ...
5
votes
2answers
107 views

Problems double-sided document header

I'm having troubles setting the header of a two-sided document. I need only the chapter number (not necessarily) and name in the header at left for even pages and at right for odd pages; I don't want ...
4
votes
2answers
71 views

How to remove unwanted header?

I've made a page of my book for the conclusion, is only one page so I don't want to make a true chapter for it because is only one page so I've used \chapter*{}. The problem is that the next page ...
0
votes
0answers
67 views

Breaks Long title in chapter headers into 2 lines

I used book class to write my thesis as follows \documentclass [12pt,oneside,final]{book} The title of some chapters are long so it reaches the page number as shown in picture. how I can breaks ...
4
votes
2answers
108 views

Problem with headings and book class

I have a the following document which uses the book class. For some reason, the page number is, on the first page, at the bottom of the page and centered (article like footer). The next page has the ...
2
votes
1answer
100 views

Fancyhdr - the header image collides with the body of the content

I am really confused. In the original document , I had a header that collides with the body of the document. Now for preparing the MWE , I removed the unnecessary packages and code segments. I found ...
4
votes
1answer
85 views

Fancyhdr messes up with \backmatter

I just found out that if fancyhdr has to mention a chapter located in \backmatter, it does this by numbering it with the number of the last chapter. For instance, this: \documentclass[11pt, a4paper, ...
4
votes
1answer
57 views

Customizing header's title

How do I to make this header text takes this form Chapitre 1. Spécification des besoins ? EDIT : Transformation : CHAPITRE 1. SPECIFICATION DES BESOINS >> Chapitre 1. Spécification des besoins