Questions tagged [header-footer]

{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 {scrpage2}.

Filter by
Sorted by
Tagged with
1
vote
1answer
39 views

\thispagestyle{plain} doesn't work

I am trying to delete the header of 5 pages by adding the \thispagestyle{plain} which theoretically allows me to only have the page numbering which is exactly what I want. However, \thispagestyle{...
4
votes
1answer
35 views

ConTeXt: Different header text on recto and verso pages?

The MWE below prints the same text (i.e., chapter title) in the middle section of ALL (recto and verso) page headers. Is it possible to print different texts (e.g., author name on verso pages and ...
0
votes
0answers
36 views

Help me to understand some lines of tex code about class specific pagestyle

I'm writing my thesis template and I'm currently taking inspiration from different types of tex templates already available online. After redefining the header/footer of the pagestyle I'm stuck ...
0
votes
1answer
35 views

How to achieve text right next to page number for the first page only?

So how would I go about achieving "Last Update ..." Heres the pdf of the orginal source: Edit 1: I rechanged the title after edit, because the person who edited didn't understand the question. ...
2
votes
0answers
635 views

What has changed in LaTeX that means the RSC template no longer works

I've been having an issue with the RSC Article template that causes the first page to render fine, but every subsequent page to render incorrectly, with a large blank area at the top, and the rest of ...
0
votes
0answers
28 views

I want to modify the header for a particular section

Whatever I am doing to change the header in a particular section, all the header style changes further, even in the next chapters. How do I restrict this propagation?
0
votes
0answers
13 views

Inserting page numbers to handout and attaching layout page number to table of contents in beamer layout

I have a huge beamer presentation and decided to use the handout beamer documentclass in which I use 2 frames on one page to produce a book like version of the presentation. Since it's such a big ...
0
votes
1answer
130 views

ACM document format vertical space

It is my first time writing a document using the ACM class (sig-alternate). However, I am encountering a big vertical space on the first column of my first page, that shifted 5-6 lines of my ...
0
votes
0answers
28 views

I can't get numbering on my roman 3 pages

So I am trying to number the pages (Abstract, Acknowledgments, Abbreviations) with roman and not showing the header. I can get the numbering in the table of content but not on the page itself. ...
1
vote
1answer
34 views

KOMA-Script “pageheadfoot” font not taking \sffamily

I've been typing a document for a few months now and I'm using the class scrreprt. I've just noticed that the header font, which used to be sans serif, has reverted back to serif because the koma font ...
5
votes
2answers
106 views

Polyglossia v1.46 modifies font family in header

This is my first question, please let me know if I am doing something incorrectly! After updating polyglossia to version v1.46 (from 2019/11/15) there seems to be a clash with memoir to version 2019/...
1
vote
1answer
28 views

Both, header and footer are missing in the first page when I use longtables or landscape environment in multiple pages

I have a problem when I use longtables and landscape environment in my text, the header and footer is missing in the first page that begin longtable (or landscape environment). Is the first time that ...
0
votes
0answers
8 views

Move \insertnavigation to the left in later sections in beamer footer

I am inserting the list of section names in the footer using: \vskip2pt\insertnavigation{\paperwidth}\vskip-2pt The complete code for the footer (using the metropolis theme) is \makeatletter \...
0
votes
1answer
25 views

fancyhdr \leftmark, \rightmark entry for \section*

I have the following latex document and I want to include a section "List of Abbreviations" without a numbering. This should appear in the table of contents as well (it should look similar to the List ...
2
votes
1answer
27 views

Headers and footers style issue in article with multiple chapter types

I am writing a document with different chapter types : the first two are fore-chapters (Abstract, Dedication) and have empty headers, the following four chapters belong to the core text and do have ...
24
votes
3answers
28k views

Modify footer used by elsarticle.cls

I would like to modify the footer used by Elsevier's elsarticle.cls without editing the class file directly. I would like to eliminate the footer on the first page that states "Preprint submitted to ...
24
votes
4answers
37k views

Page number position

I am working on a long document in LaTeX with documentclass book. I need the page number to always be in the upper right corner of each page, even if that page is the first page of a chapter (right ...
2
votes
2answers
145 views

Short title in header but not ToC for document class book

I would like to have a short title of chapters and sections in my headers, but in the ToC there should appear the long title. I am using the book document class, and package fancyhdr. \section[...
1
vote
1answer
18 views

Fancyhdr: Centered header and page number between the rule

\documentclass[10pt]{book} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{lipsum} \usepackage{fancyhdr} \title{My Book} \author{Me} \begin{document} \maketitle \chapter{My Chapter} \...
2
votes
1answer
31 views

How to insert a picture in the title so that numbering and page headers stay the same

I am writing a book with amsbook document class. I put a \title, an \author an\email and a \date and then after the \begin{document} I do a \maketitle. The result is ugly as the mail is not even ...
0
votes
1answer
58 views

My header changes color on pages that start with a section

Im writing a report (in LaTeX) for which a made a header using fancyhdr. The text in my header is suppose to be black and the line is colored. However at some pages my headertext is colored as well, ...
119
votes
3answers
306k views

Creating Running Headers and Footers, but not on the First Page

I want a header similar to Microsoft word that appears at the top of each page. However I do not want this on the first page. I would like to have the name of the project on the left, my name in the ...
12
votes
1answer
20k views

How to add a copyright notice footer to only the first page of a document?

I have a conference paper that requires me to enter a copyright notice to only the first page of the document. I know that I can use fancyhdr to add this. I added the following to my document: \...
0
votes
1answer
35 views

Add the word Appendix to header

I am completing the template for my PhD thesis. Everything works as expected, except the appendix header. So far, it only displays the title: "A Journal articles". What I want instead is: "Appendix ...
0
votes
1answer
38 views

Fancyhdr does not work!

I am trying to compile my code using fancyhdr package but it doesn't compile it properly. Can someone kindly advise how to fix the issue? Here is what I am compiling: % MNRAS Manuscript Template \...
0
votes
1answer
83 views

How to make Italic font of heading text?

I have used \renewcommand{\chaptermark}[1]{% \markboth{#1}{}} to show heading information. I need to make text font in Italic. Please tell me how can i achive that.
1
vote
1answer
34 views

Replacing chaptermark for header doesn't work on first page

In my Document, I'm using scrlayer-scrpage to generate a page header on all pages. However, one chapter name is too long to display it, so I want to replace it with a shorter version. Heres my ...
0
votes
2answers
38 views

Why doesn't the subsection show in the header?

I want my header to show the section name on the left and subsection name on the right. I am using this code \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \pagestyle{...
1
vote
1answer
19 views

how to remove bottom toolbar at footer in a generated pdf?

This code generates a pdf with watermark, with additional toolbar at footer pointed out by the blue arrow. how to remove that toolbar? \documentclass{beamer} \usepackage[printwatermark]{xwatermark} ...
9
votes
7answers
8k views

How to have a blank even page before every chapter

I've started to use Latex to create a book. I feel like I've gotten the basics down, but I am still very much at the beginning of my learning curve. Google has been a great resource, but I have not ...
0
votes
2answers
56 views

Remove Running Headers Temporarily: scrbook, Koma Class

SCRBook, Koma-class. I need to remove running headers (primarily the reference to subsections, since there aren't any) in the introduction. Is there a way to turn the headers off, and then back on? ...
2
votes
2answers
61 views

Space between headers and title Content in ToC

I was looking all day for some alternative in ToC space between header and title Content. I found \setlength\cftaftertoctitleskip, but it's useless in my case cause I already use package \fancyhd and \...
0
votes
0answers
25 views

Wrap text around picture in fancyhdr header

I would like to be able to wrap the text around the logo in the fancyhdr reader on all other pages than the first. As you can see on the screenshot there is text over the logo. I do not want to ...
0
votes
1answer
35 views

Correct measures to place the page number in an absolute position on diferent pages (titleps)

I'm trying to find the correct measurements to be able to place the page number at the bottom right of a document using titleps and the l3doc class. The problem is that I use different measurements ...
0
votes
0answers
28 views

Use footer in AltaCV cls

I am using AltaCV to write my resume and have tried much to show footer in the resume. I've checked the page and margin size but it seems okay to me, I am a newbie in latex though. And already tried ...
2
votes
1answer
1k views

problem with change of pagenumbering with twoside

I am using scrartcl with the twopage option to get a two sided document. The result is as desired. If I change the pagenumbering after the first few pages (title page, list of contents, ...) from ...
3
votes
1answer
38 views

Alignment of headers in thesis

I am writing a thesis. But it turned out to be of the wrong format. Following is the format (wrong one): I want the following format, where header on odd page must be right side and header on the ...
2
votes
1answer
33 views

How can one adapt the “\newstylepage” command?

How can one adapt the \newstylepage command in order to change its behaviour depending on which page you are? I'm using the article template, creating new pages every time I start a new section - ...
0
votes
1answer
32 views

Table of contents not showing header and footer

My Table of Contents page is not showing the headers/footers—why is this happening? \documentclass[10pt,a4paper]{article} \usepackage{printlen} \usepackage{layouts} \usepackage{titlesec} \...
0
votes
0answers
14 views

Include a section title in header, but not in body of document

I have a document where I need to place the section title in the header, but do not want to print it in the actual document. I have tried \phantonsection, but I specifically want to call the section ...
2
votes
1answer
20 views

Synchronizing header and headings font

Consider this MWE \documentclass[b5paper,11pt]{scrbook} \usepackage[automark]{scrlayer-scrpage} \usepackage{mathpazo} \usepackage{lipsum} \begin{document} \chapter{First Chapter} \lipsum[1-4]...
1
vote
1answer
36 views

Indentation of the second line of a chapter title in the header of a scrbook class document

I've got a custom scrbook class document and a long chapter title which produces a line break in the printing of the title in the header. The first character of the second line is not aligned with the ...
0
votes
1answer
42 views

Page style: adding numbers and name of chapter

How can I get this on each page of my thesis?
0
votes
1answer
40 views

How to rotate the heading of landscaped pages?

This question came from a derivation of How to translate and rotate the heading of landscaped pages? I want to rotate the header (with have page number and chapter name) on some landscape pages that ...
0
votes
0answers
21 views

Beamertheme-focus insert a graphic (logo) at every frame which contains a title/subtitle

I am using the Beamer theme Focus. I'd like to insert a logo in the top-right of every slide (i.e. frame) that contains a frame title (ie. not a plain slide). I have tried a lot of hacks and ...
0
votes
1answer
36 views

Header with book title and part name using fancyhdr

I am currently writing a book in french which is made of three parts (with \part{}). Using the fancyhdr package, I would like to have the tile of my book on the even pages and the name of the part (...
0
votes
0answers
26 views

How set page style headers for nomenclature with memoir?

Question How do I get the indicated page style mypage to apply to the nomenclature section of the following memoir MWE source? That is, odd-numbered pages of the nomenclature ("Index of Notation") ...
1
vote
1answer
33 views

Use a different font in Beamer slide headlines

I would like to use a serif font (Palatino) in slide text and a sans-serif one (Fira Sans) in slide headlines, but for some reason I cannot make it work. My question is similar to this, but the same ...
0
votes
0answers
15 views

Latex Remove Header in both Left and Right (Table of Contents)

I would like to remove the headers completely from my Table of Contents. Currently, this is what I am having: I am modifying the code from PhDThesisPSnPDF.cls. I believe this should be able to ...
2
votes
1answer
278 views

Place footnote in footer in Tufte-book class

Good morning to everyone, I'm new to the forum and use very little Latex. So sorry if the question is silly. I created a text using tufte-book class and I like how it places the images and sidenotes ...