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

1
vote
0answers
25 views

Header gets messed up

I've had a problem with my header on an assignment I've been working on. The headers of some chapter and or sections, when long begin to overlap over each other and sometimes go beyond the page. I've ...
1
vote
2answers
25 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{...
5
votes
1answer
72 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
33 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 ...
2
votes
1answer
38 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
55 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
141 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 ...
5
votes
2answers
40 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{...
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{...
0
votes
1answer
85 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 ...
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} \...
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 ...
1
vote
1answer
70 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? ...
0
votes
0answers
26 views

Only second page of table of contents is empty [on hold]

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 ...
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 ...
6
votes
2answers
81 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 ...
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% \...
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
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
0answers
27 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 ...
5
votes
1answer
129 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
27 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}% \...
3
votes
1answer
36 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 ...
2
votes
2answers
69 views

How to change the title, abstract and headings font to Sans Serif

I'm making a journal publication in LaTeX and I've been trying to change the font of all my non-main texts to a sans serif font. Meaning, all the headings, titles, section titles, abstracts and so on ...
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
39 views

How to move the words “Nomenclature and Bibliography” at the top of the page?

I have two issues. First, I have to move the words "Nomenclature" and "Bibliography" at the top of the page. Right now these words appear 5 cm from the page border. I am using the following script \...
3
votes
1answer
60 views

How to position page number at 2cm from top 2.5cm from right

I need the page number to be 2cm from top and 2.5cm from the right (in the top right corner) I'm using the below margins \usepackage[left=4cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} Can you ...
2
votes
1answer
27 views

Collapsing section ranges in titlesec page headers

I'm attempting to use dictionary-style ranges for page headers using titlesec, but I'm running into a problem when trying to collapse them if there's only a single range on a given page. The ...
2
votes
1answer
25 views

Appendix name in the headers and in TOC

My problem is quite simple : I want to have a TOC like that : Chapitre 1 - Some chapter title Annexe A - Some appendix title but I get : Chapitre 1 - Some chapter title Chapitre A ...
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{...
6
votes
2answers
161 views

Different Header on each page

I'm creating MCQ Exam Paper using the exam class. I'm able to create different Header for first page and remaining pages. Let us assume there are 5 pages in MCQ Paper such as : Page 1 Header : ...
0
votes
0answers
28 views

\includepdf takes heading from chapter

\addcontentsline{toc}{chapter}{Bibliografie} \bibliography{Referenties} \newpage \includepdf[fitpaper=true, pages={-}, angle=0, pagecommand={}]{laatstepagina.pdf} \markboth{}{} \end{document} I have ...
1
vote
1answer
46 views

Fancyhdr and redefinition of leftmark/rightmark

I am writing a long document and I decided to change the headers, using fancyhdr : \documentclass[12pt,a4paper]{book} \renewcommand*\thesection{\arabic{section}} \usepackage{fancyhdr} % Fancyhdr ...
1
vote
1answer
34 views

How to turn on numbers on the first pages of my sections?

Here is my code: \documentclass[a4paper,12pt,times,numbered,print,index, oneside]{Classes/PhDThesisPSnPDF} \usepackage{titlesec} \begin{document} \frontmatter \begin{titlepage} \maketitle \end{...
2
votes
0answers
56 views

Changing header style in Report

I am using LyX and I am writing my thesis using the report class (two-sided). I put in Latex preamble the following code: \fancyhf{} \fancyhead[LE,RO]{\thepage} \fancyhead[LO]{\footnotesize \...
1
vote
1answer
34 views

change the color of the footer in the first page of the fancy

I am using this to change the color of the headers and footer of the chapter pages in the fancy page style, which I got from another post. \usepackage{etoolbox} \makeatletter \...
1
vote
1answer
39 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 ...
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. ...
1
vote
0answers
12 views

How should i remove header rule and instead display footer rule with page number centre align and project title left align

\usepackage{fancyhdr} \setlength{\headheight}{15pt} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\sectionmark}[1]{\markright{#1}{}} \fancyhf{} %\fancyhead[LE,RO]{\...
1
vote
0answers
41 views

How to edit the headnote please? [closed]

I want to edit the following code to show only the chapter name not the chapter number please. For example: 'Introduction' instead of 'Chapter 1 Introduction' This is part of the thesis style of my ...
1
vote
0answers
23 views

Can I stop headnotes in one chapter of my thesis or edit it? [duplicate]

I am using my university thesis style and my main file code is shown below: \documentclass[twoside]{ecsthesis} \begin{document} \frontmatter \title {} \authors {} \maketitle \begin{...
3
votes
1answer
36 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 ...
2
votes
2answers
59 views

Remove name from moderncv footer

The moderncv documentclass creates a footer on the résumé page without a name, yet adds it on the subsequent letter page. Is there a simple way to omit one's name in the footer altogether? (It ...
7
votes
2answers
108 views

How do I make a bottom float replace the footer?

I have a \begin{figure*}[b!]. It correctly floats to the bottom of the page, but the page still has the footer below it. (It is a figure spanning two columns of an otherwise multicol-2 document.) I ...