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

4
votes
3answers
122 views

Formatting book class display style

I recently decide to change the report class to book class for my thesis. One noticeable difference is that at the top of the page, chapter name appears for book class. Another noticeable difference ...
0
votes
0answers
12 views

How can I stop index section inheriting header from bibliography?

In a book I'm just completing, I finish with a bibliography and index. And the problem which I simply can't fix is that the index section has a running header which says BIBLIOGRAPHY instead of ...
0
votes
2answers
29 views

Increase header width in exam class

Haven't asked a question in a while, but I'm really struggling with this one in spite of all my googling. I need some text to run into the margin in my header and footer using the exam class. All the ...
1
vote
0answers
29 views

Custom header in classicthesis

I am trying to have custom header like this one. I am using classicthesis. I have used fancyhdr but it gives me error. I have also tried this link but no luck. Here is my code. % ...
1
vote
0answers
37 views

How can I rotate some pages keeping the same header/footer sequence as the other pages? [duplicate]

Original text Estoy intentando rotar hojas específicas de cuadros o imágenes un poco anchas para lo cual algunas hojas deben estar rotadas para facilitar la lectura. Translation by Gonzalo Medina ...
3
votes
1answer
26 views

Change page heading of a \chapter*

I got a document that I want to have the following structure: Table of content Introduction Chapter 1 Chapter 2 ... My code looks like this: \begin{document} \include{chapters/titlepage} ...
0
votes
1answer
26 views

Make blank page after Table of Contents empty/plain

I am preparing a document using the twoside class option. The end of the Table of Contents falls such that an blank page is inserted so that the following section (List of Figures FWIW) falls on an ...
2
votes
1answer
44 views

How to set an image in a header that adjusts to the edges of the page?

I'm struggling to add an image to the headers of an A4 paper document. Additionnally, my document is twoside. That's the way I'd like it to look : Basically the logo with the name and the triangles ...
2
votes
1answer
32 views

How to assign a word for each section that appears in the header of each page?

My request is a little bit strange but I really need your help. Basically, I want to use an equivalent of \leftmark (to put the chapter in header) for a new command. For example, let's say I want to ...
1
vote
1answer
14 views

footer width and color

I have a further problem with my beamer style. So basically, I am trying to include a gray footer, where I include name, short title and frame numbers. Therefore I split the footer in two parts ...
2
votes
1answer
45 views

Custom footer using tikz

I am trying to modify the footer of my article document using Tikz but I don't know where to start. My idea is to enclose the page number in a circle and between lines at the footer: ...
3
votes
1answer
39 views

Subsection name as right header?

How would I be able to put the name of each subsection as a right header atop each page? I am using the code below, but the \rhead command literally puts "thesubsection" atop each page! ...
1
vote
1answer
15 views

`fancyhdr` to include just Chapter in header

Using fancyhdr is there a way to restrict the header to just the Chapter names (ignoring any section names?) Spinning off of my previous question [here]:1 I would like to limit the header information ...
0
votes
1answer
8 views

putting numbers in footer of \pagestyle{header}

I like the format of \pagestyle{header}, however, I want the page number to remain in the footer. Is there any simple way to achieve this? Here is my MWE \documentclass[12pt, ...
0
votes
0answers
6 views

remove header and footer from sideways figure page [duplicate]

I have a latex 'control' file that calls another file. The control file produces a header and footer on each page. There are some pages with a sidewaysfigure, that I wish to remove the header and ...
0
votes
0answers
19 views

headers and footers acting strangely with floatpag package

Using the fancyhdr package, I have a LaTeX document with the following headers and footers: Underlined chapter name at the top of each page. Page number at the bottom of each page. I was also ...
4
votes
1answer
86 views

How can I allow footer to have their own margin?

I'm required to have a strange margin of left=3.14in. What would be a good way for the footers to ignore this and instead adhere to left and right margins of .75in? MWE: \documentclass[10pt]{article} ...
2
votes
1answer
44 views

remove headers on pages where there is a sidewaysfigure

I have a Latex document with headers on each page. On the pages where I have a 'sidewaysfigure', I want to remove the headers, because sometimes, the white borders of the large sideways figures ...
2
votes
1answer
32 views

Part of LaTeX exam class document does not work

The code below works by printing "page x of y" on each page on the left, and go to next page on the right (or end of Exam for the last page). What I cannot get it to do is to write question xx ...
2
votes
1answer
42 views

exam, headrule of first page is different to second?

I define a header in the preamble: \pagestyle{head} \runningheadrule \header{xxx\\ xxx\\ xxx} {} {xxx\\ xxx\\ Seite \thepage von 8} Page one is diffrent to the other pages, and I don't know why ...
4
votes
1answer
35 views

Custom header not working as expected using fancyheader

I want to have a custom header like the following: Chapitre5 (Chapter5) in the left and the name of the chapter in the right(Mise en oeuvre) I used this in my root .tex file: \usepackage{fancyhdr} ...
1
vote
1answer
36 views

Making all mainmatter headers and footers be this way, even on new-chapter pages

I'm using memoir, in case it makes a difference. Given this reminder (mostly for myself) of what recto and verso mean: On all \mainmatter pages (even ones that start a new chapter), I'm trying to ...
1
vote
2answers
36 views

How to make running heads in book class show Part and Chapter, rather than Chapter and Section

I am preparing a book, which is to be divided into Parts, Chapters, and Sections. At the moment, my running headers give the Chapter title (on recto pages), and Section title (on verso). I would like ...
3
votes
1answer
31 views

Make \leftmark raggedright

As described in this article, I’m trying to replicate a CD. Following the solution given over there, I use scrlayer to format the chapter titles which are displayed via \leftmark. Now, the CD-manual ...
0
votes
1answer
21 views

Writing the name of the chapter in the header

Here's what I have written \documentclass{report} \usepackage{fancyhdr} \chapter{Introduction} \pagenumbering{arabic} \pagestyle{fancyplain} \fancyhf{} \lhead{\fancyplain{}{}} ...
1
vote
0answers
19 views

Why does \maketitle remove my footer? [duplicate]

I had a nice footer that I used for a letter, and wanted to reuse it in an article in which I want to include title, author and date as well... Now I find that if I include the title, author and ...
0
votes
2answers
35 views

Sectionmark escaping and numbering problem

I have a document, where I wanted to use \sectionmark to make the heading shorter, but keep the long section title in TOC. Unfortunately, doing that is wrong (the long title is output for header) if ...
3
votes
2answers
82 views

How to force KOMA-Script use headers/footers as standard classes?

It is known that KOMA-Script has more flexibility than standard classes. One example is the ability to use any font size (e.g., 11.5pt). One problem appears though, which is headers and footers ...
2
votes
1answer
32 views

Plain TeX `\footline` with rule and content

It seems pretty trivial to replace the footer with either content or a line in Plain TeX: \footline={\centerline{\folio}} % page number in footer \footline={\hrulefill} % rule in footer ...
2
votes
1answer
28 views

Layoutproblem: Fontdesign in header (minipage)

I tried to solve a layout-header-design with minipage. But within the minipage I got several problems: different font sizes linebreaks, leftalign more linespread for a single word ...
3
votes
1answer
39 views

Alternating page numbers

How can I have alternating page numbers in the footer (using fancyhdr) in the form of (left footer) page x of y -nextpage- (right footer)page x2 of y? I now have \pagestyle{fancy} \cfoot{\thepage\ ...
1
vote
0answers
26 views

Applying fancyhdr on pages where new chapters start

I'm using the book.cls document class and the following fancy header: \usepackage{fancyhdr} \fancyfoot{} \fancyhead[RO,LE]{\thepage} \fancyhead[LO]{\leftmark} \fancyhead[RE]{\rightmark} This works ...
0
votes
1answer
22 views

Format of the header in the table of contents

Help please, I'm writing a Project (document class=book), and I'm using fancyhdr to change the format of the headers. My problem is that that format doesn't apply to the first pages of the table of ...
2
votes
1answer
34 views

Different texts in odd and even pages in footer

MWE \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{fancyhdr} \usepackage{pifont} \usepackage{lipsum} % dummy text ...
4
votes
2answers
50 views

Different texts in various pages in footer

MWE \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{lastpage} \usepackage{fancyhdr} \usepackage{pifont} \begin{document} ...
0
votes
0answers
12 views

Get rid of navigation toolbar beamer in Table of contents slide Singapore theme

Hi I´m using Singapore theme and I would like to get rid of the navigation toolbar (header and footer) in the Table of contents page using beamer. How can I do it?
0
votes
1answer
46 views

How not have page numbers when there is \maketitle [duplicate]

After translating in pdflatex \documentclass[12pt]{article} \pagestyle{empty} % no page number \begin{document} \title{Article name} \author{Author} \maketitle \end{document} the first page ...
0
votes
0answers
27 views

Section name in the header

I want to make Latex display the subsection name (i.e. "2.1 Subsection") in the left header and the section name (i.e. "2 Section") in the right header. I use the following code: % !TEX TS-program ...
0
votes
1answer
72 views

Page numbers incl. text (different side)

I have two questions according to my Thesis. First, how do I switch margins automatically for every second pages, such as: Second how do I switch the page numbers and including different text ...
0
votes
1answer
35 views

Add a (different) footer to the last odd page

I have a twoside document and I'm using fancyhdr. Each even-page has footer 'A', all odd-pages have footer 'B' but now I would like the last odd page to have footer 'C'. It's no problem to add the ...
1
vote
0answers
58 views

Page numbers in pages other than the chapter's first page don't show up [closed]

I am writing my master thesis with a template that I created by myself, and everything seems to be moreorless fine except for the page numbering. I am using two different formats, roman and arabic ...
0
votes
0answers
29 views

How to add chapter names in header

I like to add chapter names in my header. Currently I used this command \fancyhead[RO,LE]{Chapter \thechapter} which can only show the chapter number . How can I add names instead of numbers.
3
votes
1answer
133 views

Template Trouble

Following code %Nam scripta a cursus ad philosophíæ scientiae \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[left=2cm,right=5cm,top=3cm,bottom=2cm]{geometry} ...
0
votes
0answers
36 views

Set Page numbers at Bottom in Memoir Class

I am using memoir class and am getting page numbers differntly positioned for even and odd numbered pages. I am using : \settrimmedsize{297mm}{210mm}{*} \setlength{\trimtop}{0pt} ...
2
votes
1answer
56 views

Why is the page number not in the footer of my page?

When I use the below code, the page number on page 2 appears above the footer. Why, and how do I put it in the footer? And what happened to the footer line on page 1? \documentclass{article} ...
0
votes
1answer
45 views

footruleskip already defined error when remove header line - abntex

I'm trying to remove the line of the header. Doing some searches, the best answer was \renewcommand{\headrulewidth}{0pt} but when I add the package fancyhdr I get an error saying that the footruleskip ...
1
vote
2answers
48 views

Changing the pagestyle on the page where a {table} or any other float is placed

When typesetting a large table using \begin{table} ... \end{table} (or any other float) one sometimes wants to change the pagestyle of the page where the float finally appears. Can one use ...
0
votes
2answers
35 views

setting header inside document for some pages

How can I set different header for different sections. In this example I am looking for replacement of \SomeCommand \documentclass{article} \begin{document} \SomeCommand{Header 1 define here} %this ...
1
vote
1answer
22 views

Is there a “brute-force” way to add a footer to a particular page?

I'm working with a complex thesis template that I don't fully understand (http://www.latextemplates.com/template/masters-doctoral-thesis). I've tried to modify it to make the abstract have arabic ...
0
votes
2answers
60 views

Top margin fancyhdr

I've been starting to use the \fancyhdr package now, using next commands: \newgeometry{left=1.5in,right=1.5cm,top=3cm,bottom=2.5cm,headheight=1cm} (after \begin{document} and after the input of the ...