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
0answers
8 views

Place MDFramed in header only on first page

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
26 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
23 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
22 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
15 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
144 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
31 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
40 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
127 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
59 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 {. ...
-1
votes
0answers
30 views

How to make space after headers

I need to make one space after the headers + I want to make the header always start on the left side
0
votes
1answer
38 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
87 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
95 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
52 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
49 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 ...
0
votes
1answer
73 views

Remove the word Kapitel (chapter) from the header

I want to remove the word Kapitel (chapter) from the header. I want to display only the number of the chapter and the name. main.tex \documentclass[12pt]{report} \usepackage[a4paper, left={2.5cm}, ...
0
votes
1answer
88 views

how to reduce space between authors via header-includes?

I am using scholarly-metadata.lua and author-info-blocks.lua as per the example below in R Markdown: --- title: "My title" author: - Mario Modesto-Mata: email: paleomariomm@gmail.com ...
0
votes
0answers
34 views

I created a page, how can I place the text at the bottom right of the page [closed]

I have created this template for a page. But the plae of the text is set as in the center. How can I force the text to be at the bottom-right of the page ? %--------------------------------------------...
0
votes
0answers
32 views

Add header when the table is generating a new page (PDFtolatex for invoice)

I will try to explain my problem as precise as I can, feel free to ask me more details: I'm currently working on a invoice generator with LateX and template toolkit, I know it's not optimal but it's ...
0
votes
1answer
47 views

Design layout, abstract and table of contents numbering

I have problem with numbering the pages, the Zusammenfassung and Inhaltsverzeichnis should have the roman numbering on the bottom right, but there is non. See image: Plus, I want all my sections to ...
0
votes
1answer
56 views

Change header show the section

I want to change the head area. As soon as I change the head area I got the following error Undefined control sequence. The compiler is having trouble understanding a command you have used. Check ...
0
votes
0answers
29 views

How to undo the header and footer created with pdflatex

I created pdf header and footer with following commands \documentclass{article} \RequirePackage[a4paper,top=2cm,left=2cm,right=2cm,bottom=1.5cm]{geometry} \usepackage{url} \usepackage{hyperref} \...
2
votes
1answer
48 views

hrule in footer, alignment

This is probably some basic stuff, but I can't find the proper way to align a simple \hrule on the right side of the page, above the page number. \starttext \setuppagenumbering[location={footer,right}...
0
votes
0answers
37 views

LaTeX book chapter headings with first/last item remark

Prerequisites xelatex, in the shell only. book document style Goal The goal is that in the heading of each page where book naturally places the chapter name above a horizontal rule, either below ...
0
votes
0answers
15 views

Related/Linked sections cross-referencing

I apologize in advance in case this question is deemed to be too broad or unclear. (First-timer here, sorry!) I'm looking for a nice way to rewrite my math notes in an "interconnected" ...
0
votes
0answers
9 views

Ref. \fancyhdr problems from maximum.shredder: before PART I title, how do i deleting the "Acknowledgments" header carryover?

Having the bleed over "Acknowledgements" header, it would be nice to replace with a centered PART I:
5
votes
1answer
51 views

Increase header/footer margin with scrlayer-scrpage

I want to edit header/footer of my document with the scrlayer-scrpage package. Here's the MWE: \documentclass[english,BCOR=6mm,cdgeometry=twoside,DIV=12,open=right,headsepline]{tudscrbook} \usepackage{...
1
vote
1answer
52 views

Adjust header and footer width

Here's the MWE: \documentclass[a4paper,twoside=true,11pt,openright]{book} % packages: \usepackage{blindtext} \usepackage{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \addtolength{\...
1
vote
0answers
27 views

Bibliography pushes header upwards

I'm relatively new to LaTeX and I now encounter an issue where I'm not sure what exactly causes it. I have my thesis written in the book class and have added a relatively simple page header using ...
0
votes
1answer
37 views

For Article: How do you use fancy header/footer style for first page and start new header and footer sequence on the second page?

I have come across posts on how to not use fancy header at all after first page, but I want to use fancy header style specific to the first page of the article and then the pages following will have ...
1
vote
2answers
33 views

Vertical alignment of headers and footers with fancyhdr

I have seen this, this and this questions and tried all the solutions in the answers. None of them has worked so far. \documentclass[11pt,a4paper]{article} \usepackage[ngerman]{babel} \usepackage{...
3
votes
1answer
48 views

Running heads with amsbook

I'm trying to prepare a book with chapters by many different authors, using the amsbook class, and the amsbooka package to handle the author names The amsbooka class documentation claims that: When ...
1
vote
2answers
119 views

Best way to simultaneously specify distance between header line and chapter name and also between end of one chapter and beginning of another one

I have some document which contains header line and I also specified that chapters can begin on same page Minimalized example below: % !TeX program = xelatex \documentclass[10pt,a4paper,twoside]{...
1
vote
2answers
58 views

Model as shown in the image

What code do I use to place this model as shown in the image? "April 2007" below the page. So it stays on every page of the document. \documentclass[a4paper,12pt]{article} \usepackage[utf8]{...
0
votes
2answers
44 views

Month in Footer

I'm creating a photo book and want the month on the outside (away from binding) bottom corner of each page. It seems the package fancyhdr wants to put the same footer on each page. How do I get it to ...
3
votes
2answers
42 views

Make header push down instead of up on second line

Consider this document with a long header: \documentclass[twoside=semi]{scrartcl} \usepackage{scrlayer-scrpage} \usepackage{lipsum} \rohead{This is a really long header, it's so long it even needs a ...
2
votes
1answer
30 views

Custom Footers for each group of pages using simple commands

I'm taking notes for my classes, and it would be nice to include the session number and date in the footer, I'm aware of custom footers using fancyhdr (custom footer for each page, chapter), but I was ...
0
votes
1answer
21 views

Line with a changing width in the footer

Is there a way to format the horizontal line in the footer so that it looks like this one? I'm using the package fancyhdr to format the header and the footer. Thank you!
-2
votes
2answers
123 views

How to make a complex heading with two lines like this?

I made a very complex in MS word, and I want to move it into LaTeX, how to it? It is composed of two lines, one is big font, another is small font. Can we only use fancyhdr to draw a two-line header? ...
1
vote
1answer
41 views

Create footer only on one page in Koma-script

In the documentclass scrartcl, I’m creating a command to renew the header and footer mid-document. The header should not show on the page on which the command is issued, but on all other pages. This ...
1
vote
0answers
29 views

Latex Beamer: Adjust template to display dots per subsection- not page

I really want to use this beamer template: https://de.overleaf.com/latex/templates/ytu-beamer-theme/ntqbsbgpcwjz Using this, results in the following header So, using this template gives me a header ...
0
votes
1answer
41 views

change chaptermark in combination with frontmatter, mainmatter

I am trying to change the chaptermark (and sectionmark) in my book class document. I want to disable uppercase and to not display \chaptername. I found some explanations on a wiki page. According to ...
2
votes
1answer
127 views

Document header with tikz

until now I used drawio to do the header's of some of my documents. I would like to shift to tikz, could anyone help me to do so ? Below what I have done. It's not perfect but it's a start. Help ...
0
votes
1answer
55 views

Colorbox in fancyhdr

I was thinking if the marks (with extramarks) done in theorem-defined environments could be adapted to the different styles I created (theorem, definition, remark). My idea would be to make appear ...
0
votes
1answer
21 views

Customize First Page Style Fancyhdr: Error ! File ended while scanning use of \f@nch@pagestyle

I tried to answer my question with this one, but I get error messages and can’t figure it out. MWE: \documentclass[12pt,a4paper, twoside]{article} \usepackage[utf8]{inputenc} \usepackage[english]{...
1
vote
0answers
25 views

Latex, small letters in running chapter title, book [duplicate]

Say I have the chapter titled "My favorite equation $E=mc^2$", document class book. How do I prevent Latex from capitalizing the mc^2 in the running title? That is I want the running title ...
1
vote
1answer
39 views

How to add a horizontal line below section titles in the header area of a memoir class document

As you can see the memoir manual contains a separator line between the header and the main text with the header displaying the section title. How to add that thing in my document. I have played around ...
1
vote
0answers
16 views

Adjusting the header on the second page of my TOC [closed]

I've defined my table of contents, list of equations, list of figures and list of tables. My list of tables is now on the second page of the contents, but then a header appears, which I want gone. But ...

1
2 3 4 5
75