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

1
vote
0answers
18 views

Multiple \maketitle and Headers

I'm using the titling package to allow me to have multiple \maketitle tags in a document. I also want to have headers telling me which "section" (as given by the title) I am in. However, the ...
0
votes
0answers
24 views

How to remove the footer of the toc?

How to make toc of a report has no footer, please? I'm using this code: \documentclass[12pt,english,french]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} ...
5
votes
1answer
51 views

I am at sea with the \markboth \leftmark \rightmark and so on ! Is there a simple explanation?

My problem follows from my difficulties with the english explanations on the marks, from the readmes of fancyhd or titleps, in order to modify the headers. I do not understand the business behind the ...
2
votes
1answer
46 views

How to detect if abstract reaches a second page, in order to add a header

I'm writing a thesis for which the very first page (or 2 if it's long enough) is the abstract. I have two formatting requirements that I can't figure out, when the abstract continues onto the second ...
3
votes
3answers
167 views

Fancyhdr - Is it possible to have a small table inside header?

Ok, I'm trying to create this type of formatting for each of my pages: Now, I want to have this on every single page, in the header on the right hand side. I currently have the following: ...
6
votes
4answers
51 views

References in Chapter Titles

I am currently writing a manuscript using \documentclass{book}. I would like to devote one of the chapters in the manuscript to a proof of an earlier result. I have named the Chapter: ...
1
vote
2answers
25 views

scrlttr2 : header and footer on every page does not appear correctly

I am using scrlttr2 to write the letter (code below). The header and footer appear correctly on the first page but on the second page and so on, the layout is not the way it should be ... that is ...
2
votes
1answer
37 views

How to add frame number “5/12”-style to theme template?

I have a long title, therefore I've chosen Amsterdam theme for the beamer package. However, I need to also show the frame number "frame/fromTotalFrames" style. How can I add the frame-no. on the left ...
5
votes
2answers
122 views

Beamer move page number up on the slide

How can we change the position of slide numbers? For example shift it upward by 1 cm in the y-axis? \documentclass{beamer} \usepackage{datetime} \ddmmyyyydate ...
5
votes
3answers
52 views

A \cite{} as name for a chapter header

I'm writing a document where each chapter is a reading record of a paper. So I want the name of the chapter to be the title of the paper, and the header of the chapter to be the short citation of the ...
3
votes
1answer
25 views

How to include the part name in the header of classicthesis scrreprt?

How could I include the part name in front of the chapter name in the header of odd pages within a classicthesis scrreprt document? The original section in classicthesis.sty reads as follows: % ...
3
votes
2answers
42 views

Formatting headers in the book class

I am using the book class for my thesis. In every page that is not the beginning of a chapter, LaTeX writes the number and name of the chapter in the header. Is there any simple (emphasis on the ...
2
votes
0answers
41 views

Varying header by book part

I am trying to generate latex code that can be used to bring together minimally formatted chapters from many authors into a single report that has three parts. The section hierarchy that I am using is ...
2
votes
1answer
42 views

modify beamer footer portions

I have a small problem because I have quite a long title of my presentation so it is overflowing in footline... Is there any way how to change portion of these 3 parts in footline? I think that 1/3 ...
2
votes
2answers
74 views

Full header in scrbook

I want to produce full header including margin. Even page header is correct. But Odd page header does not include the margin in the left side. \documentclass[12pt]{scrbook} ...
2
votes
1answer
23 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
73 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 ...
4
votes
1answer
40 views

Check whether tableofcontents is empty

Inspired by how to check in latex whether the table of content is empty or not before added to the document I would like to have a head, that links to the table of contents if the toc is not empty, ...
2
votes
1answer
37 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, ...
0
votes
0answers
30 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 ...
5
votes
1answer
51 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
42 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: ...
2
votes
1answer
63 views

Latex page numbering

I am writing my PhD thesis and facing a strange problem: whatever i may do, all my page numbers are appearing on the top right side of the page. I want them to be in the even(left) and odd(right) ...
3
votes
1answer
32 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 ...
0
votes
1answer
39 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 ...
3
votes
2answers
69 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 ...
2
votes
1answer
58 views

How do I customize the \footcite command in the Historische-Zeitschrift style?

I am trying to customise the \footcite command of the Historische-Zeitschrift Style so that I can use a special citation-type. Here's what I need: When I have a bibliographic entry with something ...
1
vote
0answers
17 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 ...
0
votes
0answers
31 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 ...
3
votes
2answers
46 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} ...
5
votes
1answer
170 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 ...
0
votes
1answer
33 views

How to add the current section name to the top?

I'm trying to get the current section name and to add it to the header at right. \documentclass[12pt,french]{report} \renewcommand\chaptername{Chapitre} \renewcommand\appendixname{Annexe} ...
2
votes
1answer
24 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
49 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
40 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
62 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
119 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
28 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
20 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
39 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
50 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
48 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
35 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
123 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
44 views

Fancy page style conflict with bibliography

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
115 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
59 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 ...
4
votes
2answers
204 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
59 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
93 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{}, ...