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

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 ...
14
votes
2answers
15k 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
323 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
770 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, ...
20
votes
1answer
7k 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. \...
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?
18
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
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....
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 ...
7
votes
1answer
520 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
523 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} \chaptermark{...
6
votes
1answer
453 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
386 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
274 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 \...
10
votes
4answers
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
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
183 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
488 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
279 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
2k 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 ...
14
votes
2answers
18k 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.
7
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 ...
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 doesn'...
7
votes
1answer
569 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
478 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
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 ...
6
votes
1answer
9k 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, I'...
9
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 ...
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{\...
3
votes
1answer
363 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 ...
2
votes
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 ...
4
votes
1answer
764 views

Barcode with text wrapping and on every page

I am trying to get a dynamic \psbarcode barcode (it changes based on the page) to display in the top right corner of every single page and I would also like the text of the page to wrap around this. I ...
7
votes
2answers
783 views

Put section and page numbers in the margin with KOMA Script

Using the scrartcl document class, I would like to put the section number into the page margin, as is seen for example in the famous l2tabu document. That should be easily possible with KOMA Script, ...
29
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} \...
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 ...
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 ...
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 ...
10
votes
3answers
11k views

Problem with the header/ footer width

I have recently started using the geometry package to format the margins of my documents. Although, I've noticed that the width of the header/ footer remains the same. How can I correct this? Here'...