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

0
votes
2answers
18 views

Customising left/right page headers

I'm completely new to using headers and am struggling to understand the options of the packages I'm using. I took this header setup from a friend: \documentclass[11pt,onecolumn]{book} \usepackage{...
4
votes
1answer
61 views

Conditional print depending of chapter number

I have made a custom chapter head style and I would like to use it even with table of content. so for this I have: \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[svgnames]{xcolor} \...
1
vote
1answer
27 views

How to remove headerline from title and outline pages in beamer?

I am preparing a presentation with Beamer (theme Warsaw), I want to remove just the header line (keep the footer line) from title page and outline page. can you help me please ? The code source ...
1
vote
2answers
55 views

Remove header from class file

I'm a TeX newbie, and I try to edit a template tex class file, but I can't find where the header section is defined. It looks like this: but I want to remove it completely and edit the header from ...
1
vote
1answer
67 views

Different headers with page number in odd and even pages [on hold]

Does anyone know how to put number and header in the same side but in the odd pages be placed left and in the even pages right? The main problem is that the headers are different e.g 22 'titleA' (left)...
0
votes
3answers
252 views

header and footer jumping around with \fancyhead

I have problems with how header and footers are displayed in my document. I have made a minimal example where the problems still exist: Problem 1: Header ruler moves up and down from front- to ...
2
votes
1answer
37 views

Table of contents pagestyle

Consider the following MWE: \documentclass[a4paper, twoside, 11pt]{report} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} \fancyfoot{} \renewcommand{\sectionmark}[1]{\markright{\...
0
votes
0answers
50 views

Bibliography section not visible in table of contents

Since I would like to have a separate section containing the references for all chapters, I use the chapterbib package: \usepackage[sectionbib]{chapterbib} According to the manual, this should ...
1
vote
0answers
24 views

Inserting footline into section page

I like to insert footlines into my \section{} pages. For now, it only shows them on the main content pages. Also, as my sections have a darker background, the footline should be white. How is this ...
5
votes
2answers
140 views

How to make a header with a binary matrix code as background?

I try to generate with tikz a header for each page with a binary matrix code. as: currently my working code \RequirePackage[svgnames]{xcolor} \RequirePackage{tikz} \RequirePackage{kpfonts} \...
1
vote
1answer
26 views

How do I change the page numbering position for a specific page in latex?

I am using landscape for a particular page in latex, because I want to fit a large table. So, I rotate the landscape for the table to be easily readable. However, now the page number appears on the ...
1
vote
1answer
124 views

Problem with Table of Contents and Chapter on Introduction

I am currently writing my final master thesis in tex. I am stuck up in the following place. Firstly I have a chapter called Introduction which is not numbered. In the table of contents page, the ...
2
votes
1answer
40 views

classification labels in headers and footers

I'm trying to write Latex documents that will automatically satisfy government requirements for labeling certain classes of information: - Each paragraph starts with a label indicating its importance....
1
vote
1answer
82 views

Why does source code in my header of report appear?

In my header is source code where nothing is supposed to be. Main document: \documentclass[a4paper,12pt]{report}\usepackage{lipsum} \usepackage{fancyhdr} \usepackage{layout}\usepackage[headheight=...
5
votes
2answers
39 views

header with logo on first page only of documentclass article

I am writing an article with a header on the first page only; the header includes a logo. Here is a MWE using fancyhdr: \documentclass[a4paper]{article} \usepackage{fancyhdr,graphicx} \usepackage{...
0
votes
1answer
72 views

add a disclaimer at the left-hand side bottom of the front page in a pdf paper

I need to add a paragraph as a disclaimer at the left-hand side bottom of the front page in a pdf paper from latex. I need to add a star symbol to the paper title and the author so that any readers ...
0
votes
1answer
83 views

Header problems

At the moment, I am trying to enhance the layout of my thesis. I want to include a header, in which the subsection title is on the right side. But it should only appear at the pages that do not start ...
4
votes
2answers
45 views

Text shifts into the header when using `fancyhdr` with `todonotes`

I am currently writing a KOMA-article document in Latex (Lyx) and discovered the following issue: In order to show comments in pdf I tried the pdfcomment package and the todonotes package. ...
4
votes
1answer
26 views

Footer outside page margins

My footer is outside page margins. It should be inside, no matter my page geometry. \documentclass[11pt,a4paper]{report} \usepackage[left=1cm,right=1cm,top=1cm,bottom=1cm]{geometry} \usepackage{...
1
vote
1answer
101 views

There seems to be a problem with the Footer and text [Screenshots attached]

It's been quite sometime, and i have noticed that on some pages, in my report that actually overlap with the footer. The footer is generated perfectly but the text seems not disciplined in some pages. ...
4
votes
2answers
99 views

Custom navigation dots in beamer headline

I am working on my slides in beamer and I would like to include some dots in the header indicating the current section (left) and subsection (right). The names of the sections/subsections should not ...
10
votes
2answers
15k views

How to add horizontal line after header and before footer?

How can I add horizontal line after header and before footer? header --------- --------- footer
5
votes
0answers
39 views

Special plain header gets deleted by editing font size in doc

After reading on this website, I have created a header on the first page that is different from the rest of the pages headers writing this in the preamble: \documentclass[twoside,12pt]{article} \...
0
votes
1answer
35 views

how to use headers only in the chapters and not in List of tables, List of Figures, Bibliography. e.t.c

Im writing with \documentclass[12pt, twoside, openrany]{report} My problem is that when i use \pagestyle{headings} \usepackage{fancyhdr} \usepackage{blindtext} \fancyfoot{} ...
1
vote
1answer
68 views

Right Align Page Number — problem using fancyhdr and \AtBeginShipoutNext

I've tried so many methods but nothing seems to work. I want to right align the pages only after the content page. I also keep getting a line above the cover page that I don't need. Is the code neat? ...
1
vote
0answers
42 views

strange problem with footer

I have written my thesis. My dissertation has 120 pages. For the pages from 1 to 51 the footer is on wrong height, comparing to the pages from 52 to the end (123), where the height of footer is ...
6
votes
2answers
80 views

\addcontentsline{toc}{chapter} lowercase?

I am using \addcontentsline{toc}{chapter} to, for example, give my different bibliographies separate chapterheadings as well as have a short and a long table of contents. However, using this command ...
19
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 ...
0
votes
0answers
23 views

Only second page of table of contents is empty

I am using the fancyhdr package to create some nice looking headers. The problem is I want them to start after my table of contents. So I did some research and I found out that I should use: \...
0
votes
2answers
40 views

How to remove header from frontmatter

I have a header created with fancyhdr. It repeats on all the pages including Table of Contents and Preface sections. I tried to use \thispagestyle{empty} but it only works on the first page while I ...
26
votes
3answers
33k views

Add a new empty page

I have a .tex file which is like my main, \documentclass[spanish]{article} \usepackage{times} \usepackage{amsmath} \usepackage{graphicx} \usepackage[...
4
votes
2answers
842 views

scrlttr2: make second page footer match first page footer

I'm trying do my cover letter in scrlttr2. I'm working from a template which I found online and I want the same footer for the second page as for the first. I really have no idea how to do this and ...
2
votes
1answer
40 views

scrlttr2 - set nextfoot set to same as firstfoot [duplicate]

I am tryint to get the same footer on all pages as the first page in scrlttr2. After some googling I came up with this code: \documentclass{scrlttr2} \begin{document} \firstfoot{\footnotesize% \...
3
votes
2answers
73 views

Combine Warsaw and Boadilla

I am using beamer to make a presentation. I like the Warsaw theme, but I also like Boadilla navigation bar. So my idea is using Warsaw theme, but at bottom of each slide I want it to be shown like ...
0
votes
1answer
41 views

Use Part title as header

In this question I asked how to use the argument of a new sectioning level defined with the titlesec pkg as header. Now repeating the same code I'd like to ask how can I use the argument of \part ...
0
votes
1answer
18 views

The footer is moving up in LaTeX

Sometimes, the footer goes up in some pages. So here is the page where I have the problem : And here is the page that comes just after, and with a normal footer : I am using the package ...
0
votes
0answers
26 views

problem with headers and footers code (they do not appear)

I am trying to put headers and footer in a document, I used the code I have used in a old Tex and there it works perfectly, here it doens't appear on the screen. Even Latex doesn't show me any error ...
2
votes
2answers
401 views

Automatically shorten living column title or have a linebreak

I have a long document that has several long chapters. Each chapter has a title which can be short or long (often it is very long). I noticed that if I use \pagestyle{headings} in the scrreprt class ...
5
votes
1answer
128 views

spurious dot in chapter/section headings

I'd like not to have the dots in these pictures. Related questions haven't helped. Here's the MWE. Maybe not absolutely minimal since it has features I want that may be related to the problem. \...
0
votes
1answer
34 views

thispagestyle plain without header/footer

I'm inserting an empty page with page number the following way: \newpage \thispagestyle{plain} \mbox{} Now, my header and footer are also showing up in the empty page, but I defined my header and ...
1
vote
1answer
26 views

Appendix page and thispagestyle{empty}

I have the following document: \documentclass[twoside, a4paper, 12pt, notitlepage]{report} \usepackage[english]{babel} \usepackage[toc,page]{appendix} \usepackage{fancyhdr,graphicx,lastpage}% \...
2
votes
1answer
52 views

Include a package in one chapter only

I have this package that removes the header from the pages \fancypagestyle{noheadrule}{ \fancyhf{} \renewcommand{\headrulewidth}{0pt} \fancyhead[LE,RO]{\thepage} } \pagestyle{...
1
vote
1answer
38 views

In memoir, remove all margins from a page?

I'm trying to implement a title page for a book-like document with memoir. It has some specific dimension requirements measured from the page edge, for example “place the upper edge of the title text ...
3
votes
1answer
34 views

How to Test for Page Style Inside eso-pic

I'm having trouble implementing this solution inside eso-pic: If pagestyle equal to... -- How should I ask it? It looks like \thepagestyle is coming out equal to "fancy" on every page, including ...
0
votes
1answer
24 views

Remove TOC removes pagestyling from other pages

I don't want a toc in my document so I have removed by setting the command to empty like this: \renewcommand{\tableofcontents}{} This removes the toc perfectly but it also seems to mess with my ...
1
vote
1answer
76 views

Problem with scrbook and scrpage2 when defining a new page style

I'm writing a cumulative dissertation in scrbook in which I have to embed multiple publications in PDF. This works all right with includepdf, but I thought it would be nice to keep the header and/or ...
1
vote
1answer
89 views

Pagestyle of KOMA letter package

I'm using the KOMA scrletter package to embed a letter into another document, see the following MWE: \documentclass[12pt,ngerman]{scrartcl} \usepackage{fontspec} \usepackage{polyglossia} \...
4
votes
1answer
178 views

Bad interaction between titlesec/titleps and packages that use \markboth internally

The following MWE demonstrates a bad interaction between endfloat and titleps. The second page has the word FIGURES in all caps in both the header and the footer, contrary to the page style ...
3
votes
1answer
34 views

Problems with positioning footers using fancyhdr

I'm having a problem placing footers on my document. On the first page it shows ok, but in the next pages it doesn't show at all. A bit of thinkering made me realize that the footer was indeed ...
2
votes
1answer
44 views

Double line in header

I need to have double line under the header of each page where the chapter title and page number are written (except first pages of each chapter). A sample is as the following picture: I assume it ...