{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
944 views

Adding custom footer in title page using latex without using any package

I am trying to add a footer to every page. The following code is working except the title page. I do not want to use any package. So, how can i do that? \makeatletter \newcommand{\ps@edbfooter}{ ...
4
votes
1answer
310 views

Let title distinct in mainmatter and TOC and header

Title in mainmatter (long title): Sec.1 The introduction of TEX --- A powerful typsetting system blabla... Sec.2 installation blabla... Title in TOC (short title, line break before em ...
23
votes
2answers
21k views

How to remove footline on the title page of beamer slides

I am using the default theme, and use the following to customize the footline, \useoutertheme{infolines} \setbeamertemplate{footline}{\hspace*{.5cm}\scriptsize{\insertshorttitle \hspace*{50pt} ...
1
vote
1answer
446 views

How to change page number location for first page only

I'm writing a style file for a document that requires the page number on the first page to be at the bottom center. On the rest of the pages it needs to be in the upper right hand corner. Can anyone ...
2
votes
1answer
2k views

fancy header/footer on pages with chapter beginning

I'd like to produce report class document with one style of page numbering. I've declared: \usepackage{fancyhdr} \fancyfoot[R]{\thepage} \pagestyle{fancy} but on pages with new chapter the page ...
1
vote
1answer
881 views

Koma Script header-footer on chapter start page

The scrbook class omits the header footer on the page where a new chapter starts. How to add them on those pages?
4
votes
1answer
2k views

\pagestyle does not work as expected

I'm using the fancyhdr package and I have defined headers & footers for the fancy page style using the fancypagestyle command. I have also defined a new page style, tocstyle, using the same ...
3
votes
2answers
916 views

How to avoid section title at the top of the page overlap the section title in the page itself (screenshot attached)

I am having a problem where a longer \section title overlaps itself. I am using the memoir class and it's printed both at the beginning of the page and in the page itself (see screenshot), and in my ...
5
votes
2answers
455 views

If pagestyle equal to… — How should I ask it?

I'd like to use (or define) an If-statement for pagestyle. I have no idea :( Update: I'm using in my document about 4 pagestyles. Just as a little example I wish to have at the border of my document ...
10
votes
1answer
4k views

Remove running head in amsart

Is it possible to remove the running head and page-numbering in an amsart document? I am submitting a document where there are not too many requirements, and I like how amsart looks like, but I need ...
6
votes
1answer
1k views

Change footer in beginning of chapters

I want the footer of all pages to be "Page N°X" on the right. I used this: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyhead[R]{\leftmark} ...
4
votes
2answers
3k views

Reduce footer space

I am having trouble reducing the footer space. I have a list of contents that is printing below the page number appearing in the footer. How do I solve this issue? I tried setting the footskip length ...
5
votes
1answer
839 views

Alternate section title for use in header

I'm TeXing a course for a teacher of mine, and he wants me to have the section titles in the headers (I use fancyhdr to achieve this). He also wants me to retain the section titles he gave me in the ...
2
votes
3answers
2k views

Page numbering with figures and tables

I'm having a bit of trouble with my LaTeX document. I've been writing quite a bit, and have a few images and a table that I'm referring to. My first problem is, that I have some text, then image, ...
11
votes
1answer
2k views

Multiline Header/Footer?

Using LaTeX, I'm trying to make a multi-line header (using \markright), and having a somewhat difficult time doing it. I've tried: Putting a table within the header using ...
8
votes
1answer
9k views

Include Page Number in Abstract

I'm trying to include a page number on my abstract page. Here is how I have it set up so far (cutting out some extra things): \documentclass[letterpaper,12pt]{report} ...
1
vote
2answers
3k views

chapter heading page numbers

I know this has been covered but I can't get any solutions that I've seen to work. Page numbers for my thesis are upper right but the first page of each chapter should have it bottom center. I tried ...
2
votes
1answer
397 views

How to set title for a single page inside document

I would like to ask for an advise about how to set title of the single page inside the document (not the title page, but regular page in document). I'd like to have picture on whole page with caption ...
5
votes
2answers
2k views

size of page number in footer

I set the size of the text using \fontsize, but this seems to have no effect on the page number. I want to keep the pagestyle as plain. How can I make the font used to print the page number "grow" in ...
5
votes
1answer
2k views

header and chapter*

I find it strange that the page header in the chapter “Title2” is not updated in the example below: \documentclass[12pt]{book} \usepackage{lipsum} \begin{document} \tableofcontents \chapter{Title1} ...
2
votes
1answer
1k views

LyX: Different margins for page numbers

How can I modify the page numbers to have a different SIDE margin. I've got the vertical margin set right but my advisor wants my page numbers for the thesis 0.5" from both top and side edge (1" ...
2
votes
2answers
4k views

Some ToC & page numbering questions

I am just in the last stages of sorting out a book for my publishers. The main problems are with page numbering, and ToC. The publishers require: Table of contents (numbered with Roman numerals) a ...
4
votes
1answer
6k views

No page numbering for the table of contents

How do I skip numbering until the beginning of chapter 1 with scrbook? I'm using something alone the lines of \begin{document} \pagestyle{empty} \pagenumbering{none} \maketitle \tableofcontents ...
4
votes
1answer
3k views

header and footer of the first page of every chapter

It maby be weird, I want to make header and footer for every page including the first page of each chapter, how can I do this?
1
vote
0answers
736 views

Page numbers in beamer are sometimes covered up — how to always display? [closed]

I'm displaying page numbers in a beamer document using this: % my ``own'' boadilla, i.e. without the infolines \usecolortheme{rose} \useinnertheme[shadow]{rounded} \usecolortheme{dolphin} ...
3
votes
3answers
9k views

Header or footer of title page differs with that of main text

My purpose is that every page except title page has same header and footer. for title page, ==> it has exactly same footer with that of other page. ==> and it has completely different header with ...
7
votes
2answers
4k views

KOMA script - Page heading for unnumbered chapter vs. automark

I'm using the following document structure based on KOMA script classes and styles \documentclass[11pt,a4paper,BCOR10mm,DIV11,toc=listof]{scrbook} \usepackage[nouppercase,headsepline]{scrpage2} ...
9
votes
1answer
1k views

How to force a page to be odd

How can one trick LaTeX to believe that a given page is odd instead of even? Or alternatively call the odd-page header in a previously defined pagestyle? ...
11
votes
4answers
762 views

Reference undefined in \section with amsbook

I have a section that is devoted to the proof of a theorem, and hence I used \section{Proof of Theorem~\ref{thm}} Of course, because of the headers that are capitalized, it asks for \ref{THM} when ...
53
votes
1answer
32k views

How to remove the top horizontal bar in fancyhdr?

When using fancyhdr, how do you remove the top horizontal rule? I do not want a header at all, just a footer. This is what I do now: \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} ...
0
votes
0answers
344 views

Rotate one whole page 90degrees in a document including header and footer created with fancyhdr [duplicate]

Possible Duplicate: How to translate and rotate the heading of landscaped pages? I have a thesis with header+footer on each page created using the fancyhdr package. On one page I have an ...
4
votes
2answers
1k views

Multi-line footer for single page

I need to add a copyright notice to my paper, and do not want it to break the layout, so I want to place it into the footer/header area of the initial page. Text may be multi-line. It should be ...
14
votes
1answer
9k views

How to add a horizontal line above the footer with fancyhdr?

How to add a horizontal line above the footer using fancyhdr, just like the line present below the header?
20
votes
5answers
10k views

How to get part name in LaTeX ?

Actually I am using the fancyhdr package, and trying to put the current part name in the right header. I know that \rightmark and \leftmark are used to represent the current section and chapter ...
4
votes
2answers
2k views

Running head in LaTeX book is wrong

I have a book with 14 chapters, two appendices (each chapter and appendix in a separate file), and a bibliography and index. This is set up as: Preamble \mainmatter include chapters \appendix ...
9
votes
2answers
2k views

How to remove header on the page with big picture?

Can you help me to remove header from the page where is only one big picture? I tried \thispagestyle{empty} but it removes a header on the next or previous page. I don't know how to remove it exactly ...
6
votes
1answer
2k views

Chapter-specific headers using fancyhdr

I would like to use the fancyhdr package to format the headers for my dissertation, and I'm running into some problems. For the introduction, I would like the even pages to have the page number and ...
4
votes
1answer
697 views

Header doesn't align with decorative line

I use tabular in header with package fancyhdr. I added settototalheight to calculate the header height. Following is a small example. The question is that header doesn't align with the decorative line ...
6
votes
1answer
4k views

Footer spacing in LaTeX

I have a huge footer in my LaTeX-document (a table I need on each page), but the table is too high to be in the document even though I use \addtolength{\footskip}{-30pt} below that size the footer ...
5
votes
1answer
2k views

How to set the chapter style in report class

When a chapter starts, it appears as, e.g., Chapter 1 Introduction and it then in upper left corner of each page in the chapter the name appears as CHAPTER 1 INTRODUCTION But I want that ...
2
votes
2answers
480 views

How to center the pagenumber related to the page

My pagemark in the heading is centered related to the textbody, but since my left margin is wider than my right, the pagenumber is not centered related to the page. Little miniature example: ...
5
votes
1answer
3k views

Simple footers with only a page number

I'm using a memoir template with page header defined. In the appendix, I maximize the geometry to print a lot of tables with narrow margins. I currently disable the memoir header with ...
3
votes
1answer
623 views

Problem with footer positioning on first TOC page (originated on fancyhdr header)

the footer on my first TOC page is not showing in the right position. My code (very simplified, I made a copy of the class and document used, made cuts until I found out the problem and generated this ...
1
vote
1answer
583 views

How to control \chapter text related to \tableofcontents

How can I control \chapter text associated with \tableofcontents How to change the font size of \chapter{text} in TOC page. How to restrict TOC pages to ONE. (Two pages are coming as default). At ...
8
votes
1answer
4k views

Replacing fancyhdr with scrpage2

I'm trying to reduce the number of packages I'm loading in my documents and I read on the KOMA documentation (and elsewhere) that it can define page styles better than fancyhdr. But each time I try to ...
7
votes
1answer
317 views

Different content if command returns empty text (ConTeXt)

I have the following code in my ConTeXt environment: \startsetups[sectioninfo] \ss \rlap{\userpagenumber} \hfill § \getmarking[sectionnumber][current] \emspace \bf ...
8
votes
2answers
19k views

Define different heights for head and foot

is it possible to define different \headerheight for head and foot respectively? For example, there is a logo image in the header which needs a large \headerheight and only text is in foot which needs ...
4
votes
1answer
1k views

Switching from fancyhdr to srcpage2

Is it worth it to switch from the fancyhdr to the scrpage2 package? I am trying to assess it's worth because I am having problems making the headers of the listsofsomething all uppercase. I am using ...
2
votes
1answer
2k views

Remove page numbers in a »titlepage« environment

I use the titlepage enviroment in my thesis and want to remove the page numbers on my title pages (where I've got 2) pages. The titlepage enviroment does that for the first site automatically but not ...
11
votes
2answers
697 views

How can I achieve dictionary headers for two page spreads in LaTeX

I would like to produce a document where I can display the first and last items of each two page spread in the headers of both the left and right pages. I know I can use \markboth{}{} to collect the ...