{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}.
8
votes
2answers
2k 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 ...
0
votes
1answer
116 views
Bad margins while printing
I'm using geometry package like this:
\usepackage[landscape]{geometry}
\newgeometry{twocolumn, left=0.25cm, right=0.25cm, top=0.8cm, bottom=0.4cm}
and fancyhdr package like this:
...
1
vote
0answers
46 views
Change header in a4paper
I want to write my master thesis and I use the following setting:
\documentclass[a4paper,
12pt,
bibliography=totoc,
index=totoc,
...
7
votes
3answers
239 views
My footer disappears when I increase headheight
I have created a custom simple layout with the fancyhdr package. Because the header I must use is somewhat big, LaTeX instructed me to increase the headheight to at least a minimum value. The problem ...
2
votes
1answer
126 views
Custom table of contents numbering
Two questions about customization of ToCs:
My document is numbered the following way: "section"-"page number inside this section". How can I get this numbering style in the ToC?
How to not show the ...
0
votes
1answer
51 views
Headline with different fonts, and numeration
I need to add to my work headline of the next form:
Author Name normal font, size 10 pkt
In the next line name of work, size 10 pkt, italic.
At right side page number, bold, italic, 14 pkt.
After that ...
3
votes
1answer
337 views
How to customize pagenumber position using fncychap
Using fancypages and two-sided documents, I used to set \fancyfoot[LE,RO]{\thepage} to get the page number on the page away from the center. Now that I use the package fncychap it won't work on pages ...
1
vote
1answer
81 views
Chapter displayed in headings and page number on the left
I am writing my thesis using the class memoir. I have two problems to get nice headings/footers. First, I want the page number to be in the footer, on the right or on the left but for the first page ...
3
votes
1answer
71 views
Cross reference in section title broken in header [duplicate]
I've tried searching and can't find this anywhere, but sorry if it's been asked before.
I'm using the memoir class to write a thesis using LaTeX (which I'm fairly new to) and I've got a section in my ...
1
vote
2answers
82 views
How do you Right-Justify Page Numbers and get them in the header?
When I made PDFs with Texmaker the page numbers are by default at the bottom of the page (i.e. in the footer) and are centred. How do I change this?
16
votes
1answer
636 views
Displaying the range of sections on the page in the header
I would like to have on each page the range of sections covered by it displayed, opposite of the page number and accompanied by the name of the first new section (if there is a new one) starting on ...
2
votes
1answer
103 views
how to color the header's bottom line or footer's upper line?
The title is self-explanatory.
In my document's current state, I get this rendering result after compiling with XeLaTeX :
Here's a MWE of which packages and commands I use to obtain my current
...
1
vote
1answer
85 views
How do I use \hfill and \maketitle without creating a blank page?
I'm trying to put my name in the right-hand side of the header and have a title that is not on its own page. When I put \hfill before \maketitle, I get a page with just the header, followed by the ...
1
vote
0answers
101 views
How to manipulate headsep only on text pages
The space between headings and chapter or section titles is a frequently answered issue. But what if I want to keep that distance but reduce the space between heading and text on pages without a ...
0
votes
0answers
133 views
Page counts with moderncv [closed]
I am using moderncv classic to generate my CV. I have about 6 pages of references that I am including using biblatex. This all works fine except that the page numbers go 1/2, 2/2, 3/2, 4/2, .... It ...
0
votes
1answer
267 views
Automatic header for LaTeX
I am writing my thesis using the template obtained from http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/ with a bit of modification to suit my needs.
I would like to have the left ...
5
votes
1answer
75 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}
...
2
votes
1answer
124 views
Missing chapter name when using fancyhdr
I want to get the following header:
Left page: \thepage\hfill\chaptername{}\thechapter
Right page: \chaptername\hfill\thepage
So I write:
\documentclass{book}
\usepackage{fontspec} % enagles ...
0
votes
0answers
32 views
A few questions about head & foot & page number [duplicate]
I have a sample .tex file as below - in this file i have redefined the foot by using fancyhdr package. My questions as below:
The chapter page (in this example, say page 1 & page 5) don't have ...
3
votes
1answer
123 views
How to make the page number appear on the abbreviation list?
does anybody know how to make the first page of the abbreviation list have the page number? My abbrev. list is made of 3 pages and only the other two have the correct page numbering (roman). The first ...
4
votes
1answer
111 views
How to make an automatic title head in my own class but with some user definable texts?
Using my created document class will output an automated title header. My own created document class is entitled myclass. Is there a possible way for this not to become automated? I'd like to create a ...
5
votes
1answer
609 views
Modify Beamer's outer theme smoothbars [duplicate]
I am making a beamer presentation with XeTeX, in which I am using Ilmenau theme. This theme has by default smoothbars as an outer theme. My problem that in a section's subsection, there are a lot of ...
4
votes
3answers
193 views
Put a frame around all pages, except one, in a book
I am writing a book and would like to put a red, 5pt thick frame around all pages, except around one page in the middle of the book, which contains a figure that is bigger than the frame.
The frame ...
7
votes
1answer
287 views
lost formating on one page
Formating on one page is broken, namely in header part there is missing one parameter (word) and the columns looks differently as shows the picture bellow.
How can I correct the formating?
The script ...
2
votes
1answer
72 views
How to insert a running header, but not on the first page
I am writing a CV in LaTeX and I want my name as a running header on the top of each page. I used the simple command:
\pagestyle{myheadings}
\markright{Name}
However, I do not want the header to ...
2
votes
1answer
83 views
How to prevent “CONTENTS” from appearing as a header in ToC
In the documentclass report, how do I prevent "CONTENTS" from appearing in the header of the Table of contents?
In the preface I have no header, only page numbers, and in the main part I want ...
7
votes
2answers
77 views
Controlling the exact positioning and size of individual glyphs
I'm typesetting a book using the memoir document class. The overall layout comes with a background image. This image incorporates space for the page numbers in the footer which looks like a slot ...
0
votes
2answers
75 views
Content Aware Headers and Footers?
Using Latex
I need to set my headers and footers on a page by page by basis pending the contents of the page. For example if the page contains
(A) then the header and footer needs to say Apple
If ...
2
votes
0answers
83 views
TOC and companion headings in memoir class [closed]
I'm writing my thesis in the memoir class, with the companion headings (\pagestyle{companion}). Following on from the TOC, I have the acknowledgements, abbrevations and abstract, before the ...
0
votes
0answers
64 views
How do I set the space size around stuff and various (title, legend, …) font size to specific values in my document? [closed]
I have to follow these very strict and boring rules.
Like the article class: neither title page nor table of content.
No heading/footer on the first page
Following pages must have:
small text ...
12
votes
1answer
415 views
How to draw a simple but beautiful decorative head-rule?
The picture shown below is the desired simple head-rule, but the rule width should be much thinner like 1pt.
Real one:
So how to use Tikz or other packages to draw this kind of line as a ...
2
votes
2answers
106 views
How to tweak the font of page number in the whole document?
First fancyhdr is loaded to change the font of page number.
The following commands are used to change the font to sans serif:
\fancyhead[LO]{ \sffamily \thepage }
\fancyhead[RE]{ \sffamily \thepage ...
2
votes
2answers
167 views
How to make leftmark/rightmark next to Page number?
The desired header style is like: page number is sans serif even in the first page of the chapter, because
Using
\fancyhead[LE]{\sffamily \thepage }
\fancyhead[RO]{\sffamily \thepage }
could ...
0
votes
0answers
64 views
Setting a Header [closed]
I need a header in the top-right corner of every page of my file, saying the following (on three separate lines):
Last Name, first initial
Category of Submission
Title of Paper
I am very new to ...
4
votes
1answer
86 views
Two sections on one page make fancyhdr takes the second one as page header
I have two sections on one page. Unfortunately fancyhdr takes the second one as the page header, which will result in something like seen in the image below.
I want to have the first section as the ...
3
votes
1answer
101 views
Page numbers to the right in article class
How do I flush page numbers to the right in the footer of an article class?
\documentclass{article}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\pagestyle{fancy}
\headheight=14pt
...
2
votes
1answer
147 views
custom header using fancyhdr
I am looking to create a layout as follows in LaTeX. I tried using fancyhdr but I am unable to get it right.
\lhead{\includegraphics[height=0.75in]{translogo}}
\chead{\parbox{5cm}{INTEROFFICE ...
3
votes
1answer
86 views
Image as a header extend the top of page limits
How can I get one image as a header that is not just the header but extends to the top of the page limits and also left and right? I have see this Minipage in Header? but is not to have the image to ...
3
votes
0answers
35 views
Is there any package that supports multiple last pages [duplicate]
Possible Duplicate:
How do I have two sets of page numbers in a document?
I am trying to make one single file that contains several small components. Each small parts need its own last ...
5
votes
1answer
128 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 ...
4
votes
1answer
155 views
In fancyhdr, ensure every letters in chapter/title names are in lowercase
In designing novels, (Document-class Book KOMA SCRIPT) I prefer to use all-small-caps in the running heads. Please find the first example, where both howards end and chapter 29 were all set in ...
1
vote
1answer
358 views
How to re-define the chapter-mark without changing the Appendix heading?
The document is book class and the Appendix is added by:
...
\backmatter
\appendix
\chpater{Appendix A}
...
\chpater{Appendix B}
...
Using fancyhdr:
\usepackage[]{fancyhdr}
\pagestyle{fancy}
...
2
votes
2answers
107 views
Is there any way of adding my name at the top of each page without fancyhdr
I'm just trying to figure out a way to add my name at the top of each page without using the package fancyhdr, since I'm having problems with the installation of this package.
3
votes
1answer
148 views
Customizing the header with fancyhdr
I am writing a report using the scrreprt KOMA class. Currently my header looks like this:
Introduction is the chapter name.
I would like to make two changes to it:
I would like to have the ...
0
votes
0answers
77 views
Two-column/counter on ever page/fancy header [closed]
I am not good at two-column and counters. I am trying to an output like the following one:
which has a header, footer and counter at every column.
1
vote
0answers
33 views
How to keep specific header on diff. page?
I am working on sweave in which i read data from files(20) in directory and write on a report. I want different header on Ist for each file. How can i implement it?
Input : 20 files (roughly each ...
4
votes
0answers
131 views
Trouble with titlesec
I've been using titlesec for quite some time now and want to "pimp up my style" ;)
I've read How to change header to list first section on page and not last section and tried to adapt the code for ...
2
votes
2answers
72 views
How do I make multiline headers that don't run into the rest of the document?
I have been trying to figure out how you make headers that are more than 3 lines tall without running into the main body of the document, but have so far been unsuccessful. I know that I could simply ...
0
votes
1answer
101 views
How to write custom footer for some pages
I am using fancyhdr to hide header and footer in some pages but I also want to write custom footers for certain pages. Is there an easy way to do it?
Or is there any way to put define text in the ...
2
votes
1answer
175 views
Chaptername in header except for Chapter page using fancyhdr
I am trying to achieve a header that displays topic, chapter and page number on every page except on pages where a new chapter begins. In that case the chapter space should be empty.
I use fancyhdr ...


