{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
2answers
145 views

How to insert a running heads after Opening Page?

After Opening Page running heads should always be [running authors], no matter what's the page number (Odd/Even). Then the next page should be [short Title]. Opening Page - Empty Second Page - ...
0
votes
1answer
82 views

fancyhdr: Wrong page number for chapter* in the prefix [duplicate]

In my thesis I have a list of abbreviations between the list of tables and the first chapter. I want to continue the page numbering from the other prefix parts (roman) and then switch to arabic with ...
0
votes
1answer
40 views

Header graphic dissapear from first page when using \thispagestyle{plain} in the second one

I'm using the fancyhdr command to incorporate a header in the first page of a document. This is the code I wrote: \thispagestyle{fancy}\hspace{0.2cm} ...
1
vote
1answer
73 views

Page number within diamond box

I want to insert diamond around page numbers of my thesis file. I am using thesis documentclass. The pages numbers appear on top right corner.
2
votes
2answers
102 views

keep rightmark clear until section starts

I'd like to have the chapter title in the upper left and the section title in the upper right corner of my one-sided document. The upper right corner should only be populated if there actually is a ...
0
votes
0answers
64 views

How to raise the position of header?

As I mentioned earlier that some of the chapters of my thesis is published papers which are embedded as pfd pages. These published papers have their own headers. As a chapter in thesis, I have also ...
0
votes
0answers
64 views

How to make a header show a continuing section's title?

Goal: I want the reader to know which section he is in, even if a section was page-wrapped. I've been using \renewcommand{\sectionmark}[1]{\markright{#1}} previously and then \fancyhead[C]{\sffamily ...
1
vote
1answer
81 views

How can I make pages after the first come out correctly with fancyhdr?

I am trying to write a recommendation letter with a fancy heading at the top of the first page, using fancyhdr. I copy my code below. The results are that the first page looks good but subsequent ...
1
vote
1answer
54 views

Header when the chapter contains pdf pages

The style of my PhD thesis is compilation of published or accepted prepared manuscript with a general introduction (review of relevant literature), general discussion, summary and conclusion. So, I ...
2
votes
1answer
72 views

How to change the direction of the \makepsmarks choice of section title in header?

I am having some trouble getting the command \makepsmarks behave as I want it to behave. I would like to have the section titles in the header behave as follows: No section titles should be displayed ...
1
vote
2answers
118 views

i want the header line to reach over both the text and the marginnotes

I'm making a document with document class scrreprt, and used this to get the page numbering on the top of the pages, and a line on the top of the page \documentclass[11pt, twoside=semi, ...
2
votes
2answers
277 views

Using cfoot command

Here is my file \documentclass[11pt]{article} \usepackage{fancyhdr} \cfoot{abc} \begin{document} ab \end{document} As I understand from this website, the cfoot command is supposed to produce a ...
2
votes
2answers
108 views

Is it possible to manually put the page number when \thispagestyle{empty} is active?

I would like to put the command \thispagestyle{empty} after the beginning of a certain chapter and to put manually the page number at the same position, i.e., without invoking \thispagestyle{plain} or ...
2
votes
1answer
38 views

How can I align the footer so it is generally centered at the bottom of the page?

I am completely new to using Latex and I am trying to set up the basic layout of a document. I want to have a footer that has my name in the left part of the footer, some text in the center of the ...
0
votes
1answer
74 views

Starred chapter number and name in header

I have created custom chapter headings: \documentclass[final]{book} \usepackage{lipsum} % Custom macros \def \mychapter#1{% \chapter*{\centering{\LARGE #1}\thispagestyle{empty}}% ...
1
vote
1answer
90 views

Text color of toc and bibliography in the page header,

thank you for existing. Things are easier with solutions from here. But sometimes it is not enough (for me). I'm using a modified book class. The page header are changed in color with the following ...
0
votes
0answers
59 views

Two column bible style headers

I found this nice(see last code on the page ) example I'd like to have two column text and when i use \documentclass[paper=a4,twocolumn,pagesize=pdftex]{scrbook} section (leading paragraph) ...
0
votes
2answers
379 views

Beamer - Color of header foreground with AnnArbor theme

I use beamer with the theme AnnArbor and colortheme whale. I tried to use: \setbeamercolor{section in head/foot}{fg=white, bg=blue} or \setbeamercolor{palette tertiary}{fg=white, bg=blue} But ...
2
votes
1answer
79 views

Lower the first chapter title to put in a fancy header, have all subsequent pages look normal

I have several chapters in a book. I want a fancy header above the first chapter, so on this page the chapter number and title should be typeset a little lower than usual (below the header). All ...
2
votes
1answer
39 views

Header does not align with text frame

I have noticed that my header not is aligning with my text boarder, which I would like. The problem only occurs when I have the part where I adjust the spacing above and below equations. Can anybody ...
0
votes
1answer
65 views

Complicated design with bxjsarticle class

This question is extention for other my question Replacing \fancyhdr with \titlesec in complicated design documents. Really, I work with Japanese and according this advice, for me XeLaTeX with ...
0
votes
2answers
75 views

Creating personalized headings

My homework consists of problems that each are 3+ pages long. Every time, I have to frantically scroll the output up and down in order to figure out which problem this is, where it ends, and where it ...
0
votes
1answer
195 views

Alternate fancy page header? left page = page number + chapter, right page = page number + section?

I currently use fancyhdr to display the chapter name and page number on each page. However, I would like to change this so that it displays the chapter on the left page and section on the right. I ...
3
votes
1answer
90 views

Change the default headers of the book class

I am writing a thesis and my university requirements are to use 14pt fontsize for the body text with 1.5 line spacing. They require the chapter headings and the word CHAPTER #N to be in ALL CAPS, ...
0
votes
1answer
100 views

Double spacing in chapter heading on some front matter pages

I am using the Masters template from latextemplates.com and have made some modifications to it for writing in a humanities style. I have noticed though in the front matter that the chapter heading of ...
3
votes
2answers
119 views

How to reclaim space from removing headers and footers

I'm using the fancyhdr for headers and footers in most of my document, however there are some pages, such as the title page, for which headers and footers aren't wanted, and for these pages I've set ...
1
vote
1answer
65 views

Changing the design of the first page of a new chapter

I have a chapter located in the back-matter part of a book-class document which I want to change the style for. More precisely, I do not want to have the same big amount of space empty before the ...
4
votes
1answer
89 views

Trouble setting header content conditionally with titlesec and extramarks

I'm writing a commentary on a Classical text and trying to imitate many of the layout choices of the Cambridge Greek and Latin Classics series. In particular, I've been working on having the header ...
0
votes
1answer
71 views

Fancyhdr: unwanted different header fonts in ToC and normal text

The header font in my ToC is different than the header font in the document. How can I change that? \documentclass[a4paper,12pt]{scrreprt} \usepackage[ngerman]{babel} \usepackage{color, ...
2
votes
1answer
98 views

How to get a separate header only for the first page?

I cannot seem to figure out how to get one header on the first page and another header on all the rest of the pages. In particular I want to have a picture in the header on the first page, and some ...
2
votes
1answer
100 views

Display \parttitle in header\footer with titlesec package

I want the \parttitle displays in the header, however, as you see on the picture below, this command has been ignored: I tried solutions from there questions: How to get part name in LaTeX ? ...
3
votes
2answers
229 views

Header and footer not on 1st page?

My header and footer do not appear on the first page. I hope they do. The solution of a duplicate question is not working for me. That is why I still decided to post my question. I will make the tile ...
4
votes
1answer
68 views

How to change page number positions for with active \maketitle

I am trying to change the position of the page numbers from the bottom center to the bottom right. I tried using the fancyhdr package which seemed to be the most recommended way to solve this issue. ...
3
votes
1answer
53 views

chapter title on header and not subchapter

Hello I'm trying to use for header only the chapter title and not the sections or subsections but none of the posts that i have found helped, I'm not sure if and how i can change that, that's why I ...
4
votes
1answer
110 views

Access \title variable when redefining \ps@plain

I want to have fancy footer. I am trying to achieve this by redefining the \ps@plain command, which redefines \@oddfoot and \@evenfoot. The problem I ran into is that the variables \title and \@title ...
1
vote
1answer
290 views

How to change the appearance of `listof` headers?

I'm an amateur user of LaTeX and I'm writing my PhD thesis using a template that I found in: PhDtemplateLATEX Looking inside Classes/CUEDthesisPSnPDF.cls, I found that it uses fancyhdr for the ...
0
votes
0answers
84 views

Manually setting page headers using fancyhdr

How do I manually set page headers? In my example below, all the page headers are the same as the last instance of \rhead{7}. Is there any way to renew the page header to the first instance of ...
3
votes
1answer
49 views

Wrong header in an unumbered chapter after list of tables

I am facing a rather weird bug, in book class. After the listoftebles I am writing an unumbered chapter. The header of this chapter isn't it's title, but list of tables' title. My code is ...
2
votes
1answer
129 views

Center date in beamer footline when reducing font size

Consider the following MWE: \documentclass[10pt]{beamer} \usepackage{lmodern} \usetheme{Madrid} \title{Testing Beamer Title} \subtitle{With 10pt font} \author{John Doe} \date{\today} ...
4
votes
2answers
319 views

rightmark without subsection?

Does anyone know how using \documentclass{article} and \pagestyle{fancy} to define the header to display only \section and not \subsection? Fancy I defined as follows: \fancyhead{} \fancyhead[LO, ...
3
votes
2answers
140 views

Place text above frame title in beamer

I want to place a line of text at the top of a frame (above the frame title and default frame headline} such as: \begin{frame} My top of frame text \frametitle{My title} My frame body ...
0
votes
0answers
103 views

CV “Medium Length Professional” - change header position

I'm writing a new CV with the following template: Now, I would like to add a photo in the top-right corner, i.e. same size as the header with name and address. I tried wrapfigure but this does not ...
0
votes
1answer
44 views

Positioning titles and pictures for a frontpage

I would like to make a frontpage in LaTeX as the one I have made in OpenOffice (attached), i.e. there should be a header for the title of the university, title of the thesis and place for a small ...
4
votes
1answer
81 views

How to print “string” of first or last \label{string}, in running headers and margins, dictionary-like, with KOMA class?

I need to typeset a book where sections are identified by a string, like "PLA 1", as dictated by the book's editor (the publisher calls these strings "cite-keys".) Sometimes there are a few sections ...
2
votes
1answer
83 views

Page number is not printed on last page (before the appendices)

I have a thesis document where I use the following page numbering \documentclass[11pt,a4paper]{article} \usepackage{fancyhdr} \usepackage{setspace} \lhead{} \rhead{} \chead{Very title\\ Very ...
6
votes
2answers
146 views

Suppressing page numbering in the first page of chapter in mainmatter but *not* in frontmatter

I am using the book class. I want to suppress page styles (page number, header, footer) in the first page of every chapter in my mainmatter, but not in \frontmatter - where I want to have roman ...
3
votes
1answer
64 views

How to change the pagestyle and print a note with \cleardoublepage?

I'm using this solution provided here to clear the pagestyle when blank pages are introduced due to the usage of the openright option in the report class and the \cleardoublepage command: ...
2
votes
1answer
190 views

Flipbook using right footers

I spent some time looking at similar flip book topics but still cannot produce the intended output. I'm reviewing the FlipBook manual, but the commands I don't understand how to implement yet are: ...
4
votes
2answers
225 views

How to have colored headings with one color per chapter

I'm typesetting a proceedings-style book that contains articles in their chronological order. Since the articles are also categorized, each category is assigned a color and the the chapter styles are ...
0
votes
0answers
70 views

Trouble using fancyhdr. Stops working after two pages

I'm currently writing a thesis at school and have been trying to learn LaTeX the last weeks. I'm close to finished building up the document, but I'm having trouble with the fancyhdr package. My ...