{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
3k views

headlines with fancyhdr and documentclass scrreprt

I am using documentclass scrrept and fancyheader headlines. The problem is that on every page where a new chapter starts, here are no headers. Only the page no is shown in the middle of the footer. ...
7
votes
1answer
11k views

Adding header and footer to the front page (and other pages) of an article

I am beginner in LaTeX, and I have been unable to find a solution to what looks a simple problem. I use the article class for a paper. I have received a rectangular logo, about 40 mm high and as ...
19
votes
2answers
4k views

Attached external pdf file is not showing page number

I am writing my thesis. I have a "main" LaTeX file from where I am calling (attaching) pdf file. But the attached pdf file is not showing any page number. Also, it is not showing other page style I ...
20
votes
2answers
4k views

How to customize headers and footers?

I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the ...
2
votes
1answer
2k views

chapter title long and necessity to cut it

my chapter title is too long and I have the necessity to cut it in two different lines. well which could be the best way to cut it?I tried using \newline but unfortunately this modification affects ...
2
votes
1answer
143 views

numbers pages too near to titlepage

in my document the number of page is located at top-right and is too near to the title of the page.how can I put the number of the page at the bottom?I'm using book class with oneside option here an ...
0
votes
1answer
2k views

LaTeX abntex package, twoside putting the page number on the wrong side of the page

I'm finishing writing my thesis, and to save paper I'm trying to use the twoside option for the package abntex. The problem is that the number is in the wrong side of the page! How can I put it on the ...
1
vote
1answer
2k views

Missing header in Acknowledgement part

I have set up the acknowledgement part as follows: \section*{Acknowledgements} Thanks Mum. But then, the header is missing, except the line at the top is appeared. As I want to make it standardized ...
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 ...
3
votes
1answer
296 views

Force full line height in footer text

I am having problems with a custom footer in my document. On pages "v" and "x" in the front matter, the text shifts up slightly. The best I can figure is that the whitespace above those two page ...
4
votes
1answer
862 views

How to apply custom headers/footers on pages with new chapters?

I'm writing my final report in LaTeX for my bachelor's degree. I'm aiming at having a document similar to the .doc template used normally. I want to have my customs headers and footers applied on ...
7
votes
3answers
1k views

longtabu and scrpage2: line breaks in page header cause compilation errors

Please consider the following MWE: \documentclass{scrartcl} \usepackage{longtable,tabu} \usepackage{lipsum} \usepackage{scrpage2} \chead[Headline 1\\ Headline 2]{Headline 1\\ Headline 2} \pagestyle{...
2
votes
1answer
262 views

Headline next to page number overtaken to next chapter

I have one chapter for my listings %%% Document Class \documentclass[ngerman,bt]{dbvdoc} \phantomsection \addcontentsline{toc}{chapter}{Listings} \lstlistoflistings \cleardoublepage and the next ...
5
votes
2answers
4k views

Headers in book format

I am writting my thesis. I don't want the headers in each chapter to appear just in capital letters. Can I override the class file to get the header as " My First Chapter"?
3
votes
2answers
3k views

section title and page number overlapping in heading; fancyhdr

I have set the headings to show the section number and name on the left side of the page, and the page number on the right. This works fine for most section names, but one particular one is a little ...
0
votes
2answers
1k views

KOMA Script exclude header-footer in contents

I am using these settings: \documentclass[12pt,a4paper,english,openany,oneside]{scrbook} \usepackage{etoolbox} \usepackage{calc} \makeatletter \pretocmd{\@part}{\gdef\parttitle{#1}}{}{} \pretocmd{\@...
1
vote
2answers
979 views

custom header text and headrule

Using mweclass LaTeX class (report based) is writing a document as follows: \documentclass{mweclass} \title{MWE} \author{J. Doe} \begin{document} \thispagestyle{mwetest} \maketitle \pagestyle{...
8
votes
1answer
7k views

Beamer: Background Color for Footline

I define a custom footline template like that: \setbeamertemplate{footline}{ \hspace*{.5cm} \includegraphics[scale=0.07]{images/image1.png} \hspace{0.3cm} \scriptsize{Seite \...
7
votes
1answer
5k views

How to modify Memoir class' headers/footers without redefining everything

I am using the memoir class for a multi-part (and multi-book) document. The class' headers and footers suit me fine for a twoside, openright document, but I'd like to add to them the following: In ...
1
vote
1answer
339 views

How to implement topmarks similar to titleps

This is a follow-up question to Javier's answer on a solution for working topmarks here: How to add “cont.” section title to the top of pages? @Javier: could you please elaborate on your idea of how ...
4
votes
1answer
2k views

fancyhdr: putting part in fancyhdr

For my dissertation I've redefined \thechapter as \thepart because I'm only using parts, sections and subsections. With the code below I get the section as the right header but nothing on the left. ...
3
votes
3answers
969 views

Upper Case Page Header KOMA

I am trying change the page header in scrbook so that it contains upper case letters. To do so, I am using fancyhdr which gives me the required look for all the chapters. Unfortunately there is a ...
10
votes
4answers
5k views

How to cut a section title in the header

I redefine my headers as in the following MWE: \documentclass[12pt]{article} \usepackage{xstring} \usepackage{fancyhdr} \fancypagestyle{monstyle}{% \fancyhf{} % remove everything \renewcommand{\...
1
vote
1answer
2k views

Overlapping Page Headers [duplicate]

Possible Duplicate: Chapter title in header too long I'm using LaTeX to write a report, but some of the sections and subsections have long titles, and these titles overlap in the header of the ...
4
votes
1answer
416 views

Frame numbers “truncated” in beamer presentation after first two-digit frame number

I'm trying to test out the Wuerzburg theme for a beamer-presentation, but running into some difficulties with the frame numbers in the header (or footer). In my preamble I have the following \...
12
votes
1answer
18k views

How can I lower position of page number?

\documentclass{mwrep} %margins \usepackage{anysize} \marginsize{3cm}{3cm}{2cm}{2cm} \usepackage{lipsum} \usepackage{fancyhdr} \pagestyle{fancy} \lhead{}\chead{}\rhead{}\lfoot{}\cfoot{}\rfoot{\...
7
votes
1answer
876 views

fancyhdr overwrites my page numbering settings

\documentclass{mwrep} %page number on the end of chapter \makeatletter \let\ps@closing\ps@plain \makeatother %margins \usepackage{anysize} \marginsize{3cm}{3cm}{2cm}{2cm} \usepackage{lipsum} %mark ...
5
votes
1answer
3k views

Logo in a LaTeX header, Koma-Script letter class

I use this class definition in the preamble of my document: \documentclass[template, backaddress=off, foldmarks=false, enlargefirstpage, pagenumber=off, ...
6
votes
1answer
705 views

Remove italic from memoir headings pagestyle

I am using the memoir class for my thesis and I'd like to stop the headings from being italic in the page headers. I am using the headings page style, I found out how to remove the uppercase heads ...
3
votes
2answers
1k views

Page headers in uppercase (amsbook+chapterbib+natbib)

I have the following problem which has been driving me crazy for quite some time now. Using the amsbook class for whatever you are intending to use it for, in the end you will end up having your page ...
1
vote
2answers
1k views

How to keep page numbering below text?

I have started writing my report using LaTeX. I have hid the page numbers for the first pages, table of contents included. However, after table of contents page numbers seems to be above the lowest ...
5
votes
1answer
3k views

How do I switch page styles with scrpage2?

I want to use two different footers with scrpage2: one with no \pagemark (page number) on the first page; and then one that includes a \pagemark on all following pages. How do I perform the switch ...
5
votes
1answer
2k views

rightmark without numbering?

I'd like to include the section name in the header WITHOUT the section number. The only instructions I could find on how to do this said to add this: \renewcommand{\chaptermark}[1]{\markboth{#1}{}}...
7
votes
2answers
838 views

Switching from memoir to report

I've been using memoir for a while now, and have started facing problems with modified output routine, this has forced me to seriously consider switching (back) to report class. What I'm going to ask ...
2
votes
1answer
764 views

Is there method for removing \\ newlines - problem with fancyhdr and multiline chapter name

Some of my chapter has very long names, and they have different break line in ToC and on Chapter page, according to a solution to How to make (force) line-break in Chapter Title (in ToC, Chapter, ...
4
votes
1answer
1k views

Rule in the header

How can I insert a rule in the header of all pages without the fancyhdr package? Is it necessary to use the fancyhdr package?
3
votes
1answer
400 views

problem with scrpage2 and coloured borders

I'm trying to do this \usepackage{scrpage2} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usetikzlibrary{calc} %\usetikzlibrary{intersections} %\tikzset{variable/.default=} \newcommand{\...
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 ...
8
votes
2answers
488 views

Writing the chapter and the heading in two different ways

How can I write in capitals the first letter of each word in a title? In other words, I want to write the title normally \chapter{Title of my chapter} and to have the heading in this way Title Of ...
2
votes
1answer
10k views

LyX fancy header \thispagestyle{fancy}

I am using LyX and would like (all) my document pages to have a fancy header style that I defined. However, including \thispagestyle{fancy} or \AtBeginDocument{\thispagestyle{fancy}} doesn't ...
3
votes
1answer
2k views

Number on all pages of table of content

I have this issue with a LaTeX document: I want to have page numbers on every page of the Table of Content. In my case the ToC is displayed across two pages because of many chapters in the text, but ...
3
votes
1answer
321 views

A way to change how the header of a AMS-LaTeX file is presented?

I'd like to change the way the header is presented in an AMS-LaTeX file... I based my file on testmath.tex. First, I'd like to allow my header, or represented by \markboth, to show up in the first ...
3
votes
2answers
140 views

Personal Info to the Header to Save Space with Tight-space rules

My lecturer insists on extreme space-rules, max 2 pages, with quite advanced simulation problem (with all codes required to include). So I have to change my personal info to as small space as possible....
5
votes
1answer
3k views

Problem with multiple fancyheader page styles

I want to use multiple fancyheader styles in my document. I've run into a problem that seems to be a bug to me. The code below doesn't compile with latex; it seems stuck in an infinite loop. \...
13
votes
2answers
20k views

Page numbering - removing page number from first page

How do you turn off page numbering from the first page in a LaTeX document?
17
votes
2answers
4k views

Creating letters with zero-margin colored headers, in addition to the regular letterhead

I'm trying to use LaTeX for creating corporate letters. What I have found is that there are many tools to write letters, but they are mostly focused on letters of more personal nature rather than ...
2
votes
1answer
341 views

Canadian Journal of Mathematics Style & Font [duplicate]

Possible Duplicate: How do I find out what fonts are used in a document/picture? So if you look at CJM (it needs subscription online so I can't link to examples) it has a very distinct style ...
6
votes
1answer
452 views

Custom heading with tex4ht

tex4ht generates a page head and foot with navigation elements, such as [next] [tail] [up] with hyperlinks. Now I would like to change that appearance to have the page heading left and right of the ...
7
votes
1answer
519 views

How to display unprinted text in headers?

I use fancyhdr to display first and last headword from my dictionary in the header section. The problem is that the headwords in the dictionary may contain special symbols (see example picture)) that ...
4
votes
1answer
521 views

\ifnum conflict with appendix

Was helped briliantly before, here's another small problem I do not get fixed: Using the fancyhdr package I get, as promised, fancy headers. However, a chapter in the frontmatter gets a 0. ...