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

5
votes
1answer
119 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
26 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
11 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
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 ...
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 ...
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
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} } ...
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
35 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
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 ...
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 ...
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 ...
1
vote
1answer
30 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
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 ...
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
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 ...
3
votes
1answer
30 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
45 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
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 ...
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
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 ...
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 ...
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
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 ...
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?
3
votes
2answers
45 views

Header and footer with dotted lines

Our company has a new corporate design for documents, including headers and footers with dotted lines. I realised the desired layout, but it is kind of a quick and dirty solution. This is a minimal ...
1
vote
0answers
36 views

Beginner's problem - Undefined control sequence… Problems with RITA package [closed]

I am having a lot of "small" problems with my code in ShareLatex. I think the most of them because the package provided from the Journal (I copied the code for new project in ShareLatex and it worked ...
1
vote
2answers
54 views

How to place page numbers in arbitrary position (e.g. REALLY in extreme right bottom corner)

Some questions and answers exist on how to place the page numbers (I quote) "in the bottom (right) corner", but different people seem to have different (and multiple) definitions of such corners. I ...
2
votes
1answer
21 views

My page number is disapearing after page 1

I'm writing a document in latex with two logos in the header and a custom page number in the bottom right. The problem is that although the header is displayed correctly, the footer on the second page ...
1
vote
1answer
54 views

Custom header: [E] \chaptername \thechapter [O] \chaptermark

I'm new here and I'm into headers with package fancyhdr. My request is: I want on even pages, CHAPTER NUMBER, in the odd pages CHAPTERTITLE. So in a way like: [E] \chaptername \thechapter [O] ...
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} ...
2
votes
0answers
40 views

How do I change the color of the color below the header?

I want the color of number 2 to be the same as the color of number 1. This is the code that I've used: \documentclass[xcolor=dvipsnames]{beamer} \usetheme{Darmstadt} ...
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 ...
0
votes
0answers
13 views

Add footer before \maketitle [duplicate]

I try to put footer on the left only on the first page. I try to manage with fancyhdr but I can not make it work. I have already fancy model for other pages so I have to make a model only for the ...
2
votes
1answer
62 views

Strange vertical shift on some pages

Unfortunately I was not yet able to create a complete MWE since the real content of my document is copyrighted and using blindtext did not create the strange errors. My problem: I have a large ...
2
votes
1answer
66 views

Insert the number and name of the section in the header, (including on a chapter's opening page)

By using fancyhdr, I want to get the section name and number in the header of pages and if relievant also the chapter name. To be CLEARER, The question goes to : How to put on the header of the ...
0
votes
0answers
28 views

Article headers

I have a problem with article headers. I am almost always writing reports, but now I decided to write a article, because I think I could make the design of my latex document look better . So I want my ...
1
vote
2answers
74 views

Vertical line in footer and header

I want to make my footer and header look like this beautiful apple manual. I think, I should use the fancyhdr package. But, I need an example to see how I should use it in this case (for vertical ...
0
votes
1answer
29 views

Name of Author does not appear in Beamer footline

I am making my first beamer-presentation, and for some reason, the author name will not appear in the footline. The title name and the name of the institution do appear, but not the author. Here the ...
0
votes
1answer
29 views

Change reference title size

I need to change the font size of reference title in ctexbook. An obvious way is redefining the \bibname macro. However, that would change the heading as well. For example, ...
4
votes
3answers
132 views

How to align a picture in a 2 lines fancyhdr header

I use fancyhdr to create my header, i have this code: \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{lastpage} \fancyhead[L]{\includegraphics[width=1cm]{logosmall.jpg} \textbf{Title of my ...
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 ...