{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)

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
339 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
448 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
498 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
516 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
374 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
408 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
269 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
482 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
276 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
13k 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
565 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
469 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 ...
7
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 ...
10
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
20k 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
700 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] ...
11
votes
1answer
3k views

Fancyheaders and special pages: contents, bibliography

I use the fancyhdr package and it works in general. Unfortunately, some "special" pages' headers, like those of the contents and bibliography, seem to resist every approach to format them. They show ...
1
vote
1answer
1k views

Beamer: Oxygen theme with logo in header

I want to put my college emblem in the oxygen header. Please tell me how I can edit the oxygen header image to insert the logo?
5
votes
2answers
890 views

Two types of page number in each page

In a report, I would like to place a page number at the bottom, running 1, 2, 3,... as is usually the case with a document: 1 for the 1st page; 2 for the 2nd page, ... However, in each Chapter of this ...
5
votes
2answers
677 views

page number location in biblatex

I am using \printbibliography command to create bibliography in biblatex. The problem is the page number is located at the center bottom while i want it to be at the right bottom. I don't have the ...
6
votes
1answer
120 views

How to fix diferent position of the line (space between the line and a page number and paragraphs) in the header using \pagestyle{uheadings}

I have noticed that in the document I am working on the line in the header is changing position page to page. Basically there are two slightly (but notably) different vertical spaces between the line ...
6
votes
2answers
764 views

Clear tableofcontents page in book or report

How do I clear the \tableofcontents page in book or report? \documentclass[a4paper]{book} \usepackage{lipsum} \begin{document} % i need clear this page {\thispagestyle{empty} %but is not work ...
6
votes
1answer
2k views

Memoir: removing headrule in chapter page

How to remove headrule in chapter page without remove of footrule, eg, rule only in foot page in all pages, but without on chapter page, but headrule in others pages. \documentclass[a4paper]{memoir} ...
4
votes
1answer
4k views

Landscape, A3/A4 paper with XeTeX

With pdflatex, it seems easy to get a landscape document, on A3 paper. One only needs to add [landscape,a3paper] or [landscape,a4paper] to the document class options. With xelatex, however, these ...
6
votes
1answer
450 views

Applying \nouppercaseheads to section headers only in memoir

How would one apply \nouppercaseheads only to section headers when using the memoir document class? \documentclass[a4paper]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
16
votes
1answer
847 views

How could one setup a layout for a dictionary? (if possible)

A friend asked me if I knew any free software for creating dictionaries - which is good at saving space (reduce total number of pages). Example: I suppose this might be possible in LaTeX. ...
1
vote
1answer
179 views

Follow up: How to add a page number on the bottom of the first pages in table of contents, list of figures/tables and bibliography?

I managed to provide MWE (thanks to @lockstep) for the problem previously described here How to add a page number on the bottom of the first pages in table of contents, list of figures/tables and ...
4
votes
1answer
197 views

How to add a page number on the bottom of the first pages in table of contents, list of figures/tables and bibliography?

How to add a page number on the bootom of the first pages in table of contents, list of figures/tables and bibliography? \tableofcontents \listoftables \listoffigures \bibliography{filename} ...
8
votes
1answer
6k views

Memoir Headings

What is the best way to customize the headings at the top of each page in a memoir document? For example, if I want just the page number at the top of every left page, and just the chapter title ...
3
votes
1answer
770 views

Add text to absolute position in every slide automatically IN ADDITION to theme footer

I know this sounds like a repeat question, but I'm pretty sure it's not. I am trying to add text to an absolute position in every slide of the presentation, in addition to to content already provided ...
6
votes
1answer
686 views

Include hspace in header/footer in fancyhdr? [duplicate]

Possible Duplicate: How can I force a \hspace at the beginning of a line? I am trying to put a postal address in the footer. I want the first line to be "Address: Address line1", then the ...