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

2
votes
1answer
39 views

Problems with footer and header and pagenumbering

My problem is, that all my footers and headers are gone now :( and the pagenumber. Here the code: \documentclass{article} \pagestyle{empty}% for cropping \usepackage{microtype} \begin{document} ...
0
votes
0answers
20 views

Moving title to header

I am trying to write a new class file for forms. I wish to redefine title so that it occurs inside \rhead{} (using the fancyhdr class). This is not a query about \markboth or anything like that. How ...
1
vote
0answers
41 views

Regarding fonts in various locations of book class

I am using the book class. I am not interested in using Memoir. I need to be able to change the font and size of the word "Contents" which appears at the beginning of the ToC. I can do this now ...
4
votes
3answers
101 views

Chapter name in header of page

I'm looking to get chapter names in the header of my document. I am using the article class, and the code below is an example of how each chapter/section begins. \noindent {\huge \textbf {Chapter 1}} ...
2
votes
1answer
156 views

Beamer template with different style options for frames

I am working on a beamer template which tries to mimick an existing .ppt-template from my institute. My problem now is, that the beamer template should be able to have frames with different styles for ...
2
votes
1answer
64 views

Adding colours at the header and footer and reducing the box size of the header

I am new to the Latex. I have tried my hand on this in developing a document with the header and footer. I almost succeeded with the google resources plus this forum. But still I need to fix two ...
7
votes
1answer
184 views

Different headers/borders for each page

I'd like to apply a different heading/border for each page. The footers will all be the same. I want it to look like this: I can make the first two pages different but I don't know how to get ...
4
votes
1answer
36 views

How to make \StrLeft understand the math expressions as full words in headers?

Here How to cut a section title in the header we learn how to use \StrLeft with the package titleps. However, LaTeX outputs an error when there is a math expression in my header say, \section{The ...
6
votes
1answer
116 views

Newsletter Formatting

First post here but I'm trying to create a newsletter. However, I'm having some difficulties. I want it to look similar to this example: http://www.calvin.edu/admin/hr/newsletter/MAY%202012%20(e).pdf ...
1
vote
0answers
35 views

Different languages in headings

I am using babel with Greek and English languages. I don't use XeLaTeX. I have the following configuration for the header: \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} ...
7
votes
3answers
176 views

Inserting a sentence at the top of the page

I want to insert a sentence (Author's personal copy) at the top of the page which is centered. I don't want a header with line. Just want to add a sentence (bold or italic). How can I add that for ...
1
vote
0answers
49 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
38 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
120 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
57 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
198 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
77 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
315 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
84 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
274 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 ...
6
votes
3answers
74 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
74 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
118 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
60 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
74 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
131 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
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 ...
4
votes
1answer
49 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
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, ...
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 ...
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: ...
2
votes
1answer
110 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
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 ...
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 ...
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 ...
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 ...
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 ...
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} ...
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 ...
1
vote
1answer
62 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
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
83 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 ...
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 ...
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 ...