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

6
votes
1answer
3k 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. ...
2
votes
1answer
3k views

How to avoid header and footer on first page? [duplicate]

Possible Duplicate: Suppress Fancy header and footer on first page only. I'm using header and footer but I want to avoid on very first page since it is title page. How can i implement it?
1
vote
0answers
54 views

How to remove header bar in fancyhdr's \pagestyle{fancy} [duplicate]

Possible Duplicate: How to remove the top horizontal bar in fancyhdr? I am working on my report and found one example. \documentclass{report} \usepackage{fancyhdr} ...
3
votes
1answer
407 views

newline in title on first page but not on subsequent pages

My title had only one word on the second line and it looked weird so I fixed it by adding \\ in the appropriate place. Now on the odd-numbered pages where the title is at the top, it has a really ...
6
votes
3answers
2k views

Adding box filled with color and placing large text inside it

I am trying to prepare a class for my college magazine and articles. I would like to know how to place a black box on the top margin of the first page and write some huge text inside it in white ...
5
votes
1answer
2k views

fancyhdr style problem

I am having some problems with the fancyhdr package. How can I achieve the following in my big thesis file: The header should consists of the chapter name at the left side and the page number at the ...
1
vote
1answer
759 views

Add vita at the end of dissertation

I am writing my dissertation in LaTeX and I need to add my Vita at the end. Can you please help in defining the structure. My requirements are: 'Vita' needs to appear in the 'table of contents' ...
2
votes
1answer
871 views

Using different layout for makeindex name

I would like to use different layout for \indexname \documentclass[8pt,b5paper,twocolumn]{extbook} \usepackage[top=2cm, headsep=0.4cm, bottom=1.5cm, left=1.5cm, right=1.5cm]{geometry} ...
11
votes
2answers
1k views

flip book in master thesis

I am right now writing my master thesis in computer science about a visualization topic. Since the core stuff of my thesis is a complex 3D visualization that only quite sends its message through user ...
5
votes
1answer
1k 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 ...
2
votes
1answer
171 views

Inserted pdfpages header consumes extra table numbers in TOC/LOT

I’d like a tabular header to appear on each page of the pdf I’m including. So I am using these commands in pdfpages. \def\plotheader{ \setlength\LTleft{0.85in} ...
4
votes
1answer
1k views

Can't get \fancyheadoffset to work

I have loaded the fancyhdr package and I want to make the headers and footers wider (clamp them to the margin), so I inserted the following line after the package has loaded: ...
10
votes
3answers
2k views

Stop page count before appendix

I'm trying to find a way to stop the page count in my report. So the count stops, then it comes to the appendix. Then have a separate count for the appendix, with the footer also changing so when the ...
1
vote
0answers
63 views

blank pages and fancyhdr package [duplicate]

Possible Duplicate: How to remove headers and footers for pages between chapters? I have a document class set as book and added the \usepackage{fancyhdr} package. but now I have some blank ...
1
vote
1answer
345 views

TeXbook headers

\documentclass[10pt,% % corpo del font principale a4paper,% % carta A4 twoside,% % fronte-retro %openright, ...
0
votes
0answers
117 views

How to create a table of contents with thumb indexes? [duplicate]

Possible Duplicate: Adding chapter marker to far right edge of page How do I create a table of contents with thumb indexes as shown in chapter 21 of the fancyhdr manual? The manual ...
0
votes
0answers
65 views

blank page without number page [duplicate]

Possible Duplicate: Add a new empty page I would add to my latex document a blank page.I tried using \newpage but I receive as result a new blank page with page number at the bottom. How ...
10
votes
1answer
546 views

In a multiple file LaTeX document, is there a way to tag each page with the file that generated it?

I've got a LaTeX document that's build from many smaller files. When I'm editing text or formulas I usually look for some characteristic text and do something like: find -name "*.tex" > t grep -n ...
4
votes
1answer
16k views

Fancyhdr on the first page only [duplicate]

I'm writing an article and I need to put a figure on the top right but only on the first page. Also on the top left I need to place the type of article for Example Scientific Paper (left ...
12
votes
2answers
14k views

Beamer - How to customise the header of a frankfurt slide?

I use the following options: \usetheme{Frankfurt} \setbeamercolor{section in head/foot}{fg=black, bg=white} and this yields a slide which looks like this: Is it possible to bring 'Section 1' ...
6
votes
1answer
8k views

How to modify outer theme infolines to include the title and section in the header beamer?

I am using the CambridgeUS beamer theme for a presentation and would like to modify the header to include the title of the presentation on the left and the section on the right, as I do not have many ...
6
votes
1answer
523 views

How can I automatically add the number of the document last page to the header?

I need add the numbers of the first and last page to the header of the first page. To make it look like this: Document title, date, pp. 1 - 30 The number of the first page is \thepage, because are ...
16
votes
2answers
965 views

Automatically remove page number if document has only one page (but not if two)

I write a lot of documents (agreements) based on memoir with the article option. Normal pagestyleis plain (page number centered in the footer). Sometimes a document is only one page long, and a page ...
13
votes
2answers
4k views

Want \section* to change the page header

In a book, I have several numbered sections followed by an unnumbered section. I have placed an \addcontentsline following the \section* that introduces the unnumbered section, so that it will appear ...
23
votes
5answers
2k views

How I can automatically add a page if the total number of pages is odd?

I need automatically add a blank page (also without document header, numbering and footer) at the end of the document, if the total numbers of pages is odd. How I can do that? And preferably without ...
3
votes
1answer
673 views

Headings of 2nd abstract page in KOMA

I'm writing my thesis with scrartcl, using the KOMAoption abstract=true. My abstract has two pages, and while on the 1st page, the pagestyle is empty, on the 2nd page of the abstract all the ...
3
votes
2answers
250 views

Custom header, not using fancyhdr

I want to add the following header to my chapters: I do not want to use fancyhdr because when I use it, it moves all my previous page settings (principally the table of contents layout), I tried ...
13
votes
1answer
16k views

Setting the space between page header and text block

I work with documentclass report and use fancyhdr package for chapters in this way: \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\chaptermark}[1]{\markright{\thechapter\ #1}} ...
2
votes
1answer
650 views

Make bibliography not part of previous chapter

I'm writing my thesis and I have a problem with references: The references span across two pages. On the top of the second page there is a header (that appears on every page where a new chapter ...
13
votes
2answers
15k views

Top right side page numbering

I want the numbers of pages to be placed at the top right side. I try to do it like this \documentclass[12pt]{article} \usepackage{fancyhdr} \begin{document} \lhead{} \chead{} \rhead{\thepage} ...
0
votes
1answer
194 views

How can I resize the page that a wide table can fit?

I am trying to make this table to fit on my page with those sizes: non-standard paper size: width 28 cm, height 20 cm.Margins be set exactly in order to have the area available for text 27.5 cm wide ...
9
votes
1answer
440 views

How to extend the footer to include the margin notes

My memoir document has a relatively narrow typeblock (90mm) and a wide margin (55mm) for annotations, with a \marginparsep of 15mm. I want the footer to cover both the typeblock and the annotation ...
11
votes
3answers
15k views

Headrule length in fancyhdr

Using the fancyhdr package, is it possible to change(increase or decrease) the headrule length without changing the header length? In the picture related, one can see that the headrule rectangle(in ...
2
votes
1answer
393 views

Draft footnote changes position

I use the prelim2e package to mark a document as a draft. This package puts a draft line below the normal footer that contains for example Preliminary version – May 15, 2012. Usually this draft line ...
4
votes
1answer
1k views

Using a different page number footer in the introduction

I'm using roman page numbers in my introduction section, but for the remainder of the document I use arabic numbers, and this custom footer: \cfoot{\normalsize{\thepage~/~\pageref{LastPage}}} This ...
2
votes
1answer
843 views

Page number in top-right corner 15 mm from top

I am using next snippet to set page number in top-right corner. It works fine for me, except I want to place page number exactly 15mm from top edge. Is it possible? Thanks. \usepackage{fancyhdr} ...
6
votes
2answers
2k views

fancyhdr - how to disable auto section number and still show section name in header

\documentclass[fleqn,12pt,a4paper]{article} %\RequirePackage{Kaumudi_Package} \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} \section{section-1} \newpage \section{section-2} \end{document} ...
3
votes
1answer
694 views

Move footer up for more text

I need to move the footer up because the text is pretty long and doesn't fit to it. And I have no idea how to do it. Any suggestions?
5
votes
3answers
368 views

Revision Control - Footers and markings

I'm fairly new to TeX and I've been looking around for ways to mark revisions as in this document. Each page has a footer showing when it was last changed (either by the text changing or being moved) ...
4
votes
0answers
351 views

Lyx: ensure runninghead always on right [closed]

I create a running heading with the command "runninghead" Now the running head is on every other side on the left side. I want to print the work onesidedly so I want to get the running heading on ...
5
votes
1answer
2k views

how to change the pagenumbering position in scrbook?

I am writing a document in lyx using scrbook I want to change the numbers in every page from bottom to top With the folowing code in the preamble I get it,but I think the default position remains so ...
1
vote
2answers
2k views

scrbook page numbers are only present on first page of chapters

I have to submit my thesis tomorrow and al of a suddon do not get any pagenumbers for any but the first page of the chapters. Anybody out there who can help me? I fear I do not have time to build a ...
8
votes
2answers
514 views

longtable changes the page heading

Consider the following MWE: \documentclass{article} \usepackage{kantlipsum} \pagestyle{headings} \usepackage{longtable} \begin{document} \section{First} \kant[1] % using this longtable changes ...
6
votes
1answer
1k views

How to move dark rectangle in headline of PaloAlto theme after changing the sidebar width?

I'm currently using the beamer PaloAlto theme with a headline and sidebar on each slide. I used the command \setbeamersize{sidebar width left=1.7cm} to fit the table of contents in the sidebar. The ...
0
votes
1answer
141 views

Add cross-page text referenced to text

I have \appendix in my document and I want to have referenced text throud pages for current section. For example:
5
votes
2answers
675 views

Why are pagenumbers centered with \pagestyle{headings} on \chapter{}'s first pages?

I'm using documentclass report with options twoside and openright. The pagestyle is headings. This is a minimal working example: \documentclass[twoside,openright]{report} \usepackage{blindtext} ...
18
votes
2answers
2k views

Hyperref Link Spans a Pagebreak, Looks Ugly

I'm using hyperref for links in pdflatex and I have the following problem: when a bibliography citation spans across a page-break (which usually occurs with long author names), then an additional ...
5
votes
1answer
837 views

Can I put a logo in the header using memoir?

Part of our corporate standard is to place a small logo graphic at the top right of each page. It looks like fancyhdr handles this quite easily, but I'm using the memoir class, and it doesn't seem to ...
2
votes
1answer
551 views

Problem when imitating one-sided printing with double-sided printing in Memoir Class

I use memoir class and I imitate one-sided printing with double-sided printing thanks to the command (find in the memoir manual) \setlength{\evensidemargin}{\oddsidemargin} The problem is that I ...
3
votes
2answers
5k views

How to let all the pagestyle of pages from \frontmatter to \mainmatter empty

\frontmatter may include Table of Contents List of Figures List of Tables Preference and other parts Now, I want to set up the pagestyle of pages range from the tag \frontmatter to the tag ...