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
16 views

altacv: change head position and alignment

I use this altacv template. I have change photo position thanks to that and moved sidebar thanks to that. But the matter is that there is photo requirements for my cv: 4cm * 6cm size. I've added 7cm ...
0
votes
1answer
19 views

Short and long chapters titles

I would like to show the long chapter title in the TOC and the short title in the headers (which means I do not want the short title in the TOC). \documentclass{report} \usepackage{fancyhdr} \...
1
vote
0answers
21 views

Why is that when I define a pagestyle with fancyhdr it's shown different for the first page and the others?

So I am trying to define a style for a work I have to do and I wanted to put two images for header and the page number in the foot of each page. And my code seems to so, but the first page is shown ...
0
votes
3answers
56 views

Fancyhdr's extra dot in header for section title: How to remove?

I like to use Arabic numbers with a dot in front of section titles. So, for example 1. My section title instead of 1 My section title or something else. To achieve this, the syntactically simple ...
1
vote
1answer
29 views

How to remove footer in second page of TOC without removing the footer in all main pages?

My problem is having two pages of TOC and on the second page the footer exists, while on the first page there's no footer at all. I've tried adding some code like \cleardoublepage and \pagestyle{plain}...
1
vote
2answers
36 views

How to add sub header to a header

I currently have a table with 8 columns and 5 rows that I would like to add a sub column that goes from C4 to C6. For instance, this the code below of my table \usepackage{adjustbox} \begin{table}[...
0
votes
1answer
41 views

How to remove the extra margin Fancyhdr header introduced

I am trying to customize my resume template and I want to have contact info on every page of the document. I tried to use fancyhdr achieve this but however it introduced some extra space/margin on my ...
0
votes
0answers
25 views

Format of page header spanning two lines

I have a short question regarding the format of my page header. Unfortunately, the name of my chapter is rather long. If I add it to the page header, it spans over two lines (yet I do not want to use ...
0
votes
0answers
23 views

Header not displaying “Appendix A” when using titletoc, only displays A

By using \usepackage[titletoc]{appendix} I managed to make so that the appendix is displayed as: "Appendix A" and not "A" in the table of content. The problem is that now in my ...
1
vote
1answer
34 views

How to change the book style

I'm writing a big report for my university and i have a few questions for you. Here is the code of my "book" report : \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \...
0
votes
1answer
24 views

fancyhdr header left empty before paragraph 1.1 instead of showing chapter title

As the title suggest, fancyhdr leaves the header empty when a chapter start with a long text before the first paragraph (paragraph 1.1). I would like to set latex to shows the chapter title in these ...
0
votes
1answer
22 views

How can I fix the spacing/add spacing between fancyhdr and document? (with MWE)

I am trying to fix the spacing between my header (using fancyhdr) and the body text of my paper. I am using MacTeX / XeLaTeX. When a section title begins a page, it looks like this: On normal pages, ...
1
vote
1answer
38 views

Appendix typeset like a chapter with proper headings

I have searched for a solution but the closest I found was this, which doesn't quite solve my problem. I'm running TeXShop 3.96 on a Mac typesetting a large book (tufte-book). In the base document I ...
0
votes
1answer
35 views

I need help with the header [closed]

Hello everyone, how can I make that header? Thanks You
1
vote
1answer
22 views

Headers: double line after text

How can I create a header exactly like this?
1
vote
1answer
52 views

scrartcl / scrletter: applying pagestyle of firstpage to successive pages

\documentclass{scrartcl} \usepackage{lipsum} \usepackage{scrletter} \setkomavar{fromname}{Best son} \setkomavar{backaddress}{Smaland 3, Childrentown} \let\letterpagemark\pagemark \setkomavar{...
0
votes
0answers
27 views

Title of the chapter breaking page layout

this is probably a dumb issue but I don't know how to solve it in a clean and efficient way. I am writing my thesis with the standard book layout. The problem is that the title of one of the chapter ...
1
vote
1answer
35 views

Title in the second page

I need to put a title like (name, 2021) on the top of the second page of my abstract. My abstract has two pages so I know how to put anything before it but the second page has the remaining of the ...
2
votes
1answer
40 views

Remove standard page number placement, & new type of page number display

I am trying to get rid of the automatic page numbering in my LaTeX document. I am using article as my document class, and I think page numbering is automatically included here. But instead of this, I ...
2
votes
2answers
34 views

Table Multicolumn - centering is off

i am new to working with LaTeX and i am especially struggling with tables. Because i have really big tables in Excel and dont want to write all data (hundreds of entries) per hand i used the script &...
0
votes
0answers
25 views

Custom Header and Footer for IEEEtran.cls

I'm trying to make a .tex template using a derivatives of IEEEtran.cls (it's okay to modify IEEEtran.cls directly if needed). My problem is that I can't implement custom header and footer in the first ...
2
votes
1answer
43 views

Change text color for short title in Beamer?

This question is hopefully straightforward, but I've been unable to find an answer. How can I change the color of the "short title" in the footline of a Beamer slide? I've tried \...
2
votes
1answer
43 views

Why the chapter name and section name are not coming alternately in the header?

MWE: \documentclass[lang=en,11pt]{elegantbook} \usepackage{lipsum} \title{Book Title} \subtitle{Chapter and section at header alternatively} \author{No author name given} \institute{ABC} \date{...
0
votes
1answer
32 views

footnote in chapter header

I try to make a footnote within chapter headings. I found a solution, which I display in the minimal working example. It works almost perfectly. However, there is a zero instead of a heart before the ...
1
vote
1answer
22 views

Extramarks, Fancyhdr and theorem environment numbering

I'm trying to do something as shown in the photos (bottom of the post). Note that I only want to edit the numbers, not the other text in the header. In other words, in even pages I want to have the ...
0
votes
0answers
27 views

How to exclude Chapter 0 using fancyhdr

I am using the \documentclass{report}, and I want to change two things in my header and footer. The first relates to "\fancyfoot[L]{Chapter \thechapter}"; I want to start from Chapter 1, but ...
0
votes
1answer
30 views

Using URW Grotesk in headers for page numbers

I want to use URW Grotesk in the header. The format I want is: RE chapter name LE page number, LO section name, RO page number. I have modified the example given in fancyhdr documentation to change ...
2
votes
1answer
24 views

Change header/footer on chapter pages

I want to change the header/footer of every page starting with "chapter". Now the header and footer of chapter pages are empty, but I will change it to only the page number in the middle of ...
1
vote
1answer
14 views

Align page numbering beyond textwidth

I manage to put the page numbering beyond the limits of textwidth with this code. \documentclass[10pt]{book} \usepackage[utf8]{inputenc} \usepackage{showframe} \renewcommand*\ShowFrameColor{\color{red}...
0
votes
1answer
28 views

Table of contents, want page number top right and no “CONTENTS” header

I want my contents page to have the page number in the top right hand corner, but without the header saying "CONTENTS". I have tried multiple things I've found online, for example: 1. \...
1
vote
1answer
18 views

Beamer presentation: manually control the header text in Dresden theme

Is there a way to manually control the text that will be printed in the header, when using the \usetheme{Dresden} of \documentclass{beamer}? I noticed that this text is controlled by the strings ...
-1
votes
2answers
61 views

Need help keeping table in between text and footer without going to next page

I have two tables that I managed to put together on top of the other. I would like to have both tables under a set of text and then the remaining text on the next page. For example: Lorem ipsum dolor ...
1
vote
1answer
41 views

Title spreading across two pages; different title second page onwards

I'd like to create a LaTeX template that will yield the following PDF output: I tried various methods, but still I failed to spread the title header across the 2-page layout as shown above. I'd also ...
1
vote
1answer
50 views

scrlayer-scrpage: Changing text font in header

I'm using scrreprt for my class notes and changed the page layout to my likings. However firstly I would like to change the font of my page header to \mdseries to match the chapter prefix. I'm also ...
2
votes
1answer
35 views

fancyhead Left and Right [L] [R], not algining vertically with tabula

My head has "\leftmark \ \rightmark" as the left header, and a 2 row tabular as the right header. However these do not vertically align with each other. If i remove the tabular and just put ...
1
vote
0answers
38 views

Chapter Caption + Header: How do I recreate this beauty?

I just saw this beautiful caption: And then I saw this beautiful heading: The source code is here: https://www.overleaf.com/docs?snip_uri=http://www.latextemplates.com/templates/books/5/kaobook.zip ...
2
votes
1answer
42 views

Fancyhdr and TOC

I posted a question a couple of weeks ago about my header-footer design and now it looks right on point: thanks for that. I'm having, though, problems with my table of contents, because it has two ...
1
vote
3answers
41 views

scrlayer-scrpage: “Part No.” in header

I would like to have "Part 1", "Part 2" etc. in the lehead and the chapter title in the rohead. Getting the chapter title where I want it is no problem, neither is getting the word ...
1
vote
1answer
31 views

Better spacing in section title

Consider the following mwe: \documentclass[oneside]{book} \usepackage{fancyhdr} \renewcommand{\sectionmark}[1]{\markright{#1}} \begin{document} \section{This is a section title with a long final ...
0
votes
0answers
26 views

Do you have this template for writing article?

Here I find this is an interest template. If you have please kindly help to share for me.Like problem box theorem box and the first paper of Artical.
1
vote
1answer
38 views

Remove section name from header only from pages where the section starts

I would like to remove the section name from my header only on pages where a section starts. Also I would like to keep using scrlayer-scrpage because it's already implemented in my code. Of course I ...
7
votes
2answers
243 views

How do I change the page number size after a certain page number?

I use LaTeX to typeset my notes. At the beginning of each document, I have the following code which makes a duck at the bottom of the page holding a sign with the page number on it: \documentclass[...
1
vote
1answer
26 views

How can I add a text to each section's header?

I got the section's name changing properly on each header, though the other text section.subtitle remains the same on every page. How can I have another text in the header for each section? As dirty ...
3
votes
1answer
41 views

Conditional header appearance based on chapter name

I am converting a complex markdown document to pdf using pandoc. And need to add some formatting to it during the conversion. So I cannot have the styling and the data at the same place, means, I ...
1
vote
0answers
16 views

How to use \footermarginsize{} in Overleaf?

I am writing a letter and want to keep signature on the same page. In this question it is suggested to add \footermarginsize{10pt} line. However it works badly - Overleaf says that it is undefined ...
1
vote
2answers
83 views

My LaTeX header only affects the first page of each chapter, why?

I have made a heading for my final degree project where an image appears, my name and the name of the project, but it only appears on the first page of each chapter, in the others the heading that ...
4
votes
1answer
76 views

How to set author, title and date in KOMA script header (scrlayer-scrpage)?

How can I customize the header to have \author, the \title and the \date in the header and underline it? Since I use a Koma Script document class I want to avoid the fancyhdr package and use scrlayer-...
1
vote
1answer
40 views

Different headers for odd and even pages of onesided layout without fancyhdr

I am using the oneside layout of MastersDoctoralThesis. I want to give a different header for even and odd pages. The process should be simple with fancyhdr, however it not supported in this template, ...
0
votes
0answers
35 views

Different headers with longtable

I am trying to write a longtable in three pages, for each page I want to create a new header for the same table. is it possible? I only could change the header for first and second page, but when i ...
1
vote
1answer
33 views

how to customize my headers? [duplicate]

I want my part/section title to have underlined and be bald and increase its size. I can't find how to make the wanted setting stay as my default. How can I do this?

1
2 3 4 5
73