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

2
votes
1answer
33 views

How do I insert the section name into the header?

I'm trying to use fancyhdr to put the current section name into my header, but the below code just returns a blank header. I can display the current page number without a problem. ...
3
votes
1answer
21 views

How to change the color of separator dots in ModernCV?

I want to change the color of the separator dots to the theme color of the CV. When I use normal color theme like \moderncvtheme[orange]{casual} I am getting the dot in grey color like the one in pic ...
1
vote
1answer
22 views

Headers with subscripts [duplicate]

Consider the following MWE: \documentclass[11pt,a4paper]{book} \usepackage[Conny]{fncychap} %% I used Conny, but any style gives the same result \usepackage{lipsum} \begin{document} ...
0
votes
0answers
23 views

Formating the title page and table of content

in my Master thesis, I would like to have title page without any page number and an acknowledgment and table of content with roman number, and then begin my text with numbers I have tried this, that ...
0
votes
0answers
12 views

Landscape and header formatting

Hello I am really new at this. I am trying to represent a .pdf with the following specifications: -a4 papper -orientation: landscape -Special header with three divisions -after header divide in 4 ...
0
votes
0answers
33 views

Landscape header formatting

Hello I am really new at this. I am trying to obtain a a4 landscape orientation header like this... Could anyone helpme with the code? thanks a lot
4
votes
1answer
22 views

Resume header - format the line in the header

In resume class, when the file is created in the header is a long horizontal line. And this line appears on every page. How can I format the header to have the line only on the first page, but not on ...
2
votes
1answer
29 views

Headings including sections and/or subsections

i got a problem with my headings. This is what I defined: \documentclass[paper=a4,12pt,bibliography=totoc,twoside,headsepline]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} ...
2
votes
1answer
25 views

Problem with elsarticle and lineno

I am using the elsarticle class in order to typeset a preprint of an article I am writing. I wanted to add line numbering in order to make the revision easier, so I included the lineno package. This ...
0
votes
2answers
45 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} ...
5
votes
1answer
182 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. ...
5
votes
1answer
49 views

Remove the page number from CV

I'm using the latex template for CV from here CV Template. Now the template includes the page number as page_no/total_page. I tried to few methods to remove this numbering, nothing is working ...
4
votes
1answer
35 views

moderncv, casual style, how to put the contact information in the header

I'm using the moderncv package with the casual style to write a letter. There the personal data are written at the bottom of the page. Is there a way to put them into the header? Here is a is MWE: ...
5
votes
2answers
46 views

How to clear footer for the last page?

In the preamble of an exam I am creating, I currently have: %headers, footers \usepackage{fancyhdr} \pagestyle{fancyplain} %header \fancyhf{} % sets both header and footer to nothing ...
3
votes
1answer
42 views

header line in second page of abstract

I'm writing my thesis. In my abstract there is two pages. So, I want a head in second page. My MWE code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage[portuguese]{babel} ...
0
votes
2answers
54 views

Fancyhdr footer moved to one side

I have a problem with foter position. I am using fancyhdr and I only want the number on the footer, in the center. I'm using: \fancyfoot[C]{\thepage} But in normal pages, the number it's moved to ...
0
votes
0answers
20 views

Header appearing in second page of TOC, when it shouldn't

I have recently made some changes to my document, using the geometry package to change its margins. But after I've done this, the fancy header I'm using started to appear in the second page of the ...
1
vote
1answer
63 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 ...
1
vote
1answer
33 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 ...
0
votes
0answers
23 views

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

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 ...
1
vote
0answers
44 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
39 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
15
votes
4answers
616 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 ...
5
votes
2answers
96 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
110 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
916 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
71 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
74 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
96 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
34 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
35 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
44 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
46 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
204 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
70 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
3k 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
38 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): ...
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
73 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
19 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
49 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
36 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
33 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
45 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 ...