{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
254 views

scrartcl and fancyhdr: Strange spacing behaviour

Consider the following piece of code: \documentclass{scrartcl} \usepackage{ifthen} \usepackage{fancyhdr} \pagestyle{fancy} \lhead{} \chead{ \ifthenelse{\equal{\thepage}{1}}{}{ ...
5
votes
1answer
65 views

\savebox in page header with redefinable commands

I'm making a document class with some redefinable commands for page headers. However, I'm running into the following issue: \documentclass{article} \usepackage{fancyhdr} % In custom document class ...
1
vote
1answer
69 views

The footer styling in fancyhdr - Center text

\fancypagestyle{myfancy}{ \fancyhf{} \fancyhead[LE,RO]{\slshape\nouppercase{\leftmark}} \fancyfoot[LE,RO]{\tikz[baseline={(0,0)},anchor=center] ...
1
vote
1answer
49 views

\fancypagestyle does not affect the first page of the chapter. Why? How to modify that? [duplicate]

\fancypagestyle{myfancy}{ \fancyhf{} \fancyhead[LE,RO]{\slshape\nouppercase{\leftmark}} \fancyfoot[LE,RO]{\tikz[baseline={(0,0)},anchor=center] ...
2
votes
1answer
39 views

Custom footer without number of pages

I use fancyhdr to create a custom footer in the left,I refer to this answer so I use \makeatletter % new style {footmark} \fancypagestyle{footmark}{ \ps@@fancy % use {fancy} style as a base of ...
1
vote
1answer
345 views

Fancy header in bibliography

I would like to add a custom style to my bibliography. With this code: \phantomsection \addcontentsline{toc}{chapter}{\bibname} \bibliographystyle{unsrt} \bibliography{mybib.bib}{} ...
1
vote
1answer
74 views

Modifying the header in fancyhdr

I want the chapter name to appear on the header without numbering.What should I do?I tried removing the section mark but it doesn't just work? Here is the code: %Template for Technical Document ...
4
votes
1answer
335 views

Removing heading in Dresden beamer theme and adding a background

Following several example, I success in removing headline and footline for my first frame. However, I tried to use a background image and unfortunately with the Dresden theme (and others maybe) a ...
2
votes
1answer
91 views

How can I get horizontal line of navigation dots in header of Singapore beamer theme?

I'm writing a presentation using the Singapore theme. The dots in the navigation bar are appearing vertically (one below the other) rather than horizontally. This is consuming a lot of space of my ...
4
votes
1answer
113 views

Page Number styling in LaTeX

How to put the page numbers inside a logo in book in LaTeX. That is, in the book, at the footer, I want to add a logo and inside the logo the page number. How do I do that? \documentclass[12pt]{book} ...
1
vote
1answer
47 views

Add current section to beamer headline

I am currently using the standard Pittsburgh theme for my presentation in LaTeX beamer. Is there a way to include the current section into the headline of my slides?
1
vote
0answers
29 views

Page starts in the middle of the header [closed]

The text on any of my pages starts right where the header is. So in the following document the section, which is the first text of the paper, will be right where the header is. Has anyone experienced ...
3
votes
1answer
78 views

Using 2 different fontsizes in scrpage2 header

I am trying to use two different fontsizes in the headers of my document. The pagestyle is set via \newpagestyle. By using \addtokomafont I was able to change the fontsize of the entire header. ...
3
votes
1answer
309 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 ...
2
votes
1answer
39 views

Remove heading lslisting multiple pages

Hi guys I have a problem with lslisting because the code spans over multiple pages. I really hope you can help: How can I remove the heading (BILIAG A. APPENDIKS)? Here is a minimal example of the ...
5
votes
1answer
78 views

Roman numerals at the bottom

I'm quite struggling with footers. After hours spent trying to customize usepackage{fancyhdr} and pagestyle{fancy}, I decided to create as simple document as possible. Something reminding picture ...
1
vote
1answer
73 views

Oversized (A4 height, but much wider) pages in A4 document - header / footer alignment needs to be changed

I have to include a large graphic in a A4 document, the figure fits into an A4 height, but is much wider. I used \pdfpagewidth=3.1\pdfpagewidth to increase the paper size, and included the figure. I ...
4
votes
2answers
116 views

Making custom layouts in LaTeX

I want to create a layout like this sketch i made: But I can't seem to crack this one. I am pretty new to LaTeX, and have done a lot of searching without any luck. The idea is that like a chapter ...
7
votes
2answers
2k 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
1answer
40 views

Beamer preventing display of headlines

Can we prevent the display of headlines only but retain the footers for a particular slide in beamer? Thanks
3
votes
1answer
101 views

How can I modify the Beamer footline in a way that doesn't change positioning of contents/sidebar?

I've started with the basic Berkeley theme in Beamer. I wanted to modify the footer to include the page numbers that are centered on the slide. However, the modified footline element seems to be ...
1
vote
1answer
85 views

title headings in each chapter

I was typing my PhD thesis by using institute style file. The file format they are using is based on report. My guide wants to give my thesis a book like format. The problem is, if I change the report ...
4
votes
1answer
165 views

Reproduction of Word Report Template in LaTeX

I am trying to reproduce a word report template in LaTeX to speed up my report writing. I have some basic LaTeX skill, but I am having trouble producing the blue page border as shown in the picture. ...
1
vote
1answer
48 views

memoir: page number on the first page of a chapter

This is a minimal working example. Compiling this main code: \documentclass[a4paper,oneside,italian,12pt,openright]{memoir} \usepackage{tocloft} \aliaspagestyle{part}{empty} ...
1
vote
1answer
92 views

How to use \maketitle without make it a title page so the header and footer wouldn't change?

If I use \title, then it changes the page style. How do I display information like title, author and date with out make it a title page? Or how to show header and footer on title page? The code is ...
1
vote
1answer
47 views

Changing the margins of a single page while keeping the headline the same

I need to print a huge figure in my latex document on one single page. I'm currently using \newgeometry{left=10mm, right=10mm, top=25mm, bottom=30mm} \begin{figure}[thb] .... \end{figure} ...
1
vote
0answers
57 views

Complex longtable with multirow, multicolumn, rotation of text, and a strange header

I want do a table like the next figures 1 and 2. The table go expand in many pages. The header is the same in all of them, and I want put the elements A, B and C in the headers of the tables, because ...
2
votes
1answer
75 views

Creating Footer Read

I would like to create a footer in pdfLaTeX. The footnote should look like this: On the left it should show the current page number, in the middle a description and on the right side an image. I ...
3
votes
2answers
53 views

Text running into footer area when using amsart and fancyhdr

I'm trying to include a logo in the footer area of an amsart document. I use fancyhdr to achieve that, but the problem I run into is that the body of the text runs into the footer area - as ...
4
votes
1answer
69 views

Problems with the header

Today I want to set a centered header. My trial \documentclass[utf8]{ctexart} \usepackage{fancyhdr} \begin{document} \pagestyle{fancy} \chead{ 常州大学本科论文外文翻译 } \cfoot{第\thepage 页,共\pages 页} ...
2
votes
1answer
150 views

Header and Footer Styling in book class

I added the header and footer but I encountered the following problems: i)The header and footer appear on a blank page (on two side book class), how to remove that? ii)In the footer , the page number ...
2
votes
1answer
128 views

scrbook with amsbook style header/footer

I am using scrbook. I like the look of the running heads and page numbering of amsbook. Is there a way to get the same style with scrbook? I already tried: ...
4
votes
1answer
47 views

Content following bibliography still has bibliography header

Writing in book class, I have a chapter, full of good things, followed by a bibliography. After the bibliography is a section for problems and examples. My issue is that the problems and examples ...
2
votes
0answers
61 views

inconsistent page numbering position of glossaries page in toc

I am preparing a thesis using book document class and some package for fulfilling the requirement of university dissertation page layout, such as the roman page number is supposed to be at the up ...
2
votes
1answer
26 views

Iteratively define Header/Footer

I wrote a LaTeX document (approx. 50 pages) with 2 classmates together. Now i want to show who wrote which part in at the top right of each page. For example at page 2-15 will be my name at the top ...
8
votes
1answer
422 views

How to change page number location on ALL pages (including chapter pages) WITHOUT fancyhdr?

Question revised: What must I do to change the page number position on EVERY page (especially for chapters) WITHOUT using fancyhdr? Background and details: I've searched now for many, many hours ...
3
votes
1answer
50 views

Headings in appendix `\section*`

I'm using this and this approaches to get my appendix sections as I want, so a MWE of my code would look like: \documentclass{article} \pagestyle{headings} \begin{document} \tableofcontents ...
2
votes
0answers
82 views

Start with page two in LaTeX book

I need to not have a page number for title but my second page should start with roman numeral 2. I tried \setcounter{page}{1} \thispagestyle{empty} but it would not work and it hides the page ...
2
votes
0answers
97 views

ConTeXt: Set mixedcolumns maximum height for vertical rule

Background Looking to ensure that the height of a vertical rule for the first page of a section is the same as the subsequent sections. Code Minimum working example to illustrate the issue: ...
0
votes
0answers
25 views

Help me short author name, title at footer and name of chapter at header

I want to create the header with name of chapter, section.And te short author name and title at the footer. But i want it just visible from the second page of every chapter. My code here: ...
0
votes
0answers
39 views

Changing the section navigation from vertical to horizontal

I like to use the Malmoe theme in the beamer class. However, I would rather have the header navigation for the sections horizontal instead of vertical, so that it takes less space.
0
votes
1answer
82 views

How to set page number at right footer

I want to know how can i set the page number of documents at right footer i.e. bottom right of the page in the whole document even on the chapter heading page too. Please help me out on this.
1
vote
1answer
108 views

fancyhdr with 2 different fonts

I need to write a footer with these requirements: Font for footer – page # Garamond 12 regular, right upper corner, start page 1 with title & authors (after cover page) · Rest of the footer. ...
2
votes
1answer
54 views

Header superimposed over text

The header in my report is superimposed on the text. I've tried altering voffset and header height but it didn't get me satisfactory results. \documentclass[12pt,a4paper]{article} ...
5
votes
1answer
149 views

scrpage2: Three “marks” for headings

As far as I know of the \automark command (scrpage2 package), it is only possible to mark two different "header-types" (e.g. sections and chapters). I'm searching for a way to mark an additional ...
59
votes
7answers
14k views

How can I add “page # of ##” on my document?

I want to add a footer to my document displaying the current number out of total number of pages. How do I do that?
2
votes
1answer
201 views

Page numbering different side of heading for odd and even page

Hello I am using a fancyhdr package and I want that the page number appear in the right side of the heading for odd pages and in the left side of the heading for the left side. I alredy used the ...
3
votes
1answer
110 views

How to position fancyhdr[R]?

I cant get the right header/footer on the right position. It should be positioned 3cm from right page end. How can i achieve that? Sample Document: \documentclass[12pt,a4paper]{scrartcl} % includes ...
2
votes
0answers
64 views

Chapter name followed by section name in the left side of the header of all pages

In fancy-header mode I want to put at the left of the upper head of each page, the name of the current chapter followed, after a separator sign, by the name of the current section. How can I manage to ...
3
votes
1answer
180 views

LaTeX beamer hide text in footline

is there any possibility to modify a footline in \documentclass{beamer} on a specific frame so that the color(s) is (are) still there, but not the text inside? All other frames should contain text in ...