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

3
votes
1answer
372 views

Fancyhdr - How to add a footer line outside of the footer area?

I am a beginner in LaTeX, tentatively using it for industrial documents. I am trying to mimic a company form. I do not understand why in the MWE, the content of the minipage, that I would like to see ...
2
votes
2answers
2k views

Simple two-column LaTeX template

I have been looking for a simple two-column LaTeX template. I have attached a template that I like, but I am unable to remove the footer on the bottom of the page. Also, I would like to remove the ...
4
votes
2answers
257 views

Memoir manual: “The numbering of parts has no effect on the numbering of \chapters.”

I am writing my PhD using memoir class. I have 5 parts, divided into chapters. But before the first chapter of each part, I have an introduction to what the following chapters are about. Here's an ...
8
votes
2answers
4k views

How to set the color of page number

I am using white colored font on black page and somehow I am losing my page numbers. I suppose the page number is still in black color. So How do we set the color of page number? And while on the ...
6
votes
2answers
6k views

Removing slide numbers in the Madrid theme

I use the Madrid theme. I would like to know how to remove the slide number and the total number of slides from ALL slides in my presentation.
3
votes
1answer
5k views

Force fancyhdr on table of contents page?

I'd like to have my header appear on every page except the first (title page). However, it's not appearing on the first page of my table of contents(regardless of where it appears in the document). ...
4
votes
2answers
4k views

Using Springer lncs and biblatex - wrong heading is shown for last page

I have a little problem with the Springer llncs class and biblatex. I use the parameter runninghead with the llncs class to show title and page number in the document head. At the last page where the ...
2
votes
1answer
2k views

Handling header part in report class

I have a small problem with the report class file. Actually I need that the odd pages have chapter title and page number in the header, while the even pages should have page number and chapter title. ...
3
votes
1answer
1k views

How to vertically align title when reducing the header size in Beamer Palo Alto theme?

I tried for some time to adjust the height of the header in Beamer Palo Alto theme. I now managed to do so, but now I have the problem that the title in the header is not properly aligned anymore. ...
4
votes
3answers
3k views

Add chapter/appendix prefix in table of contents of scrbook with correct appendix running head

My first question is how to add the chapter or appendix prefix in the table of contents of scrbook class instead of the its default appearance. For example, in the figure below, I want to change the ...
4
votes
1answer
284 views

How can I place marginal notes always on the right but show normal odd/even headers?

I would like to typeset a book where the odd/even pages have the same format: each has a long text section on the left and a place to put small marginal notes on the right. If necessary, I want the ...
5
votes
1answer
841 views

Using \thesubsection in header references last instance - not first

I would like to include \thesubsection in my header, referring to the first instance of subsection, and not the last as seems to be the default. The following MWE says it all: \documentclass[a5paper]...
1
vote
1answer
264 views

LaTeX Longtable bug: header-only page generated: how do I fix?

here is my LaTeX: (how does one format it nicely?): [Edit:] Reducing the example \documentclass{article} \usepackage{longtable} \usepackage{lscape} \begin{document} \begin{landscape} \noindent \...
3
votes
1answer
658 views

Modify footer of first page in custom class

I know I can do \maketitle \thispagestyle{fancy} But I want my custom class that I am making (based on article) to do this for me. It already does pagestyle{fancy}, but I can't get it to change the ...
0
votes
1answer
433 views

How to have corresponding section/chapter names as headers on each page?

When I use the following in my preamble, I’m just getting a plain straight line as my header and the page number displayed at the bottom center of my page. \documentclass{book} \usepackage[...
1
vote
0answers
2k views

How can I add a logo to a page header in Lyx? [closed]

I am writing a thesis and want to add the university logo accross the top of my first page. I have a banner.pdf file, which will fit nicely accross the top of the page. But how do I go about placing ...
2
votes
1answer
502 views

\markboth{}{} and CJK

I'm writing a Japanese dictionary using the CJKutf8 package in LaTeX. I wrote a few macros to make entries and everything works fine except setting headers with fancyhdr. Using a macro: \newcommand{...
9
votes
1answer
6k views

Change color of a type of text like header/footer

Can we change the color of a logical type of text, say every header or every footer, by a single command? Header and footer is using fancyhdr. I believe it should be a \renewcommand but won't it ...
2
votes
1answer
583 views

URL doesn't work in header

\documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[MeX]{polski} \makeatletter \renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad} \renewcommand\numberline[1]{#1.\...
4
votes
1answer
1k views

Alternating header in scrreprt with scrpage2

I want to achieve the following: In a twoside document I want to display the chapter title on even pages and the section (plus subsection if there is one) title on odd pages. So that for odd pages it ...
5
votes
1answer
786 views

Manually customizing a header's colour

I would like to change the background colour of a page and necessarily also the text colour. While that is no problem for the main text, the header (and footer) text colour needs to be changes ...
4
votes
2answers
651 views

How to include headers and footers for pages between chapters?

\documentclass[12pt,a4paper,openright]{mwrep} \usepackage{lipsum} \usepackage[top=2cm,bottom=2cm,left=3cm,right=2cm,twoside]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{}\fancyfoot[EL,...
0
votes
1answer
4k views

Page numbers in landscape

I use report class, and now I need to change page orientation (portrait/lanscape) for some pages in my document. I have tried pdflscape for that, but there is a problem: page numbers preserve original ...
4
votes
1answer
873 views

Page number intersects text when using fancyhdr

As i mentioned in title, i can't manage fancyhdr to work. I can't remove page numbers. And page numbering is not stable. And this is the result. As you can see one iii is at the bottom but iv is at ...
5
votes
3answers
789 views

Memoir class: turn off section numbering but still have header

Trying to get rid of auto display of section numbers within text (section title only), but still have a header that gives the section title (also sans number). Can't seem to find this in memoir docs. ...
2
votes
2answers
2k views

fancyhdr - anomalous behaviour on first page

I am having trouble typesetting multi-line headers using fancyhdr The header on the first page behaves differently than the header on subsequent pages. The first page header has no depth, but produces ...
24
votes
2answers
25k views

Reproducing an official letterhead

My university, just like many other institutions, isn't really aware of something called LaTeX. Therefore, the letterhead comes only in MS Word. The following (low quality) image is the best guide I ...
2
votes
1answer
837 views

Page counter with Luebeck theme

I'm trying to create a page/slide counter in the lower left corner of my presentation. I'm using the following themes \usetheme{Luebeck} \usecolortheme{beaver} Can I insert a counter? In the ...
0
votes
0answers
61 views

chapter title on two lines in the TOC [duplicate]

Possible Duplicate: How can I display a short chapter name in the header and a long chapter name in the ToC? I have a quite long chapter title that I break into two lines as follows: \chapter{...
3
votes
2answers
322 views

Change section name twice (or make a section appear in TOC only, not in text)?

I am trying to have a document with TOC: 1 Introduction 2 blabla 3 Conclusion Bibliography Appendix 1 I want the Bibliography to start with title "Bibliography" but I do not want the Appendix 1 ...
3
votes
2answers
7k views

Remove chapter from header but page number stays intact

I want to remove the title of a chapter from the header, but the page number must stay intact. I'm using a the book class \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage{lipsum} \...
4
votes
2answers
439 views

How to cut chapter title in header using xstring

I need to cut the chapter title that appears at page headers. I'm developing a latex generator software (http://github.com/caelum/tubaina, new contributors are welcome!), and because of ...
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
56 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} \renewcommand*\...
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 color....
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
776 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
882 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} \usepackage{...
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} \begin{longtable}{p{2.7in}p{2.7in}p{2....
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: \fancyheadoffset[LE,RO]{\...
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
347 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 provides ...
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 can I ...
10
votes
1answer
550 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 ...