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

0
votes
1answer
73 views

How not have page numbers when there is \maketitle [duplicate]

After translating in pdflatex \documentclass[12pt]{article} \pagestyle{empty} % no page number \begin{document} \title{Article name} \author{Author} \maketitle \end{document} the first page ...
0
votes
0answers
36 views

Section name in the header

I want to make Latex display the subsection name (i.e. "2.1 Subsection") in the left header and the section name (i.e. "2 Section") in the right header. I use the following code: % !TEX TS-program ...
0
votes
1answer
95 views

Page numbers incl. text (different side)

I have two questions according to my Thesis. First, how do I switch margins automatically for every second pages, such as: Second how do I switch the page numbers and including different text ...
0
votes
1answer
38 views

Add a (different) footer to the last odd page

I have a twoside document and I'm using fancyhdr. Each even-page has footer 'A', all odd-pages have footer 'B' but now I would like the last odd page to have footer 'C'. It's no problem to add the ...
1
vote
0answers
59 views

Page numbers in pages other than the chapter's first page don't show up [closed]

I am writing my master thesis with a template that I created by myself, and everything seems to be moreorless fine except for the page numbering. I am using two different formats, roman and arabic ...
0
votes
0answers
33 views

How to add chapter names in header

I like to add chapter names in my header. Currently I used this command \fancyhead[RO,LE]{Chapter \thechapter} which can only show the chapter number . How can I add names instead of numbers.
3
votes
1answer
134 views

Template Trouble

Following code %Nam scripta a cursus ad philosophíæ scientiae \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[left=2cm,right=5cm,top=3cm,bottom=2cm]{geometry} ...
0
votes
0answers
50 views

Set Page numbers at Bottom in Memoir Class

I am using memoir class and am getting page numbers differntly positioned for even and odd numbered pages. I am using : \settrimmedsize{297mm}{210mm}{*} \setlength{\trimtop}{0pt} ...
2
votes
1answer
61 views

Why is the page number not in the footer of my page?

When I use the below code, the page number on page 2 appears above the footer. Why, and how do I put it in the footer? And what happened to the footer line on page 1? \documentclass{article} ...
0
votes
1answer
65 views

footruleskip already defined error when remove header line - abntex

I'm trying to remove the line of the header. Doing some searches, the best answer was \renewcommand{\headrulewidth}{0pt} but when I add the package fancyhdr I get an error saying that the footruleskip ...
1
vote
2answers
49 views

Changing the pagestyle on the page where a {table} or any other float is placed

When typesetting a large table using \begin{table} ... \end{table} (or any other float) one sometimes wants to change the pagestyle of the page where the float finally appears. Can one use ...
0
votes
2answers
38 views

setting header inside document for some pages

How can I set different header for different sections. In this example I am looking for replacement of \SomeCommand \documentclass{article} \begin{document} \SomeCommand{Header 1 define here} %this ...
1
vote
1answer
23 views

Is there a “brute-force” way to add a footer to a particular page?

I'm working with a complex thesis template that I don't fully understand (http://www.latextemplates.com/template/masters-doctoral-thesis). I've tried to modify it to make the abstract have arabic ...
0
votes
2answers
126 views

Top margin fancyhdr

I've been starting to use the \fancyhdr package now, using next commands: \newgeometry{left=1.5in,right=1.5cm,top=3cm,bottom=2.5cm,headheight=1cm} (after \begin{document} and after the input of the ...
0
votes
1answer
19 views

Header Margins Shrunk When Importing Style in Parent DIrectory

I have a project directory of the nature: notes.sty class1/Index.tex class2/Index.tex classN/Index.tex and I'm trying to usepackage the notes style for the TeX files to keep them consistent. ...
-1
votes
1answer
79 views

How to create a template for my school [closed]

How can I create a template like the example below? Thanks for any response!
2
votes
1answer
89 views

Komascript - resetting geometry inside the document

In Indenting text after numbered paragraphs I was given excellent advice on how to indent numbered paragraphs in Komascript, \newcommand\secnumindent{1.5cm} .. command for the section itself ...
1
vote
1answer
110 views

How to move Beamer headline below frametitle?

I am creating my own Beamer theme based on the Berlin theme and what I want to do is to move the navigation bar below the frametitle, instead of the default position (i.e., top of page, above ...
1
vote
1answer
39 views

Name in left header, chapter in right header

I am trying to work on my bachelor degree thesis and I need my name in the left header and chapter name in the right header, how can I do that? I made something but it's displaying my name and the ...
1
vote
1answer
52 views

How do I remove header and footer from contents page and list of figures

This is the code I've used for the header and footer. How do I remove header and footer from contents page and list of figures? \usepackage{times} \usepackage{fancyhdr} \usepackage{graphicx} ...
1
vote
2answers
38 views

Per-chapter page numbers (<chapterPage>/<chapterPageCount>)

I am currently working on a document which needs a header which contains the page number and page count within the current chapter. \documentclass[a4paper,12pt]{scrreprt} ...
2
votes
0answers
73 views

Hungarian babel makes English headers strange

I am writing a book mainly in English but it contains substantial Hungarian text, so I would use \usepackage[magyar,english]{babel} However, this makes chapter numbers in the headers look weird. ...
3
votes
2answers
253 views

How to add last name to page number in header?

Okay so I am writing a report where in the header, my teacher is requiring that I put both the page number and my last name in the upper-left hand corner of each page (excluding the title page). Now I ...
4
votes
1answer
53 views

Remove the header in the Table of Contents

I am writing a maths book for A level students using the class book, and I am completely new to LaTeX, so please bear with me if this is trivial. I have written a simplified version of my code down ...
6
votes
2answers
89 views

Wrap page number in colored box in footer

I a looking for a way to achieve the following outcome for the page numnbers in my footer created using fancyhdr: My current code in a stand-alone example looks like this: ...
1
vote
1answer
56 views

fancyhdr and chapter*

I'm using fancydr like this: \usepackage{titlesec} % Normal chapter titles \titleformat{\chapter}{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
3
votes
2answers
68 views

Remove header from the page after TOC and LOF

I am using Koma-script book document class, twosides, and I also use the package \fancyhdr to modify my pages. The problem is that header appears both in the next page after TOC and after LOF, so I ...
4
votes
2answers
81 views

How to reset \markright without breaking \sectionmark?

I'm using scrbook for a collection of papers. Every chapter has a different author, and is typeset with a custom command. I want the headers alternate between chapter and author (rather than whatever ...
0
votes
3answers
83 views

Page setup in memoir class

I have been using the memoir class based template for sometime. All this while I have been having a problem with the top margin of the document. Following is the pagestyle code ...
1
vote
1answer
25 views

Using titleps with unnumbered sections

When I use unnumbered sections, my titleps headers seem to inherit the section name and numbering from the previous section: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} ...
1
vote
0answers
56 views

Latex header problem

I have a problem with my header. I set header like : \usepackage{fancyhdr} \pagestyle{fancy} \chead{\scriptsize{\textit{Proc. of the $19^{th}$ Int. Conference on Digital Audio Effects (DAFx-16), ...
0
votes
0answers
30 views

Using Titleps package to put header on a landscape page

I used fancyhdr and the solution of the how to use fancyhdr package to customize headers in landscape page post to create header on the top of landscape page. but i got familiar with Titleps package ...
4
votes
1answer
153 views

Fancy header and footer including images with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
1
vote
0answers
74 views

Headers and page number location in Harvard-thesis

My first post. :) I am learning to use LaTeX. Precisely, it's no better opportunity to learn by writing PhD thesis. I use Harvard thesis template (downloaded from ShareLatex; also on GitHub). So, I ...
4
votes
1answer
121 views

how to use fancyhdr package to customize headers in landscape page

I have used the fancyhdr package to customize the header of my pages. However, when I want a page to be landscape (by using the pdflscape package), it does produce a page in landscape orientation, but ...
1
vote
1answer
32 views

Header: no number for references page

How can I make sure that the references page has no number in the header (i. e., I still want a header, but without a number). MWE with the problem: \documentclass[]{article} \usepackage{fancyhdr} ...
2
votes
1answer
24 views

Why does the header ruler jump down a line when I center header text?

I was trying to customize my header by using \begin{center} ... \end{center}, however it results in the header ruler skipping a line and ending up in text. How can I make it stay right underneath the ...
1
vote
1answer
45 views

Right align header not working

I'm trying to align my header to the right side but it is not going all the way to the right. Here is a minimal example (I'm including my margins in case that is part of the problem? I honestly ...
2
votes
0answers
33 views

verse numbers in memoir header

I have read this verse line numbers in header I need similar thing. Instead of line numbers i need to have verse numbers. example of odd--even page header: 4 Verse title one 1:6 ...
2
votes
1answer
87 views

Thumbnail style in note pages with beamer

I'm making a presentation with LaTeX beamer and editing some notes about the frames. I managed to change the background color of notes with \setbeamercolor{note page} but I still have a white ...
1
vote
1answer
34 views

tightly packed tables in a page

I have many tables that I want to squeeze in one page. The output of my current code shows lot of space between two tables. I want to reduce the space between the tables as small as possible and want ...
1
vote
1answer
25 views

No Content in my header

I'm having a problem with getting headers in my thesis Code is : \usepackage{fancyhdr} \includeonly{Chapters/Chapter1,Chapters/Chapter2,Chapters/Chapter3} \pagestyle{fancy} \rhead{} ...
1
vote
1answer
80 views

Header with section name

I am writing an article document, without parts so the biggest item is the section (I also use subsection and subsubsection) in LaTeX and I am trying to configure the header so that : for each ...
1
vote
1answer
119 views

Make amsbook consistently place page numbers in header or footer but not mixed

I had used amsbook as a starting point for typesetting my thesis. As you may be aware, amsbook headings page style is used for content pages, and has a running header containing the section title and ...
4
votes
1answer
70 views

Number and title of chapter on left heading

I would like to include the chapter number only (i.e. without the word "chapter"), and its title on the left header on a page. So far, I have used the following code: \pagestyle{fancy} ...
1
vote
1answer
81 views

How do I create a header that has a colored box with page number, Chaptername, and also a line across the textwidth after it?

I would like to create a fancy header that looks like this. I am writing a two-sided book with a5paper.
1
vote
1answer
37 views

error in repeated column header

I want to repeat a column header and add a footer but face error. Please help me to make the header of table. Here is the code: \documentclass{article} \usepackage[english]{babel} ...
2
votes
2answers
54 views

Being able to define headers by hand in each part/chapter of a book

Consider the following code inspired from egreg's answer to this topic: \documentclass[11pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} ...
1
vote
0answers
25 views

Header of ucbletter

I want to copy only header that is available in ucbletter, downloadable from here, and use it in my own cover letter. This ucbletter header is shown in below for better clarification. Could someone ...
3
votes
1answer
81 views

Background and footline for beamerposter header

How can I add a grey background and black footline to this beamer header? EDIT: Here's a compiling MWE \documentclass{beamer} \usepackage[size = custom, height = 110, width = 81]{beamerposter} ...