{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
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 ...
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. ...
0
votes
2answers
133 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 ...
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 ...
1
vote
1answer
112 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 ...
2
votes
1answer
114 views

Underfull \hbox in scrpage2 header and some tips

i have problems tracking down a underfull \hbox warning: Underfull \hbox (badness 10000) has occurred while \output is active | \hbox(10.18913+4.36682)x418.25554 .\rule(10.18913+4.36682)x0.0 This ...
-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!
1
vote
1answer
41 views

how to add self defined header for document class book?

I am using document class called book.It takes the default section name and chapter name as header.but i want my header to be the name of my project. Please help
2
votes
1answer
90 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 ...
10
votes
1answer
7k views

How to customize the page header and the page number of classicthesis?

I am using the classicthesis package and would like to customize the page headers and the page numbers. Here is a test project that shows the problem. \documentclass[dottedtoc, headinclude, ...
1
vote
1answer
63 views

Get the page number to the bottom with classicthesis

How can i get the pagenumber to the bottom center of the page with the classicthesis template? Currently, the page number is in the header.
33
votes
4answers
43k 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 ...
1
vote
1answer
41 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
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} ...
5
votes
2answers
5k views

How to remove header on a certain page

I've written a synopsis section for each chapter of my thesis, and I've noticed a minor issue. Since the synopsis section comes before the \chapter its header is from the last section of the previous ...
4
votes
1answer
1k views

Pandoc: Markdown to pdf without page numbers

I want to convert a document written in Markdown to pdf via TeX, so that it looks like I wrote it in TeX. The problem is that I don't want the page number. What do I write in the terminal in order to ...
3
votes
2answers
255 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 ...
6
votes
2answers
90 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
57 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
69 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 ...
2
votes
1answer
5k views

Moderncv casual header - photo right, name and title on the left

I like the moderncv casual theme, but I would like to change the order of the photo and the name / title. I tried the solution described in this question: Modify moderncv header ! Undefined control ...
4
votes
2answers
83 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 ...
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} ...
4
votes
1answer
156 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
58 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
128 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
0answers
75 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 ...
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
47 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 ...
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{} ...
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
90 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
81 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
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
120 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
73 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
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} ...
5
votes
3answers
153 views

Header and footer for a book using: part on even page and chapter on odd page

My goal is to realize this layout for a book (possibly using fancyhdr, but I'm open to everything): where the current layout is represented in grey. In other words, I want : to put the page ...
5
votes
2answers
626 views

Put section and page numbers in the margin with KOMA Script

Using the scrartcl document class, I would like to put the section number into the page margin, as is seen for example in the famous l2tabu document. That should be easily possible with KOMA Script, ...
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} ...
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 ...
2
votes
1answer
72 views

CMR Font selection and fancy header formatting?

I am trying to accomplish the following: Chapters like "Chapter1" in CMCSC10 font between two thin lines After that Chapter name like "Introduction" in CMR17 font The paragraph body in CMR12 font I ...
0
votes
2answers
120 views

TOC and header versions of section titles (titlesec interferes with fancyhdr)

I am working on a long document with many chapters, using report class. I would like to have three different versions of certain section titles (long for document, medium for TOC, and short for ...
1
vote
1answer
45 views

Header line doesn't span width of page

I am using the following code to create a header using fancyhdr: \documentclass{report} \usepackage[margin=3.0cm]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} ...
54
votes
1answer
34k views

How to remove the top horizontal bar in fancyhdr?

When using fancyhdr, how do you remove the top horizontal rule? I do not want a header at all, just a footer. This is what I do now: \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} ...