{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
0answers
14 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 ...
4
votes
1answer
175 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
30 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
33 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
51 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 ...
1
vote
1answer
60 views

Different headers with page number in odd and even pages

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' ...
2
votes
0answers
52 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 ...
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
48 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
21 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 ...
1
vote
2answers
77 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
21 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
37 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 ...
6
votes
2answers
155 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
34 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 ...
53
votes
3answers
47k views

Creating unnumbered chapters/sections (plus adding them to the ToC and/or header)

I'm using the report document class for a thesis, and I need to add things like "Acknowledgements" and an "Introduction". I noticed that there is an \abstract command which would have been wonderful ...
1
vote
1answer
77 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} ...
1
vote
1answer
31 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 ...
0
votes
1answer
62 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 ...
1
vote
1answer
23 views

Why Subsection at top-bar in fancyhdr?

Code \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} \rhead{\textsc{Department}} \cfoot{\thepage} \begin{document} % \section{Objective Data} % nothing at left top when this ...
3
votes
1answer
71 views

Unbalanced multicolumn environment + wrapping footer results in footer moving

When using an unbalanced multicolumn (multicols* environment) and my footer has a parbox with text that wraps, the footer moves upwards. Anyone know why this is happening and how I can have it not ...
1
vote
1answer
96 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 ...
4
votes
1answer
762 views

Reproduction of Word Report Template in LaTeX

I am trying to reproduce a word report template in LaTeX to speed up my report writing. I have some basic LaTeX skill, but I am having trouble producing the blue page border as shown in the picture. ...
1
vote
1answer
33 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 ...
8
votes
3answers
841 views

Libertine newtxmath and text (oldstyle) figures in headers

This is closely related to the OP with title "lining figures in tables and math, old style figures in text", and to the answer provided therein. The following (semi)MWE is to be run with pdfLaTeX: ...
22
votes
3answers
60k views

Insert a blank page after current page

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from ...
7
votes
2answers
107 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 ...
1
vote
1answer
177 views

Automatically combining a set of PDF files

Say I have a bunch of Word documents, PowerPoint and Excel files. I have some cover photo. I want to convert the files to PDF, add the cover photo and footer to the bottom of each page hello world ...
3
votes
1answer
684 views

Glossaries and custom section headings broken

I've a document, where I use the glossaries to manage acronyms for me. Sometimes, I use a \gls{} command inside a section heading, and I have defined page headers to have the current section heading. ...
1
vote
0answers
11 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{} ...
1
vote
1answer
47 views

Make the Header space a little shorter

Basically I am trying to ensure that text on page two of any chapter respects the header. I sort of resolved this by including \headsep = 45pt (it ensures that the not-first chapter-pages respect the ...
3
votes
1answer
30 views

Using `fancyhdr` with two pagestyles

I am writing a long article but still with the article class. I want to redefine my headings using this preambule : \documentclass[12pt,a4paper,twoside]{article} \usepackage[utf8]{inputenc} ...
1
vote
0answers
40 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 ...
2
votes
2answers
43 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 ...
3
votes
2answers
60 views

Header/Footer formatting on Title page

I've spent the best part of an hour trying to make a footer/header on my title page and I'm getting so frustrated, any help appreciated. I just need my university name at the top and my supervisor at ...
2
votes
1answer
23 views

How to add logo to footer of fancy page and place it depending on odd or even page?

I use a fancyfoot of the fancyhdr package and let the footer text align left or right depending on the page number (odd or even). \usepackage{fancyhdr} \pagestyle{fancy} \fancyfoot[LE,RO]{footer ...
3
votes
1answer
59 views

Page numbers on bottom right footer

I'm using class report (one sided document) and the package titlesec. How can I put the page numbers on bottom right footer on all the pages?
3
votes
1answer
29 views

Text running into footer area!

I am trying to create a template for my short reports (3-5 pages). I would like to have a header and a footer on each page. I have managed the most of it but I am running into an issue and would ...
1
vote
1answer
28 views

Fancy header with \thechapter still shows “Chapter” after \appendix. Should show “Appendix”

I have chapters and appendices. I am not using \part. My header is defined as \fancyhead[RO,LE]{\textsf{\footnotesize \thechapter--\thepage}} After I move from chapters to appendices (after ...
1
vote
1answer
24 views

\currentitle in memoir class header prints next section title

I have a weird problem with the memoir class. I'm using it to typeset a book of short stories. I have the headers set up so that the page numbers are printed on the outer side. On the left-hand page, ...
1
vote
1answer
27 views

Vertical line in footer problem with chapter (fancyhdr) [duplicate]

This is practically a follow-up to this question. The solution there works great for an article, but does not work with chapters, i.e. with report or book classes. As you can see here on the first ...
20
votes
6answers
11k views

How to get part name in LaTeX ?

Actually I am using the fancyhdr package, and trying to put the current part name in the right header. I know that \rightmark and \leftmark are used to represent the current section and chapter ...
1
vote
0answers
32 views

Numbering shows on the first page of every chapter and skips any other pages!

I'm using book document class to draft my thesis. But I have difficulty enumerating pages. It shows numbers on the first page of every chapter, and they disappear! Also, I want to counter the Abstract ...
43
votes
4answers
57k views

Custom first page with fancyhdr

I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so: \pagestyle{fancy} \fancyhf{} % clear all header and ...
14
votes
2answers
21k views

Suppress Fancy header and footer on first page only.

How to suppress the fancy header and footer on the first page? On other pages, they should be visible.
1
vote
1answer
27 views

Header In the chapter

I am using \listoftables before starting a chapter. But in the header of the chapter List of tables appear. How can that be removed?
14
votes
2answers
15k views

Fancyhdr does not apply same header/footer on chapter and non-chapter pages

I have a problem with the fancy package: I use the report documentclass and I have a chapter, a lot of text and then a new page starting with a section (or the next page has no chapter starting on ...
11
votes
3answers
9k views

Adding sections such as Linkedin and Github to a Moderncv footer

How do I add extra links to the footer of a moderncv document that are not covered by the default commands?