{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}, {scrlayer-scrpage}, {titleps}, and ...

learn more… | top users | synonyms (2)

11
votes
2answers
3k views

Alternatives to the horizontal line in fancyhdr

I'm looking for a more fancy alternative to the default (read boring) horizontal line produced under the fancyhdr package. How creative can we get?
8
votes
1answer
6k views

Customizing moderncv numbering pages style

So, I was doing something like this: \cfoot{\color{color2}\itshape John~~Doe} to get my name centered on bottom of each page. Now I'd like to have it in one line with page number. Now it looks like ...
7
votes
1answer
6k views

How to customize the page header and the page number of classicthesis?

I am using the classicthesis package and would like to customize the page headers and the page numbers. Here is a test project that shows the problem. \documentclass[dottedtoc, headinclude, ...
6
votes
1answer
552 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} ...
4
votes
1answer
442 views

Reproduction of Word Report Template in LaTeX

I am trying to reproduce a word report template in LaTeX to speed up my report writing. I have some basic LaTeX skill, but I am having trouble producing the blue page border as shown in the picture. ...
16
votes
1answer
829 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 ...
11
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 ...
10
votes
2answers
3k views

Subsection size in header doesn't change header height

I want to change the font size of section and subsection titles in the header. It works fine for the section title, the header automatically increases its height (as stated in the beamer manual) but ...
8
votes
2answers
422 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
2k views

Tables as Header and footer

I've been struggling with my .tex for quite some time now, and decided its time to look for help. This is the situation: all docs here (my office) need to bring, as header, a table (3 columns) which ...
7
votes
1answer
406 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
486 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. ...
5
votes
1answer
4k 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 ...
5
votes
1answer
2k 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} ...
4
votes
2answers
9k 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 ...
13
votes
1answer
3k 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
2answers
23k 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} ...
9
votes
2answers
1k views

Gobble page numbers

In my document I have 5 pages that consist of the chapter name. I want these pages not to have page numbers displayed and not to contribute to the page numbering. This is what I am trying to achieve: ...
8
votes
1answer
4k views

How do I increase the spacing between header text and the 'headrule' line with fancyhdr?

This is going to be something so obvious that I'm almost embarrassed to ask! I've been using fancyhdr to put some fancy headers and footers in my thesis template – in fact, doing what it says on the ...
7
votes
1answer
2k views

Creating a custom Beamer theme. Need to remove the footline for the title page only

First of all, I'm aware of this question and it's really not what I'm asking: the solution given there is to issue \setbeamertemplate{footline}{} in a localized group containing the \titlepage ...
7
votes
1answer
6k 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 ...
6
votes
1answer
257 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 ...
6
votes
1answer
3k views

Format page numbers

How can I control look of the page numbers? For example, in the MWE below: \documentclass[12pt]{article} \usepackage[backend=biber]{biblatex} \usepackage{fancyhdr} ...
5
votes
3answers
425 views

Repeating part of document on every page [closed]

I want to create a document which has the following structure Header Name, Date of birth, Address <-------- This will be written by people (before the document is compiled) who do ...
4
votes
1answer
556 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 ...
3
votes
0answers
4k 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 ...
13
votes
3answers
4k views

How to vertically align headers/footers in fancyhdr package?

I'm using fancyhdrpackage for headings and footers. I have defined left-header as a big image, and I want to vertically align (to the top or to the center, the default is to the bottom) the text from ...
12
votes
2answers
13k 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 ...
11
votes
1answer
2k views

Multiline Header/Footer?

Using LaTeX, I'm trying to make a multi-line header (using \markright), and having a somewhat difficult time doing it. I've tried: Putting a table within the header using ...
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
1answer
4k views

Avoiding page numbers in empty pages? [duplicate]

Possible Duplicate: How to remove head- and footlines for pages between chapters? I have empty pages in my document, many created using \cleardoublepage. I want the page number not to ...
9
votes
1answer
298 views

pdflscape and tikzpagenodes problem

I am having problems getting the tikzpagenodes package to work with the pdflscape package. I want to access the nodes (current page text area) and (current page marginpar area) when rotating a page to ...
9
votes
3answers
2k 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 ...
8
votes
1answer
2k views

How to change page number location on ALL pages (including chapter pages) WITHOUT fancyhdr?

Question revised: What must I do to change the page number position on EVERY page (especially for chapters) WITHOUT using fancyhdr? Background and details: I've searched now for many, many hours ...
8
votes
2answers
261 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
1k views

How to use short subsection title in header but not in table of contents?

I have a (onesided) document with fancyhdr and pagestyle fancy so it displays the section-title on the right header and the subsection-title on the left header. If section and subsection titles are ...
8
votes
1answer
3k views

fancyhdr: How get part on even and chapter on odd pages

I am trying to use fancyhdr to set the part no. and name on my left pages and chapter no and name on the right pages. My document is ...
8
votes
3answers
2k views

How to set rightmark after \section command?

I need to typset a book with very long section names. The long names should appear in the normal text and in the ToC but not in the header, so I can’t use the optional argument. \sectionmark is my ...
8
votes
2answers
2k views

Omit/delete second bar under the navigation bar in szeged theme?

The code below gives nice slides with a navigation bar on top that leads to the different sections (I have no subsections) in the presentation. However, below the navigation bar there is a second bar ...
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 ...
7
votes
2answers
545 views

Libertine newtxmath and text (oldstyle) figures in headers

This is closely related to the OP with title "lining figures in tables and math, old style figures in text", and to the answer provided therein. The following (semi)MWE is to be run with pdfLaTeX: ...
7
votes
3answers
4k 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
1answer
185 views

XeTeX seems to break headers in Tufte-handout

I get the following messed-up running headers on pages 2 and following when using Tufte-Handout class with fontspec (and therefore XeTeX). The headers repeat the Title and then add a black box. A ...
6
votes
2answers
243 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{}, ...
6
votes
2answers
2k views

fancyhead not in small caps

The text in my fancyhead is written in small caps. I would like to have it not in small caps. How can I do? This is my fancyhead: \usepackage{fancyhdr} ...
6
votes
2answers
634 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
1answer
6k views

Adding header and footer to the front page (and other pages) of an article

I am beginner in LaTeX, and I have been unable to find a solution to what looks a simple problem. I use the article class for a paper. I have received a rectangular logo, about 40 mm high and as ...
6
votes
3answers
3k 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
3k 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 ...