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

6
votes
1answer
8k views

How to modify outer theme infolines to include the title and section in the header beamer?

I am using the CambridgeUS beamer theme for a presentation and would like to modify the header to include the title of the presentation on the left and the section on the right, as I do not have many ...
14
votes
2answers
4k 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 (...
3
votes
1answer
694 views

Headings of 2nd abstract page in KOMA

I'm writing my thesis with scrartcl, using the KOMAoption abstract=true. My abstract has two pages, and while on the 1st page, the pagestyle is empty, on the 2nd page of the abstract all the ...
3
votes
2answers
253 views

Custom header, not using fancyhdr

I want to add the following header to my chapters: I do not want to use fancyhdr because when I use it, it moves all my previous page settings (principally the table of contents layout), I tried ...
14
votes
1answer
17k views

Setting the space between page header and text block

I work with documentclass report and use fancyhdr package for chapters in this way: \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\chaptermark}[1]{\markright{\thechapter\ #1}} \...
2
votes
1answer
671 views

Make bibliography not part of previous chapter

I'm writing my thesis and I have a problem with references: The references span across two pages. On the top of the second page there is a header (that appears on every page where a new chapter ...
17
votes
2answers
4k 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 doesn'...
11
votes
3answers
16k 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 ...
9
votes
1answer
445 views

How to extend the footer to include the margin notes

My memoir document has a relatively narrow typeblock (90mm) and a wide margin (55mm) for annotations, with a \marginparsep of 15mm. I want the footer to cover both the typeblock and the annotation ...
2
votes
1answer
851 views

Page number in top-right corner 15 mm from top

I am using next snippet to set page number in top-right corner. It works fine for me, except I want to place page number exactly 15mm from top edge. Is it possible? Thanks. \usepackage{fancyhdr} \...
6
votes
2answers
2k views

fancyhdr - how to disable auto section number and still show section name in header

\documentclass[fleqn,12pt,a4paper]{article} %\RequirePackage{Kaumudi_Package} \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} \section{section-1} \newpage \section{section-2} \end{document} ...
3
votes
1answer
701 views

Move footer up for more text

I need to move the footer up because the text is pretty long and doesn't fit to it. And I have no idea how to do it. Any suggestions?
5
votes
3answers
375 views

Revision Control - Footers and markings

I'm fairly new to TeX and I've been looking around for ways to mark revisions as in this document. Each page has a footer showing when it was last changed (either by the text changing or being moved) ...
5
votes
1answer
2k views

how to change the pagenumbering position in scrbook?

I am writing a document in lyx using scrbook I want to change the numbers in every page from bottom to top With the folowing code in the preamble I get it,but I think the default position remains so ...
8
votes
2answers
528 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 ...
6
votes
1answer
1k views

How to move dark rectangle in headline of PaloAlto theme after changing the sidebar width?

I'm currently using the beamer PaloAlto theme with a headline and sidebar on each slide. I used the command \setbeamersize{sidebar width left=1.7cm} to fit the table of contents in the sidebar. The ...
13
votes
4answers
439 views

Adding page number to the even page right after \part

Friends, I've never used \part{} before, so bear with me. =) Consider the following code: \documentclass[twoside]{book} \usepackage{lipsum} \begin{document} \pagestyle{empty} \begin{titlepage} My ...
0
votes
1answer
142 views

Add cross-page text referenced to text

I have \appendix in my document and I want to have referenced text throud pages for current section. For example:
3
votes
2answers
5k views

How to let all the pagestyle of pages from \frontmatter to \mainmatter empty

\frontmatter may include Table of Contents List of Figures List of Tables Preference and other parts Now, I want to set up the pagestyle of pages range from the tag \frontmatter to the tag \...
2
votes
1answer
554 views

Problem when imitating one-sided printing with double-sided printing in Memoir Class

I use memoir class and I imitate one-sided printing with double-sided printing thanks to the command (find in the memoir manual) \setlength{\evensidemargin}{\oddsidemargin} The problem is that I ...
4
votes
1answer
1k views

Blank page after bibliography

I want to create a blank page after the bibliography which has no page number or any other things I've defined in fancyhdr. Just a blank page, where I can input some text. How do I do this?
5
votes
1answer
859 views

Can I put a logo in the header using memoir?

Part of our corporate standard is to place a small logo graphic at the top right of each page. It looks like fancyhdr handles this quite easily, but I'm using the memoir class, and it doesn't seem to ...
3
votes
1answer
123 views

How can I prevent the \listof command from the float package scrambling my headers?

I'm using the minted package, which uses the float package. When I add the 'List of Listings' in my thesis, the \listoflistings command calls the \listofcommand from the float package. My problem is ...
5
votes
2answers
326 views

How to place a small table of contents in the footer in ConTeXt?

I would like to place a small table of contents in the footer in ConTeXt, which only shows the sections within the current chapter, but it does not appear. This is what I tried: \setupfootertexts[\...
7
votes
1answer
202 views

Suppress headers and footers for complete chapter

For my thesis, I need to include a chapter which can "stand alone", meaning it must be formatted in a way that allows the pages to be exported and be published separately. This means, I need to get ...
6
votes
1answer
2k views

Suppress page headers in one chapter

In a memoir document, how can I suppress the page headers for every page in one particular chapter? However, I don't want want to use \pagestyle{empty} as recommended this answer, since I want the ...
2
votes
1answer
292 views

Customizing headings

I am writing a document in the book class. I am looking for a way to produce the following. In one of my chapters, the sections carry a name, each of which can be summed up by only a few letters, for ...
1
vote
0answers
3k views

\fancyhead[LE,RO]{\thepage} not working [closed]

I'm having some issues with page numbering in my LaTeX document. I would like the odd numbered pages to display the page number on the left and the even numbered pages to display it on the right. I'...
2
votes
1answer
430 views

Exclude footer from bibliography

I'm using fancyhdr in a document I'm writing and what I want to do is place numbering (which is placed in the footer) only in the main body of the document. Not in the bibliography. In other words I ...
3
votes
2answers
591 views

How can I suppress the header for the first page in a chapter

I'm trying to implement a macro that begins a chapter. I don't want to use latex or fancyhdr but only plain tex (for pedagogical reasons). The code is the following \headline={\hfil{\tenrm\folio}\...
11
votes
3answers
202 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 ...
6
votes
2answers
503 views

Suppress headers when page contains a section title using titlesec

I'm writing a book with titlesec and try to suppress headers containing the section name, when the section starts at the top of the respective page. Given that all my sections start on a new page I ...
9
votes
1answer
3k views

Centered page numbers although set “twoside” option

Using article class and the twoside option still gives me the page numbers in the center of the page. Isn't the twoside option supposed to put the page numbers on the left in even pages and on the ...
9
votes
1answer
9k 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 ...
3
votes
1answer
549 views

A working example of fancytabs

I tried fancytabs by the example given in its manual as \documentclass{scrbook} \usepackage{scrpage2} \usepackage{fancytabs} \usepackage{lipsum} % Capture chapter head \let\oldchapter\chapter \...
6
votes
1answer
548 views

Remove fancyhdr footer when float page too large

I'm working on a book with fancyhdr with some overfull float pages, and want to remove the footer on only those pages, but keep the header. Can I either automatically remove footer if the caption ...
7
votes
1answer
579 views

How to display mdframed title in header?

I have a series of mdframed frames in the document. Some frames are few pages long, and some pages have two frames within. How can I display the frametitle of the corresponding page in the header as ...
4
votes
2answers
859 views

Adding a header to the right hand top corner from a specific page

This is how my page looks: What I want to do is, add a header to the blackened portion in this image: These are the settings that I am already using: \documentclass[letter, 10pt]{report}\...
3
votes
2answers
2k views

Fancyhdr footer not working on pages where a chapter does not begin

I'm using fancyhdr to put a text and page number on every page: \usepackage{fancyheadings} \fancypagestyle{plain}{ \fancyhf{} \lhead{section \bfseries \thesection} \chead{CS04-708 Main Project, 2011}...
7
votes
1answer
1k views

Remove the header of List of Listings

I'm using classichtesis and I would like to remove the header of List of Listings. Before posting here, I tried the following strategies: The command \renewcommand\lstlistlistingname{}, suggested ...
6
votes
1answer
1k views

Switch Between Bibliography and Appendix in fancyhdr

What I am trying to accomplish is a fancyhdr that places Appendix or Bibliography in the header with one single definition. So if I am in the bibliography it should display Bibliography, but should ...
2
votes
1answer
525 views

Why \hyperlink{\rightmark}{} does not work in fancyhead (and inside some other macros)?

\fancyhead[LO,RE]{\hyperlink{\rightmark}{\bfseries\rightmark}} (\leftmark is all the same) cause error: TeX capacity exceeded, sorry [input stack size... Why? (here, \rightmark has double ...
14
votes
3answers
3k views

Proper way to change a font temporarily with fontspec

I have been using fontspec in a lualatex document where as instructed by the manual I set my main/sans/mono font in my preamble with some default features. However at some point I wish to temporarily ...
7
votes
1answer
3k 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 ...
5
votes
1answer
1k views

No numberings, no numbers (section, chapter, subsection etc.) in header?

I am using scrpage2 with scrbook. I would like to have no numbers or numbering of sections, chapters, etc.. in the header. How can I achieve that? I have the following example: \documentclass[12pt, ...
4
votes
1answer
1k views

Make bold header in moderncv

I'm getting some problems to modify moderncv to get the header bold. I would like to get bold address, phone number and email. Can you please tell me how can I do?
2
votes
1answer
2k views

scrpage2 with scrbook. Chapter on left and right header

I started using scrpage2 with scrbook. First thing I don't understand is the usage of \automark[chapter]{chapter}. How could I let display chapter on left and right header. I managed to do that with ...
6
votes
2answers
10k views

Different header for odd and even pages with fancyhdr

We are making a book with the document class book. We use the fancyhdr package to customize the headings. We want the book title on LE and the chapter name on RO. We tried \usepackage{fancyhdr} \...
2
votes
1answer
550 views

How to build a document header?

I have been working on print media and I would like to format my current word style to LaTeX. I am very new to this knowledge but wanting to learn for my profession. I am really looking forward for a ...
2
votes
2answers
665 views

\part doesn't appear in TOC

I use the article document class and I created a TOC. It works fine and uses the \section to write the header, but the problem is that the first page after my TOC is the introduction and there I used ...