{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
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
2k 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: ...
7
votes
2answers
825 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
749 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=} ...
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
486 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
316 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 ...
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
19k 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
340 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 ...
6
votes
1answer
450 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
507 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
518 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. ...
2
votes
1answer
2k views

Consistent placement for page number with changing margins

I have a document (letter paper) with a cover letter, some single column pages and some two-column pages. For readability I would like to use 1.5" margins for the single column pages and 1" margins ...
5
votes
1answer
5k views

How to make (force) line-break in Chapter Title (in ToC, Chapter, Header) - if possible?

I've found how to make different text for Title appearing in ToC, Chapter and headers Chapter title in header too long : \chapter[medium-length title for TOC, if wanted]{full title name} ...
4
votes
1answer
376 views

Incorrect running heads on last page of a long table

I'm setting a table of logarithms. I'm using longtable, and it works well. Every line of the table has a markboth reference, like so: \textbf{1.03}\markboth{1.03}{1.03} & .01284 & .01326 ...
1
vote
1answer
410 views

How can I make the fancyhdr footer to be longer than \textwidth?

I'm using XeLaTeX with fancyhdr. I need to have the footer wider than \textwidth. This is an intentional effect. The problem is that the footer is several lines long, so I want them to appear as a ...
3
votes
2answers
270 views

Preventing the page number from appearing on the title page of part

Can someone help me to get rid of the page number at the bottom of the \part title page in the book document class? Using \renewcommand{\part}{\thispagestyle{empty}} will change the font and ...
7
votes
1answer
11k views

Formatting resume in LyX

I am writing a resume in LyX (compiled using MiKTeX). How can I place my name at the top and centered? Also when I output it in PDF, there is always a huge margin space at the top. How can I set the ...
3
votes
1answer
2k views

How to get header and footer over ToC, LoF and Nomeclature?

I would like to know how we include header and footer over Table of Contents, List of Figures and Nomenclature? Do we need to renew any command? or any package is used to do that? Sample script would ...
8
votes
1answer
2k views

How can I get this header and footer?

In every pager header I want title, author left side and chapter name with indent and date on right side. I have been trying from long time. It's very important for my thesis. Please some one help me ...
6
votes
3answers
4k views

Right align inside header

I have a header, prepared using fancyhdr. I would like the first row of the left header to be right-aligned with the second row of the left header. In the following MWE I would like "My City" to be ...
6
votes
1answer
484 views

apa6 package: heading line exceeds textwidth

I'm using the apa6 package with the document mode "doc". Now I ran into some problems with the heading line. On even pages the heading line exceeds the textwidth on the left hand side and on odd pages ...
1
vote
1answer
188 views

How can the concatenation of two valid LaTeX documents fail to be valid?

The question in the title is confusing, because it doesn't make sense (though it's legal) to concatenate LaTeX documents; everything after the first \end{document} will be ignored. What I mean is ...
10
votes
2answers
182 views

How can the contents of a TeX \mark be viewed?

The purpose of marks in TeX is to generate running heads. One inserts material to a mark, simply by: \mark{A running head} If we write a short TeX program, we can see that the contents of \mark ...
4
votes
1answer
277 views

Which section in the header with twocolumn book?

I'm wondering about the logic behind which section name is displayed in the header with a twocolumn book. My MWE: \documentclass[twocolumn]{book} \usepackage{lipsum} \begin{document} \chapter{Foo} ...
6
votes
1answer
7k views

margins and text position

When answering this question: Using fancyhdr to create an image based header and footer I needed to get the distance from the left edge of the paper to the beginning of \textwidth and the distance ...
14
votes
3answers
14k views

Using fancyhdr to create an image based header and footer

I'm trying to generate a latex report (via Sweave and R) where the header of the document is an image that covers everything (including the top/left/right page margin) and the footer covers everything ...
7
votes
1answer
566 views

Section in page header and TOC without number and no indention

I'm looking for advise about handling sections a a special way. What I want: Sections should not be numbered, they should be listed in the TOC and be available in the page header, and they should ...
9
votes
2answers
474 views

Stop memoir from making mathmode section names uppercase in header

I'm typesetting my thesis with memoir and in general I'm happy with the result. However, some of my section headers have math mode text like \section{The $\phi_{ij}$ matrix} which memoir comically ...
6
votes
1answer
8k views

Beamer - No table of contents at top

Once a table of contents is created, by \tableofcontents it is shown in at the top of the presentation, like in the following picture: Is it possible to prevent the contents from appearing at ...
8
votes
5answers
5k views

Place a TikZ picture on every page

I am looking to place a picture (TikZ picture) on every page of my document. How can I do that? In essence I would like to control the placing of the image on even and odd pages. For example the ...
3
votes
1answer
362 views

Fancy Header is not at the same place on first page

I'm currently writing a latex code generator to make invoices and I have a problem with my headers. I'm using fancy headers to make my headers and I'm using the output of the compiler to set the ...
11
votes
1answer
6k views

geometry, fancyhdr: \fancyfoot[C]{\thepage} is not really centered

After switching from the report class to the book class and starting to use the fancyhdr package to control headers/footers, the page numbers in my footers are no longer centered. This is my fancyhdr ...
28
votes
2answers
21k views

Suppress page numbers in article documentclass

I want to suppress page numbers. I am also using \maketitle command which seems to trigger the problem. MWE: \documentclass[a4paper,10pt,english]{article} \title{My title} \begin{document} ...
1
vote
1answer
2k views

How to display headers bold?

Is there a way to change the headers in XeLaTeX? Basically I just want my headers (pagenumber, author and title) to be bold, but none of the solutions suggested for LaTeX seems to have any effect on ...
8
votes
1answer
3k views

How to prevent upper case in page header?

I just came across this small problem which I can't seem to fix. I have a section which looks like this: \section{Properties of $C_q$} The problem is that the header of the page uses upper case and ...
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, ...
8
votes
1answer
6k views

How do I increase the spacing between header text and the 'headrule' line with fancyhdr?

This is going to be something so obvious that I'm almost embarrassed to ask! I've been using fancyhdr to put some fancy headers and footers in my thesis template – in fact, doing what it says on the ...
13
votes
2answers
9k views

How can I get no header but still get “page x of y” in footer?

I'd like to get "page x of y" in a footer on each page, and the way I've found is to use: \usepackage{fancyhdr} \usepackage{lastpage} \pagestyle{fancy} \cfoot{Page \thepage\ of \pageref{LastPage}} ...
3
votes
2answers
2k views

Blank pages header [duplicate]

Possible Duplicate: How to remove head- and footlines for pages between chapters? I have a problem that I'm not able to solve with LaTeX: I'm in book mode. Then LaTeX leaves a blank page ...
4
votes
1answer
701 views

Separate table of appendices - pdf bookmarks & avoid previous chapter's format

I'm trying to format my thesis which requires a seperate list of appendices. Thanks to a really useful post - Creating a separate list of appendices with tocloft - I have the list up and running. I'm ...
2
votes
1answer
2k views

Increasing the height of footline in a beamer slide

I am using the following to customise my footline, but it does not seem to change the height of the footline. What am I missing \setbeamertemplate{footline} { \leavevmode% \makebox[\paperwidth] ...