Questions tagged [header-footer]

{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 {scrpage2}.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Add page number on moderncv of classic style

I am aware that this question has been posted a couple of times but none of the answers seem to work with the most up-to-date version of moderncv. https://github.com/moderncv/moderncv This is where ...
0
votes
1answer
19 views

Conversion markdown to latex regarding headers

I am trying to convert markdown headers to latex without them being caught by a ToC. So in other words, in markdown I would do like this: - # header 1 - ## header 2 - ### header 3 - #### header 4 ...
0
votes
1answer
32 views

A3 paper landscape in A4 portrait document with same margins

I want to have some A3 landscape pages in my A4 portrait document. These should have the same margins as the A4 pages. I tried the solution of A3 Paper landscape in A4 portrait document with same ...
0
votes
1answer
31 views

Different header on TOC and Bibliography

I have defined my custom header using the fancyhdr package and this is my code: \renewcommand{\headrulewidth}{0.1mm} \fancyhf{} \fancyhead[RO]{\slshape\rmfamily\nouppercase\rightmark} \fancyhead[LE]{\...
1
vote
1answer
28 views

How do I add an underline to all section headings in {section in head/foot}?

I am using beamer, and I can change the size of the font by using \setbeamerfont{section in head/foot}{size=\scriptsize} However, I do not know the correct way to make this text also underlined. I ...
0
votes
0answers
21 views

Remove "Chapter x:" for starred chapters in heading

I am currently working on a thesis, using a provided class file. In this class file the headers are defined with the following code: % Page geometry and spacing (same for even and odd pages) \geometry{...
0
votes
0answers
14 views

How can I get this colored header? [duplicate]

I'm trying to get this kind of custom header (please see the screencast). The code I am using for my document is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{times} \usepackage{...
0
votes
2answers
45 views

Different headers for first page and following pages even and odd

What I would like to achieve is a (fairly high) header in the first page and alternate headers with different heights for even and odd in the subsequent pages. I tried Werner's solution from this page,...
1
vote
0answers
23 views

How to reduce the font size of the title displayed in Warsaw's theme footer

My document's title doesn't fit the Warsaw's theme footline. I've read how to make a two-lined title in the footline but what I really wanted was to simply reduce the font size displayed in the ...
0
votes
1answer
31 views

fancyhdr troubles with left and right page footer

I am writing a book with LyX Version 2.3.6.1 (+TexLive 2021) I have choosen as Document Class in Lyx book standard but I do not like the default page numbering bottom-centered so I use the possibility ...
0
votes
1answer
48 views

All header disappeared from book typeset with octavo package

All was good for a while, then my headers and page numbers all disappeared. The table of contents, index, and hyper ref links all work, but there is no printing of headers and page numbers. I tried to ...
0
votes
0answers
22 views

Exam class: different headers

How can I change the header per n-th page with the exam class. Sometimes I need headers on pages 1 - 3 - 5 and in other cases I need headers on pages 1 - 5 - 9. Additionally, headers on pages 3 and 5 ...
1
vote
1answer
30 views

Big headsep values destroy my margins

I want to have a document where there is a gap of 5cm after the header. So I set the headsep to 5cm which just shifted the text down 5cm and not the bottom margin is way too small. Here a minimal ...
0
votes
1answer
36 views

Modify the chapter mark

I have an incorrect chapter mark in a page. I inserted an unnumbered chapter (\chapter*{History} and I get "List Of Figures" as the chapter in the current position. How can I change it? The ...
0
votes
1answer
32 views

Change page number position starting chapter [duplicate]

I would like to change the position of the page number on all the pages include the first page of a chapter. I use fancyhdr package and this is my code: \renewcommand{\headrulewidth}{0.1mm} \fancyhf{} ...
-1
votes
1answer
52 views

Overfull \vbox has occurred while \output is active

I have the following MWE: \documentclass[]{scrbook} \usepackage{longtable} \usepackage{tabularx, booktabs} \usepackage{multirow} \begin{document} \chapter{Discussion} In this chapter the ...
1
vote
0answers
21 views

How to get vertical space under footer in Madrid theme of beamer

How to get vertical space "\vspace{1cm}" under footer in Madrid theme of Beamer. This is what I have tried, but I am unsuccessful. \setbeamertemplate{footline} {% \begin{beamercolorbox}[...
0
votes
1answer
21 views

Put Tufte-book footnotes in fullwidth footer with correct spacing

I am new to SE and somewhat new to Latex, and I have a follow-up question to this post: "Place footnote in footer in Tufte-book class." The answer gives a style package to place Tufte-book ...
0
votes
1answer
48 views

Chapter and verse numbers in memoir header

I was playing around with this and trying to extend the example with the following three features: How do I rest the num for each verse environment (ending with the \end{verse})? The header should be ...
1
vote
1answer
42 views

how to make fancyhdr headers positioning to not depend of size of ToC in two-sided document

Consider this test case: \documentclass[twoside]{article} \usepackage[a4paper, vmargin={350pt, 350pt}]{geometry} \usepackage[linktocpage=true]{hyperref} \usepackage{titling} \title{Title}\author{}\...
0
votes
1answer
61 views

How to recreate this Header?

https://journals.sagepub.com/doi/pdf/10.1177/0956797617714579 What package is required to make the line on the header?
0
votes
0answers
28 views

modify a template for report

I'm trying to use this template for report. the problem that in this template the two red box and the plue one are added by inserting a figure(i want to delete the image of the university). can you ...
2
votes
1answer
36 views

Vertical alignment for multiple elements in header with scrlayer-scrpage

I have recently started using the koma-script classes, but I am having trouble transitioning from fancyhdr to scrlayer-scrpage. I want to place a logo on the right side and a mark on the left side. ...
2
votes
1answer
22 views

putting two distinct images on event and odd paged headers

I want to put images in the headers of all pages but the first page of a document. Besides for the first page, on each and every odd page, I want one image; while on each and even page I want another ...
0
votes
0answers
27 views

"Preface" appears as header on even pages?

I stumbled a bit at first adding a preface to a book I'm writing. I've got it set up now by adding \chapter*{Preface} to \frontmatter and \addcontentline to include the preface in the table of ...
0
votes
1answer
22 views

Displaying 'Appendix' in the header of the Appendix (even pages)

I really can't understand why the word "Appendix" doesn't show up in the header of my appendix the way "Bibliography" shows up on the pages of my bibliography. What did I do wrong? ...
0
votes
1answer
30 views

Title in a Beamer Foot note

My title is little lengthy so some part ( the word theory ) hided in the footnote line . If I include [] this its hided. How to assign separately footnote in every page? \documentclass{beamer} \...
0
votes
1answer
58 views

Error Caused by The \makebox Command When Used Inside an Exam Document Header

I am using the exam package for the first time. I wanted to edit the header as mentioned on page 117 of the documentation. The \makebox command is causing an error of the type: Missing \begin{document}...
0
votes
1answer
36 views

Headers with fancyhdr (or others): Chapter on odd pages, Section and Subsection on even pages

I'm using a double sided report for my thesis and in the headers I want to show: Chapter number and name (on the left) on odd pages; Section number and name (on the left) and Subsection number and ...
2
votes
1answer
32 views

Remove Number Label from \sectionmark

There are a number of questions on the site that come somewhat close to this one, but don't seem to solve my problem. I'm working in Overleaf for the following, if that means anything. I'm trying to ...
2
votes
1answer
21 views

fancyhdr commands give different result when writing a document in Hebrew

This question is a follow up to my previous one. I am writing a book in Hebrew. I want the mainmatter of the book to have the following style in the headers and footers. nothing to be printed in the ...
1
vote
1answer
36 views

How to show only chapter number and chapter title as well as book title in header using fancyhdr

I am writing a book in which I want to customize the headers and footers for the main matter. I want it to have the following style: nothing to be printed in the footer - (\fancyfoot{}) page number ...
2
votes
2answers
93 views

fancyhdr long section name overlaps page number

Hi I use fancy header but the page number overlaps with the section name in the header. Is there a way to force either a tiny bit smaller text or just allow for longer margins in the header? Thanks. ...
1
vote
1answer
61 views

How can I replicate the format of this research paper?

I've found a paper in the format of which I would like to copy and use for my own writing. I'd ike to know which packages I need or basic types of commands I might need to reproduce it. The elements ...
1
vote
1answer
34 views

Place MDFramed in header only on first page [duplicate]

I'd like to place an MDFramed object inside my header only on the first page of the document. I can't seem to get it to work. Any suggestions? \documentclass[11pt,oneside,a4paper,titlepage]{article} \...
0
votes
0answers
28 views

\Subsectionname in header breaks after a while

I am writing my thesis using subfiles and have split it up into sections and subsection. Each subfile contains a section. I use a fancy header with subsection and section in the header alternating on ...
1
vote
1answer
30 views

How can I decrease the header size on just Page 1?

How can I adjust the header height of only Page 1 on my document? The title seems to be much too low on the page. It is fine for page 2 onwards. Here is my template: \documentclass[letterpaper,11pt]{...
1
vote
2answers
24 views

Custom Header | Match Table of Contents Font Size with Fancy Header Font Size

Background I am creating a maths primer worksheet. I just need help with fancyhdr under % [ pkg - page format ] and \tableofcontents under % [ document ]. Here is an example: % [ file: maths-primer....
0
votes
1answer
21 views

Header in resume template

I am trying to insert a header on each page in the resume template: https://cs.overleaf.com/latex/templates/recent-grad-resume-template/gjxncvsftpqr. I would like the header to be at the very top of ...
3
votes
3answers
169 views

fancyhdr and rightmark - how to remove the dot

I am using the fancyhdr package to create a heading for my document. It is working really good, but on the odd pages on the right side I get "1.1. Section 1", but what I want is "1.1 ...
0
votes
0answers
32 views

Titlesec doesn't allow me to use nameref

I'm writing an essay and using fancyhdr, nameref and titlesec. Namerefis used to have the \currentname of the section in the footer, but I also wanted to make the section names look different and when ...
0
votes
1answer
49 views

How to get \markboth to work from within \tcolorbox and \longtable environments?

So I am editing a historical manuscript, and I want the original page numbers of the handwritten manuscript to appear in the running head, both on the left and the right pages. As well, they also need ...
1
vote
1answer
137 views

Get position of footnote if there are some

Short version: How can I get the position of the red box in order to stop my line before the footnotes when there are some (tcolorbox manages to stop the line at the good position)? Longer version In ...
0
votes
2answers
82 views

jinja template engine statement conflicts with {%

tldr/solution: The jinja template engine default statement is defined as {%,%} and it conflicts with % at the end of the line (which is simply not a comment) in a combination with the parenthesis {. ...
0
votes
1answer
39 views

Aligning logos in the header and adding header text

I am trying to align the two logos I have in the header of my report. As you can see, the right logo sits somewhat below the left one. I would like to align these two by shifting the right one up and ...
1
vote
2answers
95 views

Header with image on every page

I am very new to LaTex and I am trying to create a document, where every page (well every page after the title page) shows the same header picture on the top left corner. I am using Overleaf. I tried ...
0
votes
1answer
299 views

How to remove the "Springer Nature 2021 LATEX template" header from my manuscript [duplicate]

I am using the Springer Nature template based on the guidelines of the journal I'm submitting to, but I can't find any information on how to get rid of the annoying and horrible header that Springer ...
1
vote
1answer
30 views

Deleting header rule on the first page

I would like to generate myself a standard, simple report template. In the attached example I would like to have different set of headers on the first page. I'm stuck with a problem trying to remove ...
1
vote
1answer
56 views

Footer has disappeared (fancyhdr)

I should have a grey footer with some words on the left and company name on right, plus a page number, all starting after title page. Instead I get no footer below my tables. I'm very new to using ...
1
vote
1answer
50 views

Subsection name in the header appearing from last section

I am using article class with twoside option to prepare a document. In the headers, I want the left page headers to contain the section, whereas the right page headers to contain the subsection. I am ...

1
2 3 4 5
76