{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
4k views

No page numbering for the table of contents

How do I skip numbering until the beginning of chapter 1 with scrbook? I'm using something alone the lines of \begin{document} \pagestyle{empty} \pagenumbering{none} \maketitle \tableofcontents ...
1
vote
0answers
173 views

Overflow in LaTeX scrbook Header [duplicate]

Possible Duplicate: How can I display a short chapter name in the header and a long chapter name in the TOC? I do the typesetting for a book. There are large chapter and section headers, so ...
1
vote
2answers
728 views

fancyhdr with image and flowing text

I want to add a flipbook to my document. Everything seems to work (adding the write pictures. The only thing I'm looking for is making the text flow on every page around the image inserted with ...
1
vote
1answer
1k views

How to remove vertical space between header and body of text?

I'm writing a Statement of Purpose, in which I've opted to leave out the title altogether, and instead put the details of myself (name, program etc) in the header. While this works fine, I have ...
0
votes
1answer
777 views

How to insert footer in first pages of chapter?

I am using fancyhdr to make header and footer for pages. In the minimal example the footer is not appearing in the first page of chapter. I want footer to be appear in the first pages of the chapter ...
7
votes
2answers
2k views

Adding sections such as Linkedin and Github to a Moderncv footer

How do I add extra links to the footer of a moderncv document that are not covered by the default commands?
16
votes
1answer
721 views

Displaying the range of sections on the page in the header

I would like to have on each page the range of sections covered by it displayed, opposite of the page number and accompanied by the name of the first new section (if there is a new one) starting on ...
13
votes
1answer
13k views

How to remove footline on the title page of beamer slides

I am using the default theme, and use the following to customize the footline, \useoutertheme{infolines} \setbeamertemplate{footline}{\hspace*{.5cm}\scriptsize{\insertshorttitle \hspace*{50pt} ...
8
votes
2answers
267 views

A pagestyle with note taking area on the verso page

Is there a way to create a pagestyle wich forces all of the content of a document to the recto pages and show a "note taking area" on the verso pages?
7
votes
1answer
334 views

How to display unprinted text in headers?

I use fancyhdr to display first and last headword from my dictionary in the header section. The problem is that the headwords in the dictionary may contain special symbols (see example picture)) that ...
6
votes
2answers
314 views

page number in a diamond box

I have the following code I need to put the page number at the top of the page resulted in a diamond box. I would be grateful for any help or if you can indicate to me the code to generate it. ...
6
votes
1answer
314 views

Code improvement and suggestions in template

Consider the following MWE: \documentclass[12pt,twoside,letterpaper]{report} \usepackage[text={4.95in,7.5in},centering,bottom=1.5in,showframe]{geometry} \usepackage[dvipsnames]{xcolor} ...
5
votes
1answer
3k views

Modify Beamer's outer theme smoothbars [duplicate]

I am making a beamer presentation with XeTeX, in which I am using Ilmenau theme. This theme has by default smoothbars as an outer theme. My problem that in a section's subsection, there are a lot of ...
4
votes
1answer
1k views

header and chapter*

I find it strange that the page header in the chapter “Title2” is not updated in the example below: \documentclass[12pt]{book} \usepackage{lipsum} \begin{document} \tableofcontents \chapter{Title1} ...
11
votes
1answer
1k views

Page numbering at the top centre

I'm trying to place page numbering at the top centre (as required by submission guidelines at my university). It should be a very easy thing to do, but it seems impossible... I spent a day ...
11
votes
3answers
4k views

How can I add text in the top right corner of a page _without_ using fancyhdr

I want to put a block of text into the top right corner of my document (which uses the article class). The specifications of the document's formatting are very detailed, and it has taken me about 2 ...
10
votes
3answers
1k views

Customize headers without fancyhdr

I have strange, old book chapter to rewrite in LaTeX. The most iritating thing is the header. On odd pages the header should consist of the section name etc. But the problem is that if the page starts ...
6
votes
1answer
104 views

fancyhdr page decorations and page numbering

Hello there are several examples of decorative pages. Most examples work with a single page,when numbering is not necessary. When i try to make for every page. It does not work, or i have problems ...
5
votes
1answer
150 views

Repeating part of document on every page

I want to creat a document which has following structure Header Name, Date of birth, Address <-------- This will be written by persons (before the document is compiled) who do ...
4
votes
2answers
4k views

Custom header/footer rules (fancyhdr?)

I want to be able to customize my header/footer so far that I can change the rules that separate it from the document. Look for example at http://ww1.microchip.com/downloads/en/appnotes/00734b.pdf ...
3
votes
0answers
3k views

Optimised visualisation of top circles in beamer [closed]

I am making a presentation in Beamer. I am using smoothbars as an outer theme. However I am having a problem when a section has many frames, as indicated in the following image ...
3
votes
1answer
519 views

How can I put page numbers or headers inside my handouts (handoutWithNotes)?

I've been trying to obtain some stylized handouts using beamer with handoutWithNotes by Guido. What I have now is the 4 framed handouts purely but I'd like to put the page number on the bottom of the ...
11
votes
1answer
2k views

Changing page number location

I need to do the following: For the first page of every section, the page number should be at the bottom and centered. The text should stop one "double space" above it. For all other pages, the ...
10
votes
2answers
129 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 ...
10
votes
2answers
4k views

Problem with the header/ footer width

I have recently started using the geometry package to format the margins of my documents. Although, I've noticed that the width of the header/ footer remains the same. How can I correct this? ...
10
votes
2answers
16k views

How to move page number?

I want to change the position of the page number. I've read around here that some suggest to use the fancyhdr package, but I don't want to use it – I'm a beginner to LaTeX so I don't want to use a ...
9
votes
3answers
986 views

Stop page count before appendix

I'm trying to find a way to stop the page count in my report. So the count stops, then it comes to the appendix. Then have a separate count for the appendix, with the footer also changing so when the ...
9
votes
2answers
10k views

how can I remove the institute from the author footline on beamer?

I'm using the Madrid theme. I have defined \institute as \institute[]{\pgfuseimage{logo} \\ my-institute} because I want the logo to appear at the title frame. Also, since all viewing the ...
8
votes
2answers
206 views

Page number in the margin and separator

I want to produce this kind of header. My first attempt includes the use of fancyhdr package but still I can't figure out how it is possible to move the page number in the margin and put the | bold ...
8
votes
1answer
2k views

How to prevent upper case in page header?

I just came across this small problem which I can't seem to fix. I have a section which looks like this: \section{Properties of $C_q$} The problem is that the header of the page uses upper case and ...
8
votes
1answer
2k views

fancyhdr headings , how to remove the number of the section

I'm French so it's not easy to explain my problem but I'll try. I use fancyhdr to make my own headings (book class). I want the section's title at the right of the heading in small caps, and only in ...
7
votes
2answers
11k views

Modify footer of slides

I am editing a presentation with beamer, the theme is Boadilla: \date{date} \title[The title is quite quite quite quite quite quite long]{The title is quite quite quite quite quite quite long} ...
7
votes
3answers
3k views

Graphics/logo in headers

I am writing a short note. I would like to include a graphics file with a logo in the header of all pages including the front page. The logo is roughly the size of the box generated in the example ...
6
votes
2answers
398 views

titlesec: \sectionmark breaking \ifthesection?

In the titlesec package, one may use the \ifthesection (or \ifthechapter,...) command to apply some customization commands only when a \section has been defined. However, it seems that using ...
6
votes
1answer
2k views

Page header - Upper and lower case

First of all: this is the first time that I use LaTeX. I have these commands that create my header: \usepackage[headsepline,plainheadsepline]{scrpage2} \pagestyle{scrheadings} \clearscrheadfoot ...
6
votes
3answers
2k views

Right align inside header

I have a header, prepared using fancyhdr. I would like the first row of the left header to be right-aligned with the second row of the left header. In the following MWE I would like "My City" to be ...
6
votes
1answer
2k views

How to modify Memoir class' headers/footers without redefining everything

I am using the memoir class for a multi-part (and multi-book) document. The class' headers and footers suit me fine for a twoside, openright document, but I'd like to add to them the following: In ...
5
votes
3answers
293 views

Put a frame around all pages, except one, in a book

I am writing a book and would like to put a red, 5pt thick frame around all pages, except around one page in the middle of the book, which contains a figure that is bigger than the frame. The frame ...
5
votes
1answer
238 views

Set maximum number of table of contents in the header

I'm doing my presentation in beamer and I use warsaw theme. I have around 5-6 sections and they are all mentioned at the top of every page. This makes available frame space smaller. Can I limit this ...
5
votes
1answer
4k views

Beamer: Background Color for Footline

I define a custom footline template like that: \setbeamertemplate{footline}{ \hspace*{.5cm} \includegraphics[scale=0.07]{images/image1.png} \hspace{0.3cm} \scriptsize{Seite ...
4
votes
1answer
221 views

How can I place marginal notes always on the right but show normal odd/even headers?

I would like to typeset a book where the odd/even pages have the same format: each has a long text section on the left and a place to put small marginal notes on the right. If necessary, I want the ...
4
votes
1answer
408 views

Why are pagenumbers centered with \pagestyle{headings} on \chapter{}'s first pages?

I'm using documentclass report with options twoside and openright. The pagestyle is headings. This is a minimal working example: \documentclass[twoside,openright]{report} \usepackage{blindtext} ...
3
votes
0answers
91 views

How make a picture slideshow [duplicate]

I would like to use beamer class as backbone for my presentation. However, I encountered a problem. My wish is to put pictures on it and for LaTeX to decide their placement and divide them on frames ...
3
votes
1answer
236 views

Incorrect running heads on last page of a long table

I'm setting a table of logarithms. I'm using longtable, and it works well. Every line of the table has a markboth reference, like so: \textbf{1.03}\markboth{1.03}{1.03} & .01284 & .01326 ...
2
votes
1answer
299 views

\pagestyle{empty} on a specific number of pages

I would like to remove the style of my report on my table of contents. I formerly used \thispagestyle{empty} before \tableofcontents but it obviously works only for the first page of the table of ...
2
votes
1answer
340 views

How to change the chaptermark of bibliography

In previously asked questions about changing the chaptermark in a bibliography, I couldn't get a solution for my problem. That is why I'm asking a new question. I'm writing my thesis. The references ...
2
votes
1answer
436 views

\markboth is not working when using \chapter and \section

I am having a problem when adding \chapter and \section in the document. \markboth is not working when I compile it. I have got a link Why is \markboth not working?. But there is no solution about my ...
2
votes
1answer
177 views

titlesec: toptitlemarks and bottitlemarks broken when \section not called explicitly

This question is linked to my previous chapter-and-verse-in-header question I am trying to produce a Bible text where the Chapter and Verse references appear in the header of each page. As can be ...
2
votes
1answer
276 views

Heading exceeds margins

I am writing a document with the book class. Hence, the title of the chapter appears at the head of each even page, and the title of the section appears at the head of each odd page. However, some of ...
2
votes
1answer
2k views

fancy header/footer on pages with chapter beginning

I'd like to produce report class document with one style of page numbering. I've declared: \usepackage{fancyhdr} \fancyfoot[R]{\thepage} \pagestyle{fancy} but on pages with new chapter the page ...