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

3
votes
1answer
658 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
250 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 ...
12
votes
1answer
16k 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
629 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 ...
13
votes
2answers
14k 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} ...
0
votes
1answer
190 views

How can I resize the page that a wide table can fit?

I am trying to make this table to fit on my page with those sizes: non-standard paper size: width 28 cm, height 20 cm.Margins be set exactly in order to have the area available for text 27.5 cm wide ...
9
votes
1answer
436 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 ...
11
votes
3answers
15k 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 ...
2
votes
1answer
386 views

Draft footnote changes position

I use the prelim2e package to mark a document as a draft. This package puts a draft line below the normal footer that contains for example Preliminary version – May 15, 2012. Usually this draft line ...
4
votes
1answer
1k views

Using a different page number footer in the introduction

I'm using roman page numbers in my introduction section, but for the remainder of the document I use arabic numbers, and this custom footer: \cfoot{\normalsize{\thepage~/~\pageref{LastPage}}} This ...
2
votes
1answer
837 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
687 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
366 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) ...
4
votes
0answers
351 views

Lyx: ensure runninghead always on right [closed]

I create a running heading with the command "runninghead" Now the running head is on every other side on the left side. I want to print the work onesidedly so I want to get the running heading on ...
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 ...
1
vote
2answers
2k views

scrbook page numbers are only present on first page of chapters

I have to submit my thesis tomorrow and al of a suddon do not get any pagenumbers for any but the first page of the chapters. Anybody out there who can help me? I fear I do not have time to build a ...
8
votes
2answers
509 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 ...
0
votes
1answer
140 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:
5
votes
2answers
668 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} ...
18
votes
2answers
2k views

Hyperref Link Spans a Pagebreak, Looks Ugly

I'm using hyperref for links in pdflatex and I have the following problem: when a bibliography citation spans across a page-break (which usually occurs with long author names), then an additional ...
5
votes
1answer
822 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 ...
2
votes
1answer
548 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 ...
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 ...
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?
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 ...
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 ...
2
votes
1answer
288 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. ...
2
votes
1answer
415 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 ...
5
votes
2answers
320 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: ...
3
votes
2answers
574 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 ...
11
votes
3answers
198 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
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 ...
6
votes
2answers
489 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
8k 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 ...
6
votes
1answer
527 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 ...
3
votes
1answer
531 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 ...
7
votes
1answer
567 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
841 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, ...
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, ...
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 ...
6
votes
1answer
23k views

sectionname + number in header with fancyhdr

I want to have section name + number on the left side in the header, and a predefined text on the right side. Also want to have subsection / subsubsection name + number, if the subsection is long ...
2
votes
1answer
524 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 ...
5
votes
1answer
5k views

fancyhdr: Section number, Section, colon and subsection in header

I am a bit confused with the fancyhdr options. I currently have this style for my headers: MWE: \documentclass[12pt,oneside]{book}%use oneside to ensure no blanks\ \usepackage[text={5.45in,8.5in}, ...
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?
6
votes
1answer
499 views

Hyperlinked sectionnames in fancyheader

I am trying to create a header that consist of chaptername and sectionname (chaptername:sectionname) both of them a hyperlink to chapter and section respectively. I am using Hungarian language so ...