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

11
votes
2answers
2k views

How to get rid of reference in beamer presentation menu

The following code causes the text References in the top left hand side of the slide. I've tried lots and lots of things but I don't seem to be able to get rid of the text. (Redefining \bibname ...
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
327 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 ...
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 ...
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
3k 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 ...
11
votes
2answers
616 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 ...
10
votes
2answers
4k 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 ...
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 ...
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 ...
10
votes
2answers
451 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
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
1answer
3k 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 ...
10
votes
2answers
147 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
2answers
3k 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 ...
10
votes
2answers
131 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
1answer
363 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
7k 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.
10
votes
5answers
6k views

How do I insert text into the footline of a specific slide in Beamer?

I'm trying to insert references into a beamer footline. These references are different for each slide, so I cannot include them in the footline template - unless there is then some way to later define ...
10
votes
1answer
800 views

Header and page numbers with pdfpages

I have a chapter of attachments which contains pdf files in this format, using the awesome pdfpages package: \chapter{Title} Lots of multipage pdfs following ...
10
votes
2answers
360 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 ...
10
votes
1answer
1k 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
10
votes
1answer
246 views

Strange behaviour of \renewpagestyle from the titlesec package

The following code uses the pagestyles option and \renewpagestyle from the titlesec package to redefine the plain style: \documentclass{book} \usepackage[paperheight=12cm]{geometry} ...
10
votes
2answers
591 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 ...
10
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 ...
9
votes
3answers
152 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 ...
9
votes
3answers
991 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
1answer
3k 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 ...
9
votes
2answers
143 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 ...
9
votes
2answers
321 views

Stop memoir from making mathmode section names uppercase in header

I'm typesetting my thesis with memoir and in general I'm happy with the result. However, some of my section headers have math mode text like \section{The $\phi_{ij}$ matrix} which memoir comically ...
9
votes
2answers
450 views

Page numbering at top of page [duplicate]

Possible Duplicate: How to customize headers and footers? How would I put my name and the page on my CV just like the image below? I would like to do it like the image below from the 2nd ...
9
votes
2answers
6k 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' ...
9
votes
2answers
1k 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 ...
9
votes
2answers
11k 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 ...
9
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 ...
9
votes
2answers
203 views

Decrease space between paragraph and header

How can I decrease the white space marked with blue? I tried \vspace with negative marks but to no avail (it normally does the trick but not this time). I am using the 'fancyhdr'-package. ...
9
votes
2answers
258 views

Running headers for endnotes: Notes to pp. xx–yy

Many books have running headers from which you can conveniently find the endnotes and the pages to which they refer. They may be at the end of each chapter, or at the end of the book. The running ...
9
votes
1answer
360 views

Getting the header for the references, using biblatex, to look *exactly* like the header for the main text, using apa.cls

(This is a continuation of the question asked in this thread) I'm using apa.cls (in doc-mode) in conjunction with biblatex. The apa.cls prints a header for me on every page, except for when biblatex ...
9
votes
2answers
468 views

Header not displaying correctly on chapter page due to subsection

(Complete source code below.) (Note: Not sure if I am using LaTeX or just TeX. I am editing with TeXworks, as TeXStudio was not rendering what I typed without +20 seconds of lag.) I apologize if ...
9
votes
1answer
3k views

Remove running head in amsart

Is it possible to remove the running head and page-numbering in an amsart document? I am submitting a document where there are not too many requirements, and I like how amsart looks like, but I need ...
9
votes
1answer
667 views

How to force a page to be odd

How can one trick LaTeX to believe that a given page is odd instead of even? Or alternatively call the odd-page header in a previously defined pagestyle? ...
9
votes
2answers
2k views

How to remove header on the page with big picture?

Can you help me to remove header from the page where is only one big picture? I tried \thispagestyle{empty} but it removes a header on the next or previous page. I don't know how to remove it exactly ...
9
votes
2answers
538 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 ...
8
votes
2answers
1k 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
2answers
896 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 ...
8
votes
2answers
8k views

Insert a blank page after current page

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from ...
8
votes
2answers
1k views

How to set the color of page number

I am using white colored font on black page and somehow I am losing my page numbers. I suppose the page number is still in black color. So How do we set the color of page number? And while on the ...
8
votes
2answers
326 views

longtable changes the page heading

Consider the following MWE: \documentclass{article} \usepackage{kantlipsum} \pagestyle{headings} \usepackage{longtable} \begin{document} \section{First} \kant[1] % using this longtable changes ...
8
votes
4answers
3k views

How to cut a section title in the header

I redefine my headers as in the following MWE: \documentclass[12pt]{article} \usepackage{xstring} \usepackage{fancyhdr} \fancypagestyle{monstyle}{% \fancyhf{} % remove everything ...
8
votes
2answers
5k 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} ...