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

0
votes
0answers
9 views

Show page number of chapter and as a “percent complete” in LaTeX

I want to show in the page foot the current progress of the current chapter in book mode in LaTeX document. For example, if the chapter contains 200 pages, then I want the foot to show 11.5% in the ...
0
votes
0answers
11 views

How to use leftmark in latex in memoir class

I am using document class memoir. I want too use leftmark to display section headings as headers. Can you give a small sample program how to use leftmark in latex in memoir. I read the manual but did ...
1
vote
0answers
37 views

Different Header for each page

My code is this \documentclass[a4paper,14pt]{memoir} \linespread{1.5} \usepackage{float} \setcounter{secnumdepth}{0} \usepackage{color} \usepackage{caption} \usepackage{graphicx} ...
0
votes
1answer
36 views

How should I format header of a book according to my specifications?

I want to format header of my book manually with chapter name & no. on odd pages and section name & no. on even pages as depicted below
13
votes
4answers
475 views

Show page number as a “percent complete”

I want to show in the page foot the current progress of the document. For example, if the document contains 200 pages, then I want the foot to show 11.5% in the page 23. Edit: I'm also interested the ...
1
vote
1answer
26 views

How do I mirror bibliography entries at the foot of the page?

I would like to be able to cite an item during the body text and have the reference appear not only in the final bibliography, but also in full with the same bibliography number at the foot of the ...
5
votes
2answers
93 views

\tableofcontents overwrites default header

I am using Springer's svmult package. The default header gives the name of the author in the top right corner and the title in the top left. When I use \tableofcontents, the default header is ...
0
votes
1answer
109 views

Change words in a Tikz picture every page

I'd like to create a template, as below. But I'd like to make it so that I can have multiple pages of the same layout and be able to easily replace "Header 1" and "Header 2" with different words each ...
8
votes
2answers
873 views

Koma-script scrpage2 footer height

After lots of googling and hair-tearing, I'm turning grey and old, and no wiser... EDIT : see bottom for a half-cooked solution. I switched from LaTeX plain classes (article, report, etc.) to ...
2
votes
1answer
66 views

How to reduce the gap between the header and the figure in Latex

Please help me reduce the gap between the figure and the header in my code. I tried using position specifiers like h! or H but those take the figure on to the header slightly. I tried using vspace* ...
4
votes
1answer
73 views

Preserve memoir headings for 1 page

The default behavior of the memoir package is to change the headings immediately upon sectioning. This is counterintuitive to me, as I think the headings are to remind the reader of the section they ...
1
vote
1answer
95 views

Strange behaviour using roman pagenumbering

I am using pagenumbering{roman} for my titlepage tables and pagenumbering{arabic} for the rest. My problem is, that the part with roman numbering behaves strange, I try to explain it as follows: ...
2
votes
1answer
21 views

wrong header in bibliography (classicthesis)

I'm using classicthesis and have a problem with the header of my bibliography: instead of small caps I receive normalfont letters. I don't know how to make a reproducible MWE, because when I load a ...
2
votes
2answers
34 views

Stackrel and footnote inside the math environment

In my document I have on first page an inequality \begin{eqnarray*} a &\stackrel{*}{\leq}& b \end{eqnarray*} and also on few other pages I have the same inequality. On each page I want to ...
1
vote
1answer
41 views

Chapter/Section title in header without numbering

I want to have chapter and subsection in the headings of my document. but the numbering should not exist. Just to mention that I am using the XePersian package.
1
vote
1answer
40 views

How to get rid of this footer from the ACM template?

How can I remove the footer as is included in the ACM double column template? I created a screenshot of it: http://cdn.imghack.se/images/223c46062e6b28d6b0d9dc9500bf6098.jpg A minmal file producing ...
1
vote
1answer
32 views

How can I get subtitles for chapter titles to appear in the ToC, but not in the page headers?

From a previous question, here's some code that enables subtitles for chapters, while also adding the subtitles to the ToC. \newcommand\Chapter[2]{\chapter ...
8
votes
2answers
196 views

Capital gothic letter in headings

One of the section of my thesis is called: representation of $\mathfrak{g}_2$, but every heading package transforms it in representation of $\mathfrak{G}_2$ (capital Gothic letter). How can i solve ...
5
votes
2answers
62 views

How to hide header only in first page of each section with fancyhdr?

I want the header to be empty in the page were section begins and showed in the other pages. How can I do that? \documentclass[12pt, titlepage, onecolumn, a4paper]{article} \usepackage{lipsum} %% ...
3
votes
1answer
2k views

fancyhdr - Only show sections, not subsections

Is there a way for the header to only print the title of the parent section? So in the example below, the subsection{LOL} page will have "1.1 LOL" written in the header. I just want it to say ...
2
votes
1answer
29 views

change header to part name (classicthesis)

I would like to change the header from chapter without number (left) and section with number (right) to part without number (left) and chapter with number (right): ...
-1
votes
0answers
52 views

Decrease the black bar [closed]

Can someone help? I'm wishing to decrease the size of the black bar,i.e. that position where the text start and the header, i.e. make the text start higher in the page
2
votes
1answer
17 views

head don't appear with 3 figures (subfloat) in appendices

I make some appendices to my thesis. But I have some problems with head. There are 3 figures and each one occupies one page (all page). In first page appears everything normal. In second page too, but ...
4
votes
1answer
66 views

Unwanted italics in page headers (classicthesis)

In my section titles I sometimes have to use italic letters for the entry in the table of contents. Unfortunately, this results in italic letters in the page headers. How can I avoid this? The page ...
0
votes
1answer
34 views

ambiguity in the name of the header

I use Lyx 2.1, document class : report. I created a chapter called "list of acronyms" after "list of tables". At the 2nd page of the chapter "list of acronyms" header is incorrect.
1
vote
1answer
62 views

How to add the current section name to the top?

I'm trying to get the current section name and to add it to the header at right. \documentclass[12pt,french]{report} \renewcommand\chaptername{Chapitre} \renewcommand\appendixname{Annexe} ...
1
vote
1answer
15 views

fancyhdr does not display chapter name

I am using the fancyhdr package to create the headers and footers in my document. I wanted to display the chapter name on the left side of the page, so I defined my header like this: ...
21
votes
2answers
2k views

Chapter Title in rotated vertical box at the margin

I am using the book document class. I would like to have Chapter name (Interduction, Results, Discussion, ...conclusion...) to appear in every page, in the right side small vertical (color filled) box ...
4
votes
1answer
43 views

How to move the page number to the bottom of the page for a single page

I am making a book with the fancyhdr package. I have some headers that put page numbers on the top corners of the pages. On pages that are started by \chapter, LaTeX moves the line number down to the ...
5
votes
1answer
31 views

Missing footer problem

I am trying to format my document with different header and footer for first page. I have done it successfully for the first page but the footer of the second page is not visible. I think the margins ...
0
votes
0answers
17 views

page number first page of chapter on right side [duplicate]

I'm writing my thesis. I'm using this pagestyle: fancy But page number in first page of chapter appears in the middle of page. I want to move to right side. Can I change it ?
1
vote
1answer
31 views

Using titlesec to have \chaptertitle and \sectiontitle in twosided report

I would like to customize the headers of my report. These should contain chaptertitle and sectiontitle. From here: Header not displaying correctly on chapter page due to subsection I have made an ...
1
vote
2answers
31 views

How do I format the header text of the table of contents?

I'm new here, I have tried to solve most of the problems with my TEX code and so far I have been successful in solving all of them except for this one. I would like to show the word "CONTENTS" in the ...
2
votes
1answer
41 views

Place chapter heading in margin

I'm using the memoir class. I would like the \chapter{xxx} command to place the chapter heading in the margin instead of above the text. Like this: This question is somewhat similar, but in that ...
0
votes
0answers
24 views

Tricky appendices: Issues with header or ToC. Ranking the appendices as subsections

I am trying to obtain a pretty appendix and ToC, however I am experiencing a number of issues and it seems that I have to choose: If I use the traditional code: \documentclass{article} ...
1
vote
1answer
36 views

Pulling up the whole text body

I want to pull up the whole text body nearer to the header so that I can have some spacing below. Please suggest how to do this. I am using the following coding - \pagenumbering{arabic} ...
0
votes
2answers
40 views

Help regarding heading and page numbers

I want to place the heading in the middle and the page number below in Latex. Please suggest how to do it. I am using the following coding. \chapter{$\Lambda$-Modules}\ref{ch:prili} ...
2
votes
1answer
96 views

Fancy page style conflict with bibliography [closed]

I am using the following code to in my LaTeX document to create bibliography. \lhead{References} \chead{} \rhead{\thepage} \pagestyle{plain} \bibliographystyle{IEEEtran} ...
0
votes
0answers
14 views

TitlePage header and footer comtaining logo

I'm writing a report, and i'm doing the title page. Well i would like to have a header containg three logo ,and to have text under a logo. This is the result i want to get for the header : This is ...
0
votes
2answers
70 views

Help with book header and footer [duplicate]

Why does that not work? And how to fix it? \begin{document} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\textbf{Name}} \fancyhead[RE,LO]{\textit{\leftmark}} ...
5
votes
1answer
176 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
4
votes
1answer
53 views

2 questions about page layout - multi “row” and “central” header

I have tried to google a lot, but I didn't get a clue. Maybe my request is a little special. :) What I want to is to set the page with 2 part top and bottom, it's just like "multicolumn", but ...
0
votes
1answer
23 views

how to manage header of first page and rest of the pages differently

I want different header of first page of the article and on rest of the pages I want author name and article name to appear alternately.
9
votes
1answer
197 views

Why does color cause a vertical shift?

this TeX-source \documentclass[a4paper,12pt]{book} \usepackage[usenames,dvipsnames,svgnames,table,x11names]{xcolor} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[LO,RE]{} ...
2
votes
1answer
36 views

make all pages with the same style footer

I use Lyx 2.1. I want to make all pages with the same style footer. The first page of each chapter has its own style (Style No. 1) Other pages have a different style (Style No. 2) is it possible to ...
5
votes
1answer
32 views

Subsection only in even header

Starting from the following code: \documentclass{book} \usepackage{lipsum} \usepackage{fancyhdr} \fancypagestyle{standardstyle}{% \fancyhf{} \fancyhead[RO]{\large\raisebox{.1cm}{\leftmark}} ...
2
votes
2answers
37 views

How to remove header and footer in Table of contents and LOF and LOT

I have used fancyhdr package for giving header and footer for my report work and to give header and footer for chapter name beginning, I have used this code: \makeatletter \let\ps@plain\ps@fancy ...
1
vote
0answers
27 views

Setting the space between fixed page header and float text block [duplicate]

I searched for previous answers, but none solves my question about how to set the space between fixed page header and float text block. \headsep changes the position of header, rather than the ...
1
vote
1answer
68 views

moderncv classic header

I was trying to add an additional header for every new page of my CV (2nd page and onward), but unfortunately everything I tried ended in a failure. I've tried editing "moderncvstyleclassic.sty" and ...
1
vote
2answers
54 views

Problems with header and footer in documentclass book

I tried to use a header and footer layout I found here on this website. But I have some problems with changing the code to what I want. I want the pagenumbering to be like page x of y in the footer. ...