{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
1answer
4k views

Align text and logo in footer

I can't seem to be able to align our logo and page number in the footer. I have the code below: \pagestyle{fancy} % enable fancy page style \renewcommand\headrulewidth{0pt} ...
6
votes
1answer
3k views

Header problem with book class

It seems I have a problem with the headers using the book class. On every chapter when the text is too long the chapter text and the section text merge. Also I don't know how I could make them lower ...
4
votes
2answers
481 views

How can I add extra \pagemark that marks the number of the page where current chapter starts and where it ends?

I'm using KOMA-Script scrbook class. And scrpage2 package for headings: \usepackage{scrpage2} \clearscrheadfoot \pagestyle{scrheadings} \cfoot[\pagemark]{\pagemark} \chead[]{\headmark} I want to ...
10
votes
2answers
3k views

Subsection size in header doesn't change header height

I want to change the font size of section and subsection titles in the header. It works fine for the section title, the header automatically increases its height (as stated in the beamer manual) but ...
2
votes
2answers
2k views

Is it possible to create a calligraphic first letter for a chapter AND have a header or a footer?

Is it possible to create a calligraphic first letter for a chapter AND have a header or a footer? Each time I try to have a calligraphic initial and a header, the header won't show up.
6
votes
1answer
679 views

\pagestyle{ruled} adds superfluous text in glossary

I'm writing my thesis using the memoir package, using \pagestyle{ruled}, and have created glossaries for a glossary and an acronym list. The resulting pdf, contains the superfluous text "Glossary" and ...
6
votes
1answer
1k views

First page of ToC has a page number. How to remove it?

I have a problem with the number of the page that appears on the first page of ToC (I don't want it, of course), but only when I have at last two page of ToC. When ToC takes only one page, footer and ...
4
votes
1answer
595 views

How can I put page numbers or headers inside my handouts (handoutWithNotes)?

I've been trying to obtain some stylized handouts using beamer with handoutWithNotes by Guido. What I have now is the 4 framed handouts purely but I'd like to put the page number on the bottom of the ...
1
vote
1answer
2k views

Using natbib package, in the References section, the header is now written in capitals

I have a thesis written in LaTeX. I've just switched over to natbib as it offered some nice commands but I'm starting to run into some trouble. This one is minor I guess, but I have headers, with the ...
6
votes
2answers
1k views

Section like heading with Tikz

I'm trying to make a new section-like heading with TikZ. I basically want it to look like this (nevermind the funky background): But I can only get something like this: In my LaTeX document I ...
3
votes
1answer
3k views

Place header outside set margins of the page

I have to implement some strict guidelines regarding a scholarship application and plan to use the geometry package to achieve this. There is, however, one point I don't understand. The relevant ...
2
votes
2answers
920 views

KOMA-article: Page X of Y not showing in first page footer

(Warning: Question from newbie to LaTeX :-) Using koma-article in Org-mode, I want to show "X of Y" in the footer of all pages. I followed the instructions in this post, and it works fine for pages 2 ...
3
votes
1answer
2k views

How to add an author name or copyright symbol on each page in memoir class?

I am using the memoir document class to write my first book in calculus. How I can display my name, for example, on each page?
2
votes
1answer
226 views

Firsttitlemarks does not appear consistently in header

I am using this code for my header marks, but as you can see it misses the very first mark for the subsection which should be the first verse. % definition of the page style with required headers ...
1
vote
1answer
273 views

How to make footer stick close to the text on the last page?

I want footer to appear immediately after text on the last page, without huge gap. I used showframe package and know that white space comes from the body (is tex adding some sort of \vskip or similar ...
6
votes
2answers
2k views

How to make custom page frame using LaTeX?

I need to make questionnaire template for automatic processing with queXF. To do this I need to produce pages like this: The queXF requirements for the pages are unique barcode for each page ...
7
votes
5answers
1k views

\pagestyle{empty} doesn't work on first page of new chapter

I have a problem with page numbering in LaTeX. I don't want any page number in my document so I used \pagestyle{empty} but every time when I start a new chapter I get a page number on the bottom ...
4
votes
2answers
7k views

Beamer Font Size for Footer

How can I change the font size of the footer in Beamer without modifying the font of the title (on the title page)? Also, when I try to change the title's font with \title{\fontsize{20}{25} My Title} ...
13
votes
4answers
402 views

Adding page number to the even page right after \part

Friends, I've never used \part{} before, so bear with me. =) Consider the following code: \documentclass[twoside]{book} \usepackage{lipsum} \begin{document} \pagestyle{empty} \begin{titlepage} My ...
5
votes
2answers
10k views

Writing thesis using fancyhdr - problems with section title

I am writing my thesis using LaTeX with a provided thesis document class, which uses fancyhdr. My problem is that both the chapter and section titles appear automatically in the header, writing over ...
6
votes
2answers
15k views

Add Footer Text to All Slides in Beamer

Is there a way to append footer text to the slides in beamer? I wanted to get rid of the default footer, but I want to add a bit of additional text. Right now I have: %gets rid of bottom navigation ...
2
votes
2answers
2k views

Turn off bold in title + change header on title page

I am trying to make a title page following a template provided. I need to have a top right header on every page except the first where I should have only the name of the grant council at the top left ...
2
votes
1answer
281 views

titlesec: toptitlemarks and bottitlemarks broken when \section not called explicitly

This question is linked to my previous chapter-and-verse-in-header question I am trying to produce a Bible text where the Chapter and Verse references appear in the header of each page. As can be ...
4
votes
2answers
583 views

Chapters and verses of current page in header

This question is linked to my other titlesec question Does any one know how to add the current segment location at the top of any particular page. What I need is the reference at the top of a ...
1
vote
1answer
248 views

Contents header returns after first chapter

I am using \documentclass{book} and tocloft for the table of contents. The way my document is structured I have the table of contents, then a \chapter*, then part one, chapters, etc. For some ...
15
votes
3answers
11k views

Chapter title in header too long

How can I format the header on every page displaying the title of the current chapter? In one of my chapters the title is too long so it is running out of the page. Here's a minimal example of my ...
20
votes
1answer
676 views

Indexing an interval of words on top of every page

Friends, I'm curious on how to do the following in LaTeX: Dictionaries have two words on the top of each page, meaning the interval of words to be found on that specific page, e.g., In the figure, ...
1
vote
1answer
399 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 ...
1
vote
1answer
311 views

adjusting the line width of the header with geometry fanchyhdr

the line is longer than the width of the text, how do I adjust, knowing that the package needs fanchyhdr geometry? \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{preambulo} ...
6
votes
1answer
275 views

Hooking into the header/footer mechanism

I have a switch I'd like to turn off for the headers and footers but keep on for the main body text. What commands actually tell TeX to write the headers and footers after the body text has been set ...
0
votes
1answer
1k views

Need Header Example - For Mirror page (two side print)

Can anyone send example for this code? \fancyhead[LE]{\leftmark} \fancyhead[RO]{\rightmark} \fancyhead[CE,CO]{\thepage} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0pt}
0
votes
1answer
455 views

create header using package fancyhdr - Mirror Page

How to create header using package fancyhdr like the below format? It is like mirror page. LO PN | PN RE ...
1
vote
1answer
601 views

Change page number position in the middle of a document

I'm creating a large document. My document contains three parts : frontmatter, main, backmatter. For frontmatter I have to place page number centering, for main I have to place page number flushright, ...
6
votes
1answer
3k views

TOC with pagestyle empty in memoir

I'm using the memoir class for a thesis, and want no page numbering of the front matter including the TOC. Have followed the answer to Table of contents with page style empty which does remove the ...
1
vote
1answer
790 views

Modify chapter command (and KOMA-script addchap)

Is there something like etoolbox's \appto, that also works for \chapter and \addchap? edit: I intend to use it to re-enable page numbering (which may or may not be disabled using ...
4
votes
3answers
771 views

scrpage2: unnumbered headings with \addsec get the wrong automarks

Here's my code: \documentclass{scrbook} \usepackage[english]{babel} \usepackage{blindtext} \usepackage[markuppercase]{scrpage2} \pagestyle{scrheadings} \automark[chapter]{part} \begin{document} % ...
1
vote
1answer
2k views

Koma-Script: How to reduce the size of the footer

I'd like to reduce the size of the footer in the following example, because I want to get rid of the extra whitespace area under the footer. \documentclass[a4page]{scrartcl} \usepackage{scrpage2} ...
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 ...
8
votes
1answer
4k views

fancyhdr headings , how to remove the number of the section

I'm French so it's not easy to explain my problem but I'll try. I use fancyhdr to make my own headings (book class). I want the section's title at the right of the heading in small caps, and only in ...
1
vote
3answers
2k views

Book layout: bottom external page number

I'm using Lyx 2.0 to format my text with LaTex. I'm using the predefined "book" template. On the first, non-title page I have the page number "1" centered on the bottom, while on the other pages the ...
11
votes
2answers
18k views

Suppress Fancy header and footer on first page only.

How to suppress the fancy header and footer on the first page? On other pages, they should be visible.
5
votes
3answers
258 views

Saving the value of a text macro at the start of the page.

I have a macro that stores some text. I'd like to print the text of that macro as it was at the start of the page in the header, and as it is at the end of the page in the footer. I can do this for ...
2
votes
2answers
4k views

footnote in footer

I have a problem with placing a footnote. In the text I use \footnote{blabla} and it works well and displays the "blabla" at the bottom of the page. But I use a header and footer in the document and I ...
6
votes
3answers
9k views

Getting “dots” to show up in Beamer headers [duplicate]

I'm writing a presentation in Beamer using the Frankfurt theme. I like the dots that appear in the header denoting various slides (as in this sample), but I can't seem to get them to show up. ...
2
votes
1answer
455 views

Heading exceeds margins

I am writing a document with the book class. Hence, the title of the chapter appears at the head of each even page, and the title of the section appears at the head of each odd page. However, some of ...
5
votes
2answers
6k views

How to remove header on a certain page

I've written a synopsis section for each chapter of my thesis, and I've noticed a minor issue. Since the synopsis section comes before the \chapter its header is from the last section of the previous ...
0
votes
1answer
1k views

Continuining List of Table headers to other sections?

I'm typesetting a long thesis..then suddenly realised that the header of List of Tables jumps to add to other sections like Acknowledgement, Authors Declaration etc. So, I made sure I clear for the ...
6
votes
2answers
548 views

Unequal space between paragraphs and header-footer

As you can judge from the page below, the vertical space between the text and the header line and the text and the footer line is not equal..... This is much more prominent in a PDF reader so I am ...
1
vote
1answer
1k views

\fancypage border to surround header and footer

I am trying to create a page border that encapsulates the header and footer not just the body of a TeX document. Here is what i've got: \documentclass[a4paper]{article} ...
2
votes
1answer
810 views

Plain TeX: running header with section name

I want to create a TeX document with sections and a running header containing the name of the current section. I know I can use \mark{} to mark the section headings and then use \topmark or \firstmark ...