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

13
votes
1answer
2k views

Headers and page numbers in external borders

I am trying to recreate in *TeX the same aspect that you can see in the following picture showing a document that I created a while ago with MS Publisher. As you can see, page numbers are rendered ...
13
votes
2answers
10k views

Beamer: Removing headline and its space on a single frame (for plan), but keeping the footline

There is now 4 hours that I'm Googling to found a solution to my problem but it's still impossible! Here is the situation: I have some frames in a presentation using the Warsaw theme, on the first ...
13
votes
1answer
4k views

How to get a colored box as the header?

I want to produce this particular template in LaTeX. With no page numbering, and rectangles in colours in a a4paper.
13
votes
1answer
2k views

Does memoir class have various page designs built in?

I wasn't able to find an answer to this question myself - are there any built-in page designs (styles) in memoir class? If so, what are they and how do I set them in the document to see how each one ...
13
votes
1answer
4k views

scrartcl: Remove page number on title page

I'm writing the abstract for my bachelor thesis. Therefore I use LaTeX. Now I have the structure of my document, but it always prints me a page number on the page. It is only one page and instead of ...
13
votes
2answers
13k views

Put an image header in \documentclass{letter}

Is there is any possibility to put an image header in a letter class document? I can put a footer image and an image for my signature, but I want to put an image on the top of the letter.
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 ...
13
votes
3answers
5k 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
3answers
8k views

Chapter title in header too long

How can I format the header on every page displaying the title of the current chapter? In one of my chapters the title is too long so it is running out of the page. Here's a minimal example of my ...
12
votes
3answers
7k 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 ...
12
votes
2answers
10k views

Top right side page numbering

I want the numbers of pages to be placed at the top right side. I try to do it like this \documentclass[12pt]{article} \usepackage{fancyhdr} \begin{document} \lhead{} \chead{} \rhead{\thepage} ...
12
votes
2answers
186 views

dictionary marks in biblatex

I want to make dictionary style pagemarks using biblatex. Consider the following example: \documentclass{memoir} \usepackage[sorting=nyt,style=ieee-alphabetic,backend=biber]{biblatex} ...
12
votes
1answer
11k views

How to add a picture to fancyhdr *header* (and align in the top right)?

In the MWE below, the blue square aligns according to plan, whereas the dummy-image doesn't, see screenshots below. How to re-code so that the dummy-image "A" is aligned like the blue square? ...
12
votes
3answers
4k views

Non-special first page in \documenclass{article}

I'm new to TeX and LaTeX, so I might not explain it all that well. I'm trying to put pagenumbers on each footer in the form "Page X of XX" using fancyhdr. So far I have this: \cfoot{Page \thepage\ ...
12
votes
3answers
7k views

Table of contents with page style empty

How can I make produce a table of contents by \tableofcontents with page style empty? It doesn't work with \thispagestyle{empty} or \pagestyle{empty}.
12
votes
2answers
372 views

Why do floats change the \mark?

The presence of floats appears to disrupt the setting of \marks, so that \topmark ends up with the wrong value. For example, consider this: \documentclass{article} \textheight 50mm \textwidth 50mm ...
12
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 ...
11
votes
3answers
186 views

Can I hook into the end of the document but *after* the `\clearpage`?

The code for \enddocument begins: \def\enddocument{% \let\AtEndDocument\@firstofone \@enddocumenthook \@checkend{document}% \clearpage \begingroup I'd like to put something after ...
11
votes
3answers
11k views

Headrule length in fancyhdr

Using the fancyhdr package, is it possible to change(increase or decrease) the headrule length without changing the header length? In the picture related, one can see that the headrule rectangle(in ...
11
votes
1answer
14k views

Suppress Fancy header and footer on first page only.

How to suppress the fancy header and footer on the first page? On other pages, they should be visible.
11
votes
2answers
13k views

Page numbering - removing page number from first page

How do you turn off page numbering from the first page in a LaTeX document?
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?
11
votes
2answers
26k 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} ...
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 ...
11
votes
1answer
4k views

header spacing trouble

I'm using the fancy header package, yet I've also adjusted all of my margins, to allow more text on each page as there is no need for the excessively large margins. I've run in to some trouble with ...
11
votes
4answers
749 views

Reference undefined in \section with amsbook

I have a section that is devoted to the proof of a theorem, and hence I used \section{Proof of Theorem~\ref{thm}} Of course, because of the headers that are capitalized, it asks for \ref{THM} when ...
11
votes
2answers
11k views

Beamer - How to customise the header of a frankfurt slide?

I use the following options: \usetheme{Frankfurt} \setbeamercolor{section in head/foot}{fg=black, bg=white} and this yields a slide which looks like this: Is it possible to bring 'Section 1' ...
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
2answers
856 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 ...
11
votes
2answers
5k views

Different headers for different chapters

I cannot find in any latex forums a solution for my problem with chapter-specific headers. I am compiling a one-sided report with various chapters. For all the chapters, I have the header showing the ...
11
votes
1answer
3k views

How to write date and time in footer

I am writing a report in which i need to write date and time in the footer. How do I write date and time in footer? like Jan 8, 2013 5:45 PM
11
votes
2answers
678 views

How to change header to list first section on page and not last section

The standard use of header/footer is to display the chapter/section information, which normally begins on a new page. What I would like to do is to have the header show the first question that is on a ...
11
votes
2answers
7k views

How can I get no header but still get “page x of y” in footer?

I'd like to get "page x of y" in a footer on each page, and the way I've found is to use: \usepackage{fancyhdr} \usepackage{lastpage} \pagestyle{fancy} \cfoot{Page \thepage\ of \pageref{LastPage}} ...
11
votes
2answers
691 views

How can I achieve dictionary headers for two page spreads in LaTeX

I would like to produce a document where I can display the first and last items of each two page spread in the headers of both the left and right pages. I know I can use \markboth{}{} to collect the ...
11
votes
2answers
887 views

flip book in master thesis

I am right now writing my master thesis in computer science about a visualization topic. Since the core stuff of my thesis is a complex 3D visualization that only quite sends its message through user ...
11
votes
1answer
2k views

How can I get multiple lines of frame dots in beamer navigation?

I'm writing a presentation using the Darmstadt theme which uses the smoothbars outer theme which is itself just a mild variation of miniframes. In a couple of my sections, I have so many frames that ...
10
votes
2answers
3k views

How to modify the headers of this book to lower case?

In the following standard \documentclass{book} all headers are in upper case. How can I modify the code below to make lower case headers? The even pages show the chapter number and name, and the ...
10
votes
2answers
7k views

Fancyhdr does not apply same header/footer on chapter and non-chapter pages

I have a problem with the fancy package: I use the report documentclass and I have a chapter, a lot of text and then a new page starting with a section (or the next page has no chapter starting on ...
10
votes
3answers
792 views

Cross-references in headers, clash between fancyhdr and hyperref

I am writing my thesis and using fancyhdr for the headers. Just the standard "Chapter name on odd pages and section name on even pages". I also need to use the hyperref package to break up long urls ...
10
votes
2answers
3k views

Want \section* to change the page header

In a book, I have several numbered sections followed by an unnumbered section. I have placed an \addcontentsline following the \section* that introduces the unnumbered section, so that it will appear ...
10
votes
2answers
7k 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
1answer
5k 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 ...
10
votes
2answers
163 views

How can the contents of a TeX \mark be viewed?

The purpose of marks in TeX is to generate running heads. One inserts material to a mark, simply by: \mark{A running head} If we write a short TeX program, we can see that the contents of \mark ...
10
votes
2answers
6k 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?
10
votes
2answers
217 views

How I could add an image in the bottom of pages of my document

Hello! In the picture you can see the bottom of pages 2-7 of one document that I found. I would like to apply the same format in my document and I would like your help. As you can see the document ...
10
votes
3answers
3k views

How to put both chapter and section name in the header of the page?

I'm working on a one-sided LaTeX document with document class scrreprt and I'm using scrpage2 to customize headers and footers of the pages. At the moment, the respective chapter name is shown in the ...
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 ...
10
votes
2answers
357 views

Editing partly Beamer header (with existing theme content)

MWE : Considering the following minimal working example : \documentclass{beamer} \usetheme{CambridgeUS} \begin{document} \section{Section1} \subsection{Subsection1} \begin{frame} \end{frame} ...
10
votes
1answer
475 views

In a multiple file LaTeX document, is there a way to tag each page with the file that generated it?

I've got a LaTeX document that's build from many smaller files. When I'm editing text or formulas I usually look for some characteristic text and do something like: find -name "*.tex" > t grep -n ...
10
votes
2answers
562 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 ...