{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)

5
votes
1answer
102 views

Only show header if section number > 0

The current section name + chapter.section number is shown in the header. This is normal behaviour (what I want). Example: How can I remove the header text, if there is no section on the page. The ...
8
votes
1answer
237 views

Distance between top edge of paper and header

EDIT : Please apologize me. I forget to add two lines to MWE I think very essential to handle the problems. Please re-check the MWE. There is parameter defining distance between bottom edge of top ...
1
vote
1answer
43 views

Incorrect page number position on ToC page 2 only

I am having an issue where my Table of Contents is so long that it goes onto a second page, but the page number then mysteriously jumps from the bottom center of the page to the upper right corner for ...
0
votes
1answer
27 views

Removing Footer from First Page [duplicate]

I'm using the following commands to produce a header and footer on all of the pages of my homework assignment: \usepackage{fancyhdr} \pagestyle{fancy} \lhead{Math 185 Spring 2014} \chead{Problem Set ...
3
votes
1answer
96 views

fancyhdr: missing section number of bibliography

I know there are other questions like this, but I didn't find an answer for my particular question. Please consider the MWE below. While the section number is included in the header for the first ...
2
votes
2answers
310 views

Including section titles in fancyhf headers

I would like to include the section name of the page's displayed section in my header tags in the fancyhdr package, something like \fancyhf[HR]{SECTION NAME} \fancyhf[HL]{SUBSECTION NAME} How can I ...
0
votes
0answers
60 views

Footer in Warsaw theme

I have the following code, but can't get a footer to work: \documentclass{beamer} \usepackage{textpos} \usetheme{Warsaw} \addtobeamertemplate{frametitle}{\vskip-9ex}{\vskip-4ex} \makeatother ...
0
votes
0answers
54 views

Header and footer alignment

After typesetting, the page numbers in my document fluctuates from right aligned to centre aligned. How can I ensure a specific and consistent page number alignment? \documentclass[a4paper,12pt, ...
1
vote
1answer
210 views

Beamer headline too long

When creating a beamer presentation in LaTeX, I have so many sections and frames, that the headline with the navigation bar is too long for the frame. Also, the table of contents is too long. I know ...
2
votes
1answer
108 views

Fancy page style conflict with bibliography [closed]

I am using the following code to in my LaTeX document to create bibliography. \lhead{References} \chead{} \rhead{\thepage} \pagestyle{plain} \bibliographystyle{IEEEtran} ...
4
votes
2answers
134 views

How to obtain images in the head?

How can I obtain and head like this, with images in it till the limit of the paper, and with a gradient similar to the image? I have used fancyhdr package any times, but... in a very simple way ...
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
294 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
153 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
141 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
119 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
169 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
225 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
69 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
225 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
56 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
88 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
48 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
132 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
144 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
105 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
49 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
116 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
82 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
207 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
84 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
148 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
78 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
266 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
97 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
77 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
241 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
214 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
117 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
140 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
77 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
48 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 ...