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

How to produce a headsepline from the border of the page to the end of the chapter title

I want to produce a line below the headsepline that starts at the boundary of the page (not the margin of \textwidth) and ends at the last letter of the chapter/section title. The closest I get after ...
1
vote
0answers
16 views

pagestyle{empty} and table of contents [duplicate]

For some reason I get a page number in the footer of the table of contents in a book document class. How can I delete it?
2
votes
1answer
50 views

How to set top padding on image in fancyhead?

I'm using fancyhdr, with a simple logo like the one below. With MWE like the following: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % set the font of the ...
1
vote
1answer
89 views

Inserting predefined paragraph number in page header - follow up

I am following up further on the questions in: Inserting predefined paragraph numbers in page header I was not allowed to comment on this issue so had to create a new question. @Andrew. @Sujato has ...
3
votes
1answer
31 views

Modify the header in a document - Header out of margins [duplicate]

I need to modify the header for this chapter but avoiding modifications in other chapters and the ToC. MWE: \documentclass[11pt,letterpaper,oneside]{book} \usepackage[utf8]{inputenc} ...
1
vote
0answers
20 views

command to create empty pages for all blank pages [duplicate]

Is there a simple command one can put in the preamble to treat all blank pages like empty pages (with no page number and no header)?
0
votes
0answers
24 views

\thispagestyle{empty} has no effect with pages with figures [duplicate]

this is my code: \thispagestyle{empty} \begin{figure} \centerline{\includegraphics[scale=0.7]{alciatus2.pdf}} \caption{\textit{Alciati Emblematum liber}, Emblema CXLV, In Senatum boni Principis ...
2
votes
1answer
40 views

headers set in caps with \titleps

For some reason I cannot set the headers in capital letters with the following code: \documentclass[11pt,twoside]{book} \usepackage{titleps} \newpagestyle{Brill}[]{ ...
2
votes
1answer
55 views

Adjusting Text Size in Footer

Here is the code that I have been using. I have a couple of questions here, How to reduce the size of text in footer so that it is not chopped off at the end of a page? Move the text in the footer ...
0
votes
1answer
46 views

How to create a tag in the corner of a page?

Requested result: How to make such a header ("Fig. 3") in the left upper corner?
5
votes
1answer
107 views

Memoir - set headrule on right hand pages only

I'm writing two-sided using memoir. I have modified a template to put content from the front matter only on right-hand (recto) pages. This, however, does not ensure that verso pages are completely ...
0
votes
1answer
97 views

Rotating page incl. footers

I am trying to rotate a page in my thesis. I have now spend time by reading other questions about the same answer. I found this in preamble: \usepackage{pdflscape} And this in the thesis, where I ...
2
votes
1answer
40 views

How to access per-page variable/command for use in footer

What I would like to accomplish is including a per-chapter variable/command in the header (or footer, would be the same issue). The real crux of this question is, I supposed: how would one include a ...
5
votes
2answers
238 views

LaTeX two different page numbers on the same page

I want to get two different page numbers on the same page in LaTeX. For example, I want to have overall page numbers in the footer and within chapter page numbers in the header. I wonder how to get ...
2
votes
1answer
53 views

Remove the header for “winnower”

I am using the "winnower" document template for my assignment from Overleaf. And I want to remove the header written "The Winnower" for every page. I wonder how I should erase that. I attached the ...
0
votes
1answer
32 views

2nd page of TOC overlapping with header

I am using R's Brew package to automate LaTeX reports, and I am having trouble formatting table of contents so that they don't overlap the header. The header works correctly, but I have a long Table ...
2
votes
3answers
100 views

Creating a Flipbook as overlay only on some pages

I'm writing a thesis where some images with minor changes are used. This changes would be perfectly visible if it would be possible to overlay one picture over the other and toggle both. So doing it ...
1
vote
1answer
84 views

How to set page number on outer bottom side of the page in classicthesis?

I am using classicthesis along with a Koma-script class. I was able to put the page number on the outer bottom side of the page. But, a page number is still present in the heading and also it is ...
1
vote
1answer
80 views

How to show Pagenumber on \listoffigures and \listoftables?

MWE \documentclass[12pt, a4paper, twoside, %openright, toc=listof, BCOR=5mm, bibliography=totoc, parskip=half]{scrreprt} \usepackage[square,sort,comma,numbers]{natbib} %Literaturverzeichnis ...
2
votes
1answer
48 views

To display section names in odd pages and chapter names in even pages outer mode

\usepackage{footnote} \usepackage{tablefootnote} \usepackage{scrpage2} % Height of Headnote \setlength{\headheight}{1.5\baselineskip} % Settings \renewcommand*{\headfont}{\normalfont} ...
3
votes
1answer
47 views

Text after footnote text but within the text area

I'd like to typeset text that appears within the typesetting area, but after the footnotes. (How) is this possible? I've tried to make the page shorter (with the geometry package and the \newgeometry ...
4
votes
1answer
57 views
2
votes
2answers
55 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 ...
3
votes
3answers
65 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
37 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
27 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 ...
1
vote
1answer
45 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
30 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
127 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
89 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 ...
8
votes
1answer
132 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
146 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
28 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
16 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
266 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 ...
3
votes
1answer
61 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
89 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
179 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
49 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
113 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
217 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
45 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
72 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
37 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
27 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
113 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
158 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
76 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
94 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 ...