{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
2answers
1k views

latex fancyhdr: is possible to use leftmark and rightmark alternatively?

I'm using this code to customize the header layout: \pagestyle{fancy} \fancyhead{} \fancyfoot{} \lhead{\nouppercase{\rightmark}} \rhead{\thepage} I would like to have the section name in the top ...
7
votes
1answer
715 views

About moderncv footer

Is there any way I can turn off the footer from appearing in all but the last page of the CV? (and once again in the cover letter). Is a nice idea that even with just the first page they could call ...
2
votes
1answer
48 views

How to set the pagestyle on the page a particular float ends up on?

Sometimes, a float is just a tiny bit too large for one page and one would like to remove the page number and hope that nobody notices. \documentclass{article} \usepackage{mwe} \begin{document} ...
5
votes
1answer
105 views

Math expression in header

I'm trying to put short math expressions in my chapters or sections like this: \chapter{Basic topological concepts in $\mathbb{R}^{n}$ } The problem is that headers seem to ignore the math part and ...
0
votes
0answers
33 views

How to sort out headers in a book

I'm writing a thesis in the "book (more font sizes) Document class and I've got "fancy" set up in the "Page Layout" bit of the document settings. But I don't really want the chapter number and the ...
2
votes
1answer
57 views

Blank page changes headings and footers

I am trying to insert a blank page in a article class document, and I want it to have the same headers and footers as the rest of the document (which I have already set up using fancyhdr). However, ...
5
votes
1answer
106 views

Multiline footer with bottom of text aligned to bottom margin

When a single line of text is added to a footer, it is bottom-aligned to the margin as I would expect: However, when I add a second line of text, the alignment is still with the first line of text. ...
0
votes
0answers
55 views

Suppress the page number on a specific page

Problem description: I have 2 images that I'd like them to be in the same page. The problem is that I can't scale their size down and therefore the 2nd one overlaps with the page number. Question 1: ...
3
votes
1answer
60 views

Introductory pages don't inherit plain pagestyle definitions

I'm compiling a report with custom headers and footers, using the scrreprt document class. I have redefined the headers and footers of the plain pagestyle through the scrpage2 package, but the ...
3
votes
1answer
75 views

Only-Quote page after abstract page?

I want a quote-page after my abstract in my document. No numbering, no header, just the plain quote plus source. Howto? My main file (the file is named 'slogan' in here): \documentclass[ 12pt, ...
5
votes
2answers
8k views

Add Footer Text to All Slides in Beamer

Is there a way to append footer text to the slides in beamer? I wanted to get rid of the default footer, but I want to add a bit of additional text. Right now I have: %gets rid of bottom navigation ...
3
votes
2answers
132 views

TOC Problems: Every pages appear word “CONTENTS”

I got the problems with TOC, by the way. When I start to put TOC in my book, after that in every pages header appear word "CONTENTS" with capitalize font. I don't know how to edit or custom it. I try ...
0
votes
1answer
54 views

How to show a long chapter name in the footer with two lines?

A short time ago, I asked this question to resize the width of a chapter section. But there is another problem with the footer. If the chapter name is too long, the chapter name in the footer ends in ...
1
vote
0answers
26 views

Can I use Writer2LaTeX and the `mla-paper` style together?

I use LibreOffice 4.1.3.x, and have had success using a patched version of Writer2LaTex with documents created in LibreOffice Writer. I want to create a (sub?)filter for Writer2LaTeX that allows me ...
5
votes
1answer
221 views

How to achieve this Beamer style?

I think the attached slide used the following beamer settings: \usetheme[]{Frankfurt} % or berlin \usecolortheme{beaver} % red color However, I have several questions: How to customize the ...
3
votes
2answers
91 views

Unnumbered sections and section marks

In my document I have numbered and unnumbered sections. Unnumbered sections look like this: \section*{Introduction} I use fancyhdr and add section and subsection marks like this. \pagestyle{fancy} ...
0
votes
0answers
40 views

Table of content and header

I have table of content in my document and header/footer with section, subsection marks. When I include tocloft package I don't have header/footer anymore, that is not I want. On the other hand, I ...
2
votes
1answer
38 views

How do I get a heading in the upper right hand corner of the first page only?

I'm looking to do homework in LaTeX. I'd like the format to be as follows: A simple enumerated list of the answers (with simple numbers on the same line, not section markers) with a heading on the top ...
5
votes
1answer
84 views

Is there way to make horizontal line on the top of the page that contains only a page number

I tried to write a book of the following style: Is there a way to modify the upper horizontal line such that it does not have the word "Sisältö" or any other text except page numbers? ...
3
votes
1answer
52 views

How can I use adjustbox in \sectionmark?

I want to use adjustbox in \sectionmark but it doesn't work. Is there a work-around for this? \documentclass{book} \usepackage{blindtext} \usepackage{adjustbox} \usepackage{fancyhdr} ...
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 ...
13
votes
5answers
6k views

How do I insert text into the footline of a specific slide in Beamer?

I'm trying to insert references into a beamer footline. These references are different for each slide, so I cannot include them in the footline template - unless there is then some way to later define ...
4
votes
2answers
990 views

How to add my name on every page corner in Lyx?

My teacher has asked me to add my name on every page of my report. Is there a nice way of doing this so my name appears in a subtle way?
8
votes
1answer
233 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 ...
4
votes
1answer
761 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} ...
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 ...
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 ...
23
votes
5answers
5k views

How to remove headers and footers for pages between chapters?

To ensure that a new chapter starts on a right-hand page, the book class (and the report class with the options twoside and openright) will insert blank pages between chapters if necessary. However, ...
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 ...
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
2answers
304 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, ...
4
votes
2answers
133 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 ...
5
votes
2answers
293 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
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 ...
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 ...
6
votes
2answers
139 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{}, ...
9
votes
2answers
551 views

Page numbering at top of page [duplicate]

Possible Duplicate: How to customize headers and footers? How would I put my name and the page on my CV just like the image below? I would like to do it like the image below from the 2nd ...
4
votes
3answers
149 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 ...
4
votes
2answers
206 views

No page number on the first page of an Index (not ToC)

The publishing house I am going to publish a book with demands no page number on the first page of each chapter. I used \thispagestyle{empty} in most cases and had to use ...
10
votes
2answers
421 views

Annoying problem with fancyhdr and auto-generated chapters

I have been facing an annoying little problem. I'm using fancyhdr to customize the headings on my thesis but according to the package documentation it is unable to remove the "uppercasedness" of the ...
4
votes
1answer
118 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} ...
9
votes
2answers
11k views

Insert a blank page after current page

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from ...
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 ...
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: ...
14
votes
2answers
14k views

How to add running title and author

My question is this: how can I add the co-called "running" title and author name on the top of each page? This feature is often used in journals so that the short running title is shown on the top of ...
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?
5
votes
1answer
750 views

Remove the author from the footer of all slides except in the titlepage

I want to remove the \author from all the slides except the start slide. I have used Warsaw theme. I don't know how to go about this. Please help me Here is my code \documentclass{beamer} ...
1
vote
1answer
210 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 ...