{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
1answer
6 views

Create fancyhdr footer with something like: \lfoot{\centering{Centered to the left}}

How can I create a footer like this one? It appears to be text centered in the left half of the page, and in the right half of the page. I tried, eg., using fancyhdr with: \lfoot{\centering{some ...
1
vote
1answer
8 views

How to edit a simple header on the title page only?

I am writing my thesis and I don't want to use any other headers except on the cover page, which is basically a title page. I use the scrreprt class. If I use the following code, I can clearly see ...
0
votes
0answers
10 views

First & last entries in the index header like a dictionary

I have a question about the layout of my index headers : Is it possible, in the event of a long index, to put the initial letters (like the glossary group) or the first & last top level entries ...
0
votes
0answers
10 views

Index and bad left header

I need help for my index headers : Is it possible to put in the index section the section name, "Index" here, to the left page header (\lehead) ? I imagine something like ...
0
votes
0answers
11 views

multiple headers and pagination in a book

For some reason I get "Table of Contents" on every odd page. The other problem being the pagination which is reset after the second edition in the main matter. Help much appreciated. Here's the code ...
1
vote
1answer
11 views

Customizing header in gsm-l class

I use gsm-l class, a derived class from amsbook, to write my mathbook. However, it happened that on the header, the same number of chapter and section appear, like this (number 1 on the left is ...
1
vote
0answers
20 views

Headers and imakeidx two-columns

I have 2 questions about the layout of my indices & for my index headers : I don't understand why the no indent first or the no page break between the title & the index prologue just after ...
2
votes
1answer
30 views

Create new type of heading

I want to create a new type of heading. The heading should look like this. The name of the header should be "Myheader". Right now I have solved the problem as followed: \makeatletter ...
6
votes
1answer
36 views

Inserting predefined paragraph numbers in page header

I am dealing with translated texts that have "paragraph" numbers which are already defined in the source, with which I must keep consistency. Hence I can't use \theparagraph to generate the numbers. ...
4
votes
1answer
116 views

How do I make solid headers?

I am trying to replicate the formatting of a certain standardized test. It looks a little bit like this: I'm going to try memoir and tikz a little bit today, but I was wondering if there is an easy ...
1
vote
1answer
24 views

Choosing an image based on option sent to class

To be more consistent in the personal/internal documents I write, I'd like to modify my class to allow me to pass an option that will automatically select an image to put in the footer on the first ...
1
vote
0answers
13 views

Replace “Contents” header with the title of a chapter* [duplicate]

I'm using documentclass book with the package fancyhdr I have the following problem with the header. I put \tableofcontents after that I begin with a chapter* \chapter*{Introduction} ...
2
votes
1answer
48 views

Problems with scrlayer-scrpage

after getting the constant warning I shouldn't use fancyhdr with KOMA I decided to switch to scrlayer-scrpage. Unfortunately I can't get it to work despite of reading through the documentation. This ...
2
votes
1answer
39 views

Reverse out title header so background is red and font is white

Is it possible to reverse out a title header, so the background is red and the font is white? \fancyhead[C]{\textbf{\LARGE{\textcolor{red}{TITLE HEADER}}}}
3
votes
3answers
20 views

removing header and keep footer on the left from even empty pages at the end of chapters

I would like to remove the header, but not the footer (page number) from the empty page at the end of chapters in my thesis. I used: \documentclass[10pt,b5paper,openright,twoside]{book} ...
5
votes
4answers
107 views

Center footer wrt paper, not margins

Im writing a thesis. The requirements are 1.5in left margin and 1 in right. In addition, the page number must be in the right hand corner except on the first page of every chapter where it must be ...
2
votes
1answer
33 views

Changing header on Fancyhdr

Hello I am new to LaTeX and I am having a problem using fancyhdr package I want the header to only show the chapter number and chapter name in the center of the page and I am having issues doing that ...
1
vote
1answer
29 views

Removing headers from pages other than title page

I have the following code (template taken from Overleaf.com for Projects/Lab Projects) \documentclass[a4paper]{article} \input{pagesettings} % If using on writelatex, you also need to set the ...
3
votes
1answer
88 views

How to change the font of header?

When I am typing in latex, I find that the name of the chapter is too long. In order to avoid the header getting too crowded (as shown), I intend to reduce the font size of the header, but I do not ...
1
vote
0answers
15 views

Trouble with fancy page headers on pages with float too large warnings

I'm using latex to write a thesis using a template I found at http://openwetware.org/wiki/LaTeX_template_for_PhD_thesis. I am having trouble with fancy page headers on pages with float too large ...
4
votes
1answer
36 views

In fancyhdr : change the height of a logo in the footer

I want to put the logo of my school in the bottom right of my pages. The problem is that the logo collides with the text on top. I know that the position of the footer is ruled by the \footskip ...
2
votes
2answers
23 views

Get rid of text over footer after figure and long table

The document is otherwise exactly what I want. The text respects the footer on every page but one. On this one page, the first thing is a figure, followed by a longtable (that doesn't actually ...
4
votes
1answer
23 views

Does \lineskiplimit behave differently in header?

In the example below, I have in the header a word with a descender and a rule. I've set \lineskip to be very large in order to make it obvious when \lineskiplimit has been reached. ...
2
votes
1answer
56 views

Horizontal line under header background

I made a function that displays a header background. However, there supposed to be a horizontal line right under the background image, that goes from very left to very right with no margins. This is ...
1
vote
1answer
43 views

scrbook - How to place chapter to the left edge and section to the right edge on single-sided (!) documents?

Let's create a single-sided (!) document made in scrbook-class (e.g. scientific work) by setting \documentclass[twoside=false]{scrbook}. Working minimum-example: ...
0
votes
0answers
23 views

how to set the footer in following manner “College Name, Department <year YYYY>” should be included. [duplicate]

I am using lyx version 2.1.0 i have to set the footer in the following format. “College Name, Department of Computer Engineering ” should be included. (10, Times Roman, Center justified) please help ...
2
votes
1answer
41 views

How can I list all sections in the footer bar automatically?

I know how to customize the footer bar, \makeatletter \setbeamertemplate{footline} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% ...
2
votes
1answer
41 views

put the horizontal line below the section title and modified page number with the box surrounding it

I would like to put the horizontal line below the section title as the figure below: and the second one I would like to modified the page number by putting it in the rectangular box as the second ...
3
votes
1answer
27 views

Chapter name and title on page header

I would like to insert the chapter number and name on the left header of a page. So far, I have used the following code, which works very well: ...
1
vote
1answer
29 views

Double page headings with fancyhdr and fancyplain style in TOC/bibliography

I noticed the bibliography and TOC, list of figures etc have the "section title" twice on each header, on the left and the right -- I have defined in the main body just the right part of the header ...
3
votes
1answer
28 views

Alternate section title in header, also when new section starts at top of page

I'm using fancyhdr to display the current section title in the header of even-numbered pages of a book. I achieve this with the following code: \setlength{\headheight}{14pt} \pagestyle{fancy} ...
4
votes
3answers
142 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
36 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
39 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
45 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
38 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
27 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
32 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
50 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
33 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
25 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
72 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
42 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
23 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
11 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
23 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
93 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
52 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
36 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 ...