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

1
vote
1answer
34 views

\currentitle in memoir class header prints next section title

I have a weird problem with the memoir class. I'm using it to typeset a book of short stories. I have the headers set up so that the page numbers are printed on the outer side. On the left-hand page, ...
1
vote
1answer
45 views

Vertical line in footer problem with chapter (fancyhdr) [duplicate]

This is practically a follow-up to this question. The solution there works great for an article, but does not work with chapters, i.e. with report or book classes. As you can see here on the first ...
22
votes
6answers
11k views

How to get part name in LaTeX ?

Actually I am using the fancyhdr package, and trying to put the current part name in the right header. I know that \rightmark and \leftmark are used to represent the current section and chapter ...
1
vote
0answers
39 views

Numbering shows on the first page of every chapter and skips any other pages!

I'm using book document class to draft my thesis. But I have difficulty enumerating pages. It shows numbers on the first page of every chapter, and they disappear! Also, I want to counter the Abstract ...
48
votes
4answers
59k views

Custom first page with fancyhdr

I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so: \pagestyle{fancy} \fancyhf{} % clear all header and ...
16
votes
2answers
22k views

Suppress Fancy header and footer on first page only.

How to suppress the fancy header and footer on the first page? On other pages, they should be visible.
1
vote
1answer
29 views

Header In the chapter

I am using \listoftables before starting a chapter. But in the header of the chapter List of tables appear. How can that be removed?
15
votes
2answers
16k views

Fancyhdr does not apply same header/footer on chapter and non-chapter pages

I have a problem with the fancy package: I use the report documentclass and I have a chapter, a lot of text and then a new page starting with a section (or the next page has no chapter starting on ...
11
votes
3answers
10k views

Adding sections such as Linkedin and Github to a Moderncv footer

How do I add extra links to the footer of a moderncv document that are not covered by the default commands?
3
votes
2answers
67 views

Header and footer with dotted lines

Our company has a new corporate design for documents, including headers and footers with dotted lines. I realised the desired layout, but it is kind of a quick and dirty solution. This is a minimal ...
1
vote
0answers
41 views

Beginner's problem - Undefined control sequence… Problems with RITA package [closed]

I am having a lot of "small" problems with my code in ShareLatex. I think the most of them because the package provided from the Journal (I copied the code for new project in ShareLatex and it worked ...
1
vote
2answers
62 views

How to place page numbers in arbitrary position (e.g. REALLY in extreme right bottom corner)

Some questions and answers exist on how to place the page numbers (I quote) "in the bottom (right) corner", but different people seem to have different (and multiple) definitions of such corners. I ...
2
votes
1answer
21 views

My page number is disapearing after page 1

I'm writing a document in latex with two logos in the header and a custom page number in the bottom right. The problem is that although the header is displayed correctly, the footer on the second page ...
2
votes
1answer
49 views

Removing numbering everywhere except table of contents

What I essentially want to do is to remove numbering of sections everywhere(primarily, the header and in the main body) except the table of contents so that sections are numbered there but my left ...
2
votes
1answer
65 views

Strange vertical shift on some pages

Unfortunately I was not yet able to create a complete MWE since the real content of my document is copyrighted and using blindtext did not create the strange errors. My problem: I have a large ...
12
votes
1answer
3k views

How to use short subsection title in header but not in table of contents?

I have a (onesided) document with fancyhdr and pagestyle fancy so it displays the section-title on the right header and the subsection-title on the left header. If section and subsection titles are ...
10
votes
4answers
3k views

How to set rightmark after \section command?

I need to typset a book with very long section names. The long names should appear in the normal text and in the ToC but not in the header, so I can’t use the optional argument. \sectionmark is my ...
0
votes
0answers
13 views

Add footer before \maketitle [duplicate]

I try to put footer on the left only on the first page. I try to manage with fancyhdr but I can not make it work. I have already fancy model for other pages so I have to make a model only for the ...
11
votes
2answers
5k views

Remove running head in amsart

Is it possible to remove the running head and page-numbering in an amsart document? I am submitting a document where there are not too many requirements, and I like how amsart looks like, but I need ...
0
votes
1answer
35 views

Change reference title size

I need to change the font size of reference title in ctexbook. An obvious way is redefining the \bibname macro. However, that would change the heading as well. For example, \renewcommand{\bibname}{\...
2
votes
1answer
92 views

Insert the number and name of the section in the header, (including on a chapter's opening page)

By using fancyhdr, I want to get the section name and number in the header of pages and if relievant also the chapter name. To be CLEARER, The question goes to : How to put on the header of the ...
13
votes
3answers
5k views

How to put both chapter and section name in the header of the page?

I'm working on a one-sided LaTeX document with document class scrreprt and I'm using scrpage2 to customize headers and footers of the pages. At the moment, the respective chapter name is shown in the ...
1
vote
2answers
125 views

Vertical line in footer and header

I want to make my footer and header look like this beautiful apple manual. I think, I should use the fancyhdr package. But, I need an example to see how I should use it in this case (for vertical ...
0
votes
0answers
32 views

Article headers

I have a problem with article headers. I am almost always writing reports, but now I decided to write a article, because I think I could make the design of my latex document look better . So I want my ...
0
votes
1answer
41 views

Name of Author does not appear in Beamer footline

I am making my first beamer-presentation, and for some reason, the author name will not appear in the footline. The title name and the name of the institution do appear, but not the author. Here the ...
4
votes
3answers
134 views

How to align a picture in a 2 lines fancyhdr header

I use fancyhdr to create my header, i have this code: \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{lastpage} \fancyhead[L]{\includegraphics[width=1cm]{logosmall.jpg} \textbf{Title of my ...
2
votes
0answers
78 views

How to configure running heads in Memoir so they won't appear on “matter” opening pages?

I'm using Memoir for a book, and I am having some difficulty with the running heads. I obviously need to change something, but I can't figure out where to make the change. The headers display ...
24
votes
2answers
26k 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 ...
0
votes
0answers
31 views

How to split a page in to two equally sized sectors [on hold]

Sir, how can i split a page in to two in latex,can you plese help to make this .i can prepare this in only one side using latex(ACQPAER(2)).I attach the word copy of my page can you plese help me to ...
0
votes
1answer
86 views

how to have page number in top right without section name in header?

I need the page number in top right but I do not want the section show in header.. is there another way to do that?
1
vote
1answer
77 views

Make headwidth = paperwidth, regardless of page geometry

I would like the headsepline of each page to extend across the page. The problem I am encountering is when the geometry is changed via \newgeometry: \documentclass{scrreprt} \usepackage{geometry} \...
2
votes
1answer
39 views

Adding a horizontal line at the end of the CV

I am writing a CV in LaTeX, and to do so I downloaded a template from the following link: http://www.mit.edu/~westj/templates/JWest_CV_template.zip. I am doing pretty good so far but I would like to ...
7
votes
4answers
1k views

Use of shaded box for section numbering only?

I have been wondering "how to get shaded box for section numbers only"? Also, How to get grey square in between left mark and page number in the header? In code below I can get solid black square. I ...
1
vote
2answers
68 views

Plainheadsepline

I have a quick question concerning the separation line to the header. I use a very weird template for my thesis, but now everything's functioning quite well.. so I guess I will stick with this ...
1
vote
0answers
32 views

blank page between appendix and references [duplicate]

firstly I am getting a blank page between my references and appendix, I have tried all the usual fixes like \clearpage and \cleardoublepage, but having no luck. Secondly the header will not show on my ...
1
vote
0answers
32 views

No header shown in appendix [duplicate]

I am having trouble getting a header in my appendix, I have a header for all other sections but in the appendix this is not showing up: %Document style \documentclass[a4paper, 12pt, oneside]{book} %...
1
vote
2answers
111 views

How to display page numbering on top of the page?

I've been searching for quite some time now, but I can't seem to find an answer to my problem. This is how my page numbering commands are: \renewcommand{\thepage}{\arabic{page}} \setcounter{page}{1} ...
2
votes
0answers
70 views

Headers and footers with Logo input [duplicate]

In the MWE below, the logo top left is making some trouble as of it is size I assume. Due to the small margins top and bottom "20mm" its pushing the page number too low. Is there a way this can be ...
2
votes
1answer
62 views

List of listings name in header

I have a two-sided book document and want to format the header such that the chapter name is on the outer part. Everything works fine, but one thing annoys me. I have some source code listings (...
15
votes
2answers
15k views

Beamer: Removing headline and its space on a single frame (for plan), but keeping the footline

There is now 4 hours that I'm Googling to found a solution to my problem but it's still impossible! Here is the situation: I have some frames in a presentation using the Warsaw theme, on the first ...
0
votes
1answer
148 views

Starred chapter number and name in header

I have created custom chapter headings: \documentclass[final]{book} \usepackage{lipsum} % Custom macros \def \mychapter#1{% \chapter*{\centering{\LARGE #1}\thispagestyle{empty}}% \addcontentsline{...
18
votes
3answers
13k 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 ...
2
votes
1answer
44 views

Is there a simple way to cram a large forest tree into a page or split it into two pages?

If I try to cram a large forest tree into a page by enlarging a page by 3 lines, I get the result below. The tree overlaps with the footer. Below is the code. Is there a simple way to cram it in a ...
2
votes
1answer
65 views

Define space between footsepline and footer

How to push footer text (red rectangle) down from footsepline (green rectangle)? Position of the footer (as a whole) on the page is not relavant. MWE: (\setlength\footheight{1.5\baselineskip} is ...
1
vote
1answer
31 views

Glossaries: page header title not upper-case

I am using default book template with glossaries included like this: \usepackage[nonumberlist,toc]{glossaries} \setglossarystyle{altlist} \makeglossaries Notice the toc option for adding the ...
2
votes
1answer
65 views

How do I make the same headers (or footers) for even and odd pages in the memoir class?

I'm using the Memoir class for a 85 pg report in which I have to copy my client's format. It has 2 left-aligned isologotipes in the header, and 2 left-aligned addresses in the footer (plus some other ...
2
votes
1answer
26 views

Can't create a custom first page footer

I am trying to create a footer in an article for the first page only, while the rest of the pages are supposed to contain a header and page number at the bottom of the page. Here's the code I use: \...
3
votes
2answers
50 views

how to add logo to the header of first page in the documents

I would like to add a logo to the header of my titlepage. I am not using \maketitle to create my title page, whereas all suggestions in other posts actually use it. Could someone help me out and ...
1
vote
1answer
57 views

How to Change Header Footer font and Color in XeLatex

I need to change the Header Footer in Latex which need to be compiled in XeLatex. Header - Green using Lato-Light font Footer - Red using Raleway-Light font Here is the link to the MWE. Fonts are in ...
1
vote
1answer
23 views

Pagenumber in first page when using fancyhr package

My problem is, I want numbering on first page, but it always starts from page 2, and I don't know how what I have to change in order to having the page number on the first page, this is what I have: \...