{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
1answer
322 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 ...
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, ...
1
vote
2answers
984 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 ...
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 ...
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
786 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 ...
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
390 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=} ...
13
votes
5answers
2k views

“Foldable” “Booklet” like Toodledo's one (pocketmod)

How to achieve in pdfLaTeX foldable booklets similar to those provided by Toodledo ? (to make question usable to others LuaTex, ConTeX and other systems answers are highly welcome) Note: look, how ...
8
votes
2answers
483 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 ...
13
votes
1answer
13k views

Beamer: Removing headline and its space on a single frame (for plan), but keeping the footline

There is now 4 hours that I'm Googling to found a solution to my problem but it's still impossible! Here is the situation: I have some frames in a presentation using the Warsaw theme, on the first ...
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 ...
4
votes
0answers
3k views

Changing the title height in a beamer [closed]

How can I change the height of the title in the beamer? Height of the title block is big and I want to make it smaller and similarly the width of the left block is big and I want to make it smaller ...
3
votes
1answer
307 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 ...
2
votes
1answer
695 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, ...
18
votes
1answer
6k views

\pagestyle{empty} doesn't seem to work for page with \maketitle

In the LaTeX document pasted below, I still see page numbers upon compiling, even though I've included a \pagestyle{empty} command below the \maketitle command. Any ideas what I'm doing wrong? Thanks ...
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. ...
11
votes
2answers
17k 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 ...
3
votes
2answers
139 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 ...
2
votes
1answer
336 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 ...
7
votes
1answer
482 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
505 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
1k 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
4k 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} ...
6
votes
1answer
434 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 ...
4
votes
1answer
367 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 ...
3
votes
2answers
261 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 ...
4
votes
3answers
3k views

Change \headheight for a \pagestyle

I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So ...
9
votes
3answers
3k views

How to set rightmark after \section command?

I need to typset a book with very long section names. The long names should appear in the normal text and in the ToC but not in the header, so I can’t use the optional argument. \sectionmark is my ...
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 ...
9
votes
2answers
3k views

Omit/delete second bar under the navigation bar in szeged theme?

The code below gives nice slides with a navigation bar on top that leads to the different sections (I have no subsections) in the presentation. However, below the navigation bar there is a second bar ...
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 ...
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 ...
1
vote
1answer
186 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
178 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 ...
6
votes
1answer
480 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 ...
4
votes
1answer
271 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} ...
17
votes
3answers
1k views

How to add “cont.” section title to the top of pages?

I have a document that contains few small sections. What I would like is if the section name was repeated at the top of page body (not in the header), if new section doesn't start on that page. And ...
13
votes
2answers
16k views

Put an image header in \documentclass{letter}

Is there is any possibility to put an image header in a letter class document? I can put a footer image and an image for my signature, but I want to put an image on the top of the letter.
4
votes
1answer
6k 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 ...
17
votes
2answers
4k views

How to get rid of reference in beamer presentation menu

The following code causes the text References in the top left hand side of the slide. I've tried lots and lots of things but I don't seem to be able to get rid of the text. (Redefining \bibname ...
7
votes
1answer
557 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
454 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 ...
14
votes
3answers
12k 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 ...
5
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 ...
5
votes
2answers
1k views

KOMA-Script: “bad” italic in page header

Because of trouble with upright Greek characters, I decided to switch from latin modern to Bitstream Charter (even though I don't really like it). It seems that together with the mathdesign package, ...
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 ...