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

270 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

Replicating engineering computation pad

Motivation: I am starting some engineering courses, and we are required to work out our problems on engineering computation pads. I find that a majority of the time I spend on my homework problems is ...
4
votes
0answers
126 views

Is there a list environment with (double sided) page headers?

This question is an extension of Headers and footers for listing environment?: I have a list of objects (like tables or simply boxes) that should be vertically stacked (so it's a list) and is longer ...
3
votes
1answer
150 views

Elsarticle problem - overlapping footer when using lineno

I am having issues with the elsarticle latex template. My abstract is long (over 2 pages due to spacing and font size which is designated by the journal), and when I use lineno the footer becomes ...
3
votes
0answers
239 views

Correct counting of paragraph number is header/footer

I want to \usepackage{fancyhdr} to list paragraph numbers in the header/footer of a document. Most of the time this works fine but when a new page starts with a paragraph, the number is also listed on ...
2
votes
1answer
46 views

Removing the title from the frame footnote in personalized Montpellier beamer

I'm preparing a presentation using Montpellier beamer theme. I tried to personalize the title frame in order to add a footline. The problem with the following code is that the title is appearing in ...
2
votes
0answers
30 views

Cleveref in section's name does not work in book header

I have a book format document with a theorem's reference in one of the section names. I use cleveref to make this reference, it shows perfectly in the section's name and even the table of contents, ...
2
votes
0answers
31 views

How to make sure the header is not “floating”?

In a classicthesis document with twopages, I have chapters, and they appear in the header. However for one of them, the header over few pages is vertically shifted. All the other pages have the ...
2
votes
1answer
98 views

alignment of \cfoot, inserting spaces in \ifoot with vertical line

I have trouble getting my footer right. I want it to look as follows: In ifoot, with the vertikal line on the left side being a continuous one: | Name | PLZ Ort | Straße in cfoot, horicontally ...
2
votes
0answers
24 views

List all usages of an environment at the top of every page on which it is included

I have a question environment defined as follows: \newenvironment{question}[1]{ \vspace{.10in} {\bf #1} } The argument is the "question name". I would now like to include the name of every ...
2
votes
0answers
48 views

Change page number color on some chapter pages only

I'm trying to insert a number of colored pages in my document, and I would like to change the color of the page number on those pages. I'm using fancyhdr to try to change the text color, but it does ...
2
votes
0answers
63 views

LaTeX: How can I change colors according to chapter number in Memoir?

I would like to change the color of some page elements (rules, headers...) depending on the chapter number, like first chapter, color blue, second, color green... and cycle after four chapters; this ...
2
votes
0answers
145 views

How to force fancyhdr to mark the subsection on a page?

I am trying to use fancyhdr to create headings on some notes I am writing (article class, one sided). I would like to have the section name and number on the left and the subsection name and number on ...
2
votes
2answers
172 views

Space between headers and title Content in ToC

I was looking all day for some alternative in ToC space between header and title Content. I found \setlength\cftaftertoctitleskip, but it's useless in my case cause I already use package \fancyhd and \...
2
votes
0answers
116 views

How to modify the header to insert a long thesis title?

I'm writing my master thesis on Overleaf, using the template toptesi (https://it.sharelatex.com/templates/thesis/italian-thesis-template-(toptesi)). I'm using the pattern: \documentclass[12pt,twoside,...
2
votes
0answers
126 views

First Pages only on Odd Pages with roman Page Numbers

I want to have the first pages (title, abstract, toc) of my bachelor thesis on right (odd) pages. The rest of the thesis should follow the twoside layout of scrreprt with arabic numbers. I ...
2
votes
0answers
77 views

Remove header/footer on odd page

I'm compiling a bilingual document using the \parallel package, with headers and footers using the \fancyhdr package. I would like a couple of pages without header and footer to separate sections of ...
2
votes
0answers
76 views

reledmac: \eledsection* in Header?

A simple question: Is it possible to use the \eledsection* in the Header as you would e.g. with KOMA's \addsec or as it would appear with a numbered section (\eledsection)? Thanks for any help! \...
2
votes
0answers
67 views

Header image with automatically adjusted margin

I am producing a two-column document that will have full page-width header images on various pages. \documentclass[12pt,a4paper,twocolumn]{article} \usepackage{graphicx,tikz,lipsum,fancyhdr} \...
2
votes
0answers
700 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
0answers
70 views

(tikzpagenodes) Odd page header area east not the same depending on the order of standalone and changepage packages

The following MWE: \documentclass{book} \usepackage{standalone} \usepackage{changepage} \usepackage{tikzpagenodes} \usepackage{lipsum} % \newcommand\oddpageheadrule {% \tikz[remember picture,...
2
votes
0answers
176 views

How to count the space around lines to align lines vertically on a grid?

I'm trying to create a XeTeX class which aligns text vertically on a grid. What I'm trying to achieve is layout on the left (created in InDesign), and what I'm generating now is on the right (the ...
1
vote
0answers
18 views

Modifying Footline and First Page

I want to modify the footline in the Luebeck theme by displaying my institution instead of the title. Also I want to display the name of the university where I am presenting instead of my parent ...
1
vote
0answers
13 views

How to reduce header size when importing a template?

How to reduce header size when importing a template? both for individual slides and in general \newif\ifhandout \input{mytalk11} \begin{document} \begin{frame}{sfasfdas} adfsfd \end{frame} \end{...
1
vote
2answers
25 views

Add Copyright Footer in left column of a IEEE conference paper

I just want to add a copyright footer shown in the figure (along with that dashed line) to the left column of the 1st page of my conference, like the one shown in the figure. I tried with \thanks and ...
1
vote
0answers
19 views

Beamer Heading Break New Line

I have the following code with many sections: \documentclass{beamer} \usepackage{apresentacao} \usepackage{graphicx} \usepackage{ragged2e} \setbeamercovered{highly dynamic} \newcounter{saveenumi} \...
1
vote
0answers
29 views

Sleek huge chapter header?

I have been trying to customise the titles of my chapter as being flushed to the right, with the chapter number in size 96pt, above the chapter name (huge), specifically like this TU Delft template my ...
1
vote
0answers
29 views

exam/geometry: First footer is shifted below when setting geometry using \AtBeginDocument

This answer does the job for placing the header right. However, the first footer is unknowingly shifted way much down. So, why does \AtBeginDocument{\settototalheight\headerTotalHeight{\headerContents}...
1
vote
0answers
23 views

changing the position and fontsize of the footnote in beamer

I created a slide template for a presentation in LaTex using Beamer package. I set some footnotes to be displayed such as logo and some text (a title and the name of university). At the moment in the ...
1
vote
1answer
38 views

Header only on first page, smaller margins on subsequent pages with multicol and landscape

My current code is below. I want the header in this landscape document only on the first page, and not on any subsequent pages. Furthermore, I want to remove the big gap that happens when I suppress ...
1
vote
0answers
35 views

Option `headwidth=textwithmargin` of `scrlayer-scrpage` package for asymmetric page layouts

In the following example I am trying to extend the width of the header and the footer of the KOMA-Script class scrbook to include the width of the margin column: \documentclass{scrbook} \usepackage{...
1
vote
0answers
21 views

Beamer footline problem

I notice that in the footline of all the slides of my thesis (above the two blue lines) a white writing appears (which seems to be my name) as if there was an additional footline that I hadn't noticed....
1
vote
0answers
25 views

LaTeX problem with the fancyheader package

Relatively new LaTeX-user here. I have been running into a lot of problems with the fancyhdr package. The fancyhdr commands do not seem as if they are registering at all but the code runs into no ...
1
vote
0answers
40 views

Editing footline of the title page in CambridgeUS template

I am trying to eliminate all the text in the footline of the title page in CambridgeUS beamer template. I do not want to use a plain frame. I tried to modify the template using \setbeamertemplate, but ...
1
vote
2answers
38 views

I need help in getting chapter title (without number) to display in header

I want my two-sided pages to have different headers: on the left (even) side, the title of the book, and on the right (odd) side, the chapter title, without number. (This is pretty normal for non-...
1
vote
0answers
28 views

How to display section only using sectionmark

I'm using \sectionmark in my document. How can I hide section text in the main body and display only the \sectionmark in the header. As the repetition can be seen in the attached image. \documentclass{...
1
vote
0answers
24 views

A theorem with no body text nevertheless generates a “holder” for the empty body? See below

%I \documentclass[ aspectratio = 1610 ]{beamer} \usepackage{amsthm} \usepackage{amsmath} \usetheme{Frankfurt} \makeatletter \setbeamertemplate{theorem begin}{% \begin{\inserttheoremblockenv}%...
1
vote
1answer
40 views

I have two questions about formatting a definition in latex/beamer. Please run the short document below

\documentclass[ aspectratio = 1610 ]{beamer} \usepackage{amsthm} \usepackage{amsmath} \usetheme{Frankfurt} \usecolortheme{wolverine} \begin{document} \def\myemph{\textcolor [rgb]{.7,1,1 }} . \...
1
vote
0answers
52 views

Need advice on custom class

First thank you for all the stuff I can read out there. It is so helful that I wouldn't have been able to do my first class without it. Here is my very small work. I would like your advice. What do ...
1
vote
1answer
39 views

Changing either the header or page number of a single page?

Maybe a bit unoriginal, but I'd like to change a single page number or header on a page (page 42 in this case) to say "Answer to the Ultimate Question of Life, the Universe, and Everything". If the ...
1
vote
0answers
23 views

Bibliography with incorrect page number place

Hello I'm new using book class an I have problem adapting the format of thesis to this class, I need the page number on the upper right corner in the main body of the work and in the bibliography ...
1
vote
0answers
39 views

Customize fncychap head

I am currently formating my Phd thesis for book publication and using the Lenny style from fncychap package for my chapter headings. However, I am struggling with the customization of the heads of the ...
1
vote
0answers
35 views

Header and footer issues in article

I would like to get header at RO and LE positions; footer at LE only, but in my code it is not working. MWE: \documentclass[12pt,a4paper]{article} \usepackage{amssymb,amsmath} \usepackage{...
1
vote
0answers
29 views

How to manipulate the header manually when using fancyhdr?

I would like to manipulate my header inside a chapter. So for example I want to add something like "Test" to the header, which should only be displayed on that single page. I have tried to use \rhead{}...
1
vote
0answers
50 views

Header “List of Tables” in the following page

I have written my thesis using \documentclass[a4paper,12pt,twoside, openany]{ThesisStyle}, where ThesisStyle is a custom documentclass. After compiling, the header of List of Tables appears in the ...
1
vote
0answers
105 views

Creating separate title page for each new section

I am new to LaTeX and I am writing my thesis atm. I want to have a separate title page for each new section where it states the Section number, title and a few lines explaining the contents of the ...
1
vote
0answers
59 views

reading multi-row header from csv data

I have a csv file that contains signal points that I would like to plot with pgfplots. My problem is that I formatted the Matlab export in a way so that the units of each signal is written under the ...
1
vote
1answer
22 views

Beamer footline breaks in Tabular (no “\pause error”)

There is a strange footline break when (apperantly) the last row of a tabular is printed. I know such footline breaks from tikz, where one just has to put an "\onslide <1->" right before the "\end{...
1
vote
0answers
79 views

dictionary header for subsections

I want to achieve a dictionary header for the subsections of a page (not for the whole section). Imagine the header should looks like this: subsectionname 1.1 - subsectionname 1.2 ...
1
vote
1answer
72 views

KOMA-Script “pageheadfoot” font not taking \sffamily

I've been typing a document for a few months now and I'm using the class scrreprt. I've just noticed that the header font, which used to be sans serif, has reverted back to serif because the koma font ...
1
vote
1answer
53 views

Custom Template with header and a line over the entire page

I am trying to replicate a template on MS word using LaTeX. The template is as shown in the picture below and must be applied to the entire document. So far I succeeded to either have the text in ...

1
2 3 4 5 6