{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}, {scrpage2}, and {titleps}.

learn more… | top users | synonyms (2)

5
votes
2answers
171 views

How to a put a repeated text in the left margin of a page, like a header or footer, but on the side

I'm trying to copy a stationery format which puts the return address in a small block in the middle of the left margin of the page, like a header, but on the side I've tried using the everypage ...
5
votes
2answers
348 views

If pagestyle equal to… — How should I ask it?

I'd like to use (or define) an If-statement for pagestyle. I have no idea :( Update: I'm using in my document about 4 pagestyles. Just as a little example I wish to have at the border of my document ...
5
votes
2answers
383 views

FancyHeader (Mis-)Placement

Greetings, I'm using the following settings for fancyhdr in a two-page book-derived documentclass: \pagestyle{fancy} \fancyhf{} \fancyhead[LO]{\sffamily \footnotesize \rightmark} ...
5
votes
4answers
166 views

how to remove page numbers from first page of chapters

My report requires page numbers to start from 1st chapter 1st page. So I use \pagenumbering{arabic} just before I do \include{tex_files/chapter1)Introduction} Now I want the page counting to ...
5
votes
3answers
126 views

Use of shaded box for section numbering only?

I have been wondering "how to get shaded box for section numbers only"? Also, How to get grey square in between left mark and page number in the header? In code below I can get solid black square. I ...
5
votes
1answer
77 views

Page number appears twice in the page

I don't know why I am getting two page numbers on the same page, one in the center and one on the right: \documentclass[a4paper,12pt]{report} \voffset=-1in %setting the header \usepackage{fancyhdr} ...
5
votes
2answers
495 views

Chapter name in the header with \chapter*

I need to display the chapter name with the \chapter* command to the left side of the header. This is one example of what I tried: \documentclass[12pt,a4paper,oneside]{book} ...
5
votes
2answers
297 views

How to put both chapter and section name in the header of the page?

I'm working on a one-sided LaTeX document with document class scrreprt and I'm using scrpage2 to customize headers and footers of the pages. At the moment, the respective chapter name is shown in the ...
5
votes
2answers
818 views

Page number and name in the header of each page

How do you enter a page number on the right-hand side of each page? Also, is there a command so that "My name" is on the top left corner of each page except the first page? And maybe put a bar ...
5
votes
2answers
2k views

Modify footer of slides

I am editing a presentation with beamer, the theme is Boadilla: \date{date} \title[The title is quite quite quite quite quite quite long]{The title is quite quite quite quite quite quite long} ...
5
votes
1answer
3k views

How could I remove a header in a beamer presentation?

I'm editing a theme beamer, but I have a trouble I would like to remove the header without remove neither footer or the lateral navigation bar. I've tried with the follow option: ...
5
votes
1answer
6k views

Same footer line on every page

Is there a way to place the same footer line on every page? Right now, I have a chapter called introduction and in my introduction.tex file I have specified a footer line that needs to be added. But ...
5
votes
1answer
1k 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 ...
5
votes
1answer
128 views

Decorative lines above and left of text

I would like to recreate this decoration, which is being placed at the top of every page: So a thin line above the text, and a thicker line left of the text. I've been trying to do this using the ...
5
votes
2answers
160 views

Logo in footer with aligned text

I want to create a latex class to create documents for my company. There is an example style for a word document but it looks more complex as most headers/footers I have found till now to re-create in ...
5
votes
1answer
133 views

Set maximum number of table of contents in the header

I'm doing my presentation in beamer and I use warsaw theme. I have around 5-6 sections and they are all mentioned at the top of every page. This makes available frame space smaller. Can I limit this ...
5
votes
1answer
452 views

Headers and page numbers in external borders

I am trying to recreate in *TeX the same aspect that you can see in the following picture showing a document that I created a while ago with MS Publisher. As you can see, page numbers are rendered ...
5
votes
2answers
210 views

fancyhead not in small caps

The text in my fancyhead is written in small caps. I would like to have it not in small caps. How can I do? This is my fancyhead: \usepackage{fancyhdr} ...
5
votes
1answer
268 views

How to remove margin header in biblatex

I started using biblatex for manuscript writing, since removing url and doi information from Mendeley .bib files seemed like a strenuous task. Questions and answers here have been a great help to get ...
5
votes
2answers
851 views

Distinguish even/odd pages in header with oneside option

See the MWE below. How can I achieve (in the standard book class) that despite the oneside option odd and even pages are distinguished in the header? I would like to have that, also with oneside ...
5
votes
1answer
596 views

KOMA Script footer line height

How to increase footer text distance from the separator line so that it looks like header? You can see the distance from footer text to line is less than header....
5
votes
1answer
439 views

Alternate section title for use in header

I'm TeXing a course for a teacher of mine, and he wants me to have the section titles in the headers (I use fancyhdr to achieve this). He also wants me to retain the section titles he gave me in the ...
5
votes
2answers
779 views

size of page number in footer

I set the size of the text using \fontsize, but this seems to have no effect on the page number. I want to keep the pagestyle as plain. How can I make the font used to print the page number "grow" in ...
5
votes
1answer
432 views

Beautiful letterhead

How can I create a beautiful letterhead from the article class using say header or footer . I do not want to use letter class due to limitations. The letterhead should look outstanding.
5
votes
2answers
286 views

How to apply a custom pagestyle (with titlesec package) to a part of a document

I have defined a personal page style using the package titlesec. The style defined is: \newpagestyle{myStylePage}[\large\sffamily]{\headrule \sethead{\thechapter . \chaptertitle}{}{\thesection . ...
5
votes
1answer
94 views

Headers of \chapters* take the headers of their previous \chapter

When using book.cls and using \chapter* after a \chapter, the header used in \chapter* is wrong. An example is pasted below. Is there any known workaround for that? I have tried quite some tricks ...
5
votes
1answer
333 views

ToC, chapter problem, adding a dot next to the number of chapter

\documentclass[openany, 10pt]{book} \usepackage[utf8]{inputenc} \usepackage[MeX]{polski} \usepackage{titleps} \usepackage[Lenny]{fncychap} %\usepackage{tocloft} \makeatletter ...
5
votes
1answer
672 views

Remove page number from the first page of bibliography

I'm writing a thesis and I want to remove the page number of the first page of bibliography. I tried \thispagestyle{empty} \pagestyle{plain} but it seems not work. I am using ...
5
votes
1answer
686 views

Overlap of section and chapter name in the header

In the header of the book I'm writing using Latex, the Chapter name and a Section name are overlapping due to the large number of characters. For instance, in the final pdf file, the header is "2.1. ...
5
votes
2answers
436 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 ...
5
votes
1answer
268 views

Show current section or chapter in header in ConTeXt

I've found this command: \setupheadertexts[][{\getmarking[sectionnumber]\ \getmarking[section]}] to show the current section in the header. But how can I show either the current chapter or the ...
5
votes
1answer
1k views

How can I set a header showing the current section?

A few of the appendices in my document contain code covering a lot of pages, but those pages have nothing else than code (and page numbers). How can I put a header showing what's the current appendix, ...
5
votes
1answer
63 views

How can I put the page numbers where I need them?

I need to put the number for each page that is numbered at the top right hand corner of the document. Currently that condition is satisfied except for the first page of each chapter. That is, for the ...
5
votes
1answer
88 views

Inconsistent margins using fancyhdr and geometry

For my homework assignments I usually use the fancyhdr package to create a header that contains the group (A, B, C etc), homework title, my name + student number and the date. Besides that I ...
5
votes
1answer
40 views

Automatically switch header style at a specific (but unknown) point in the document

On the page after an environment ends, I would like to switch header style. The code below works as I would like it to. However, the use of everypage feels a little like overkill and I wonder ...
5
votes
1answer
194 views

Remove the author from the footer of all slides except in the titlepage

I want to remove the \author from all the slides except the start slide. I have used Warsaw theme. I don't know how to go about this. Please help me Here is my code \documentclass{beamer} ...
5
votes
1answer
94 views

Can I have bigger margins on pages containing only floats?

Latex sets the margins to give a good reading experience for text. For pages containing only figures this generally does not matter and I would like my figures to fill as much space as possible, in ...
5
votes
2answers
277 views

Biblatex: bibliography section headings without numbers in scrreprt or scrbook

The following code produces headings on the section level starting with the number of the section before the bibliography: \documentclass{scrbook} \usepackage{csquotes} \usepackage[english]{babel} ...
5
votes
1answer
265 views

Similar header format for my company

I need to reproduce the following header format: Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble: \usepackage{fancyhdr} ...
5
votes
1answer
407 views

Minipage in Header?

Using LaTeX, I'm trying to fit into the header a minipage containing the page number above a logo. However, The minipage is pushed out of the header into the head separation space; The distance ...
5
votes
1answer
324 views

Suppress page headers in one chapter

In a memoir document, how can I suppress the page headers for every page in one particular chapter? However, I don't want want to use \pagestyle{empty} as recommended this answer, since I want the ...
5
votes
2answers
313 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
1answer
800 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} ...
5
votes
2answers
738 views

Different headheight for first page

I'm writing a document using the Koma-Script class scrartcl (3.09a). I want to have a header and a footer on every page, but the header of the first page should be different from the others. So ...
5
votes
2answers
1k views

How to remove header on the page with big picture?

Can you help me to remove header from the page where is only one big picture? I tried \thispagestyle{empty} but it removes a header on the next or previous page. I don't know how to remove it exactly ...
5
votes
1answer
2k views

Chapter-specific headers using fancyhdr

I would like to use the fancyhdr package to format the headers for my dissertation, and I'm running into some problems. For the introduction, I would like the even pages to have the page number and ...
5
votes
2answers
7k views

Define different heights for head and foot

is it possible to define different \headerheight for head and foot respectively? For example, there is a logo image in the header which needs a large \headerheight and only text is in foot which needs ...
5
votes
1answer
840 views

Suppress header on first page of section

I created a header using KOMA-Script. How can I suppress this header on the first page of a section?
5
votes
1answer
151 views

How to use short subsection title in header but not in table of contents?

I have a (onesided) document with fancyhdr and pagestyle fancy so it displays the section-title on the right header and the subsection-title on the left header. If section and subsection titles are ...
5
votes
1answer
381 views

How to set headsepline length?

I'm writing a document using scrbook document class and while I was able to set up all header and footer apparence, I can't find a way to set headsepline length (seems to follow \textwidth settings, ...

1 3 4 5 6 7 18