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

How to only show some subsections in running header; otherwise, only chapters and sections

I am using the fancyhdr package. I have chapters, sections, subsections, and subsubsections to my book. I currently show chapters and sections on alternating pages in the running headers. But in ...
0
votes
0answers
15 views

Some problems rotating single pages

Good afternoon, I need to rotate just a few pages of a document I am writing and I firstly experimented this problem: \usepackage{lscape} did not rotate the page at all but the content inside it. ...
0
votes
0answers
18 views

Onehalfspacing not in header – latex beamer

I would like to use onehalfspacing for the slides, but not for the header. Before an update the spacing was ONLY in the main part of the document, but now the spacing is also in the heading. In the ...
1
vote
2answers
48 views

Removing the header without removing page numbering

I'm using documentclass article. I want the page number to appear on the top-right corner and heading on the top-left corner. Though I want page numbering in every page, I don't want the heading on ...
0
votes
1answer
71 views

How to reserve the right space for bigger headlines and footlines?

I set the headline and footline size to 2cm and reduced the \vsize by 4cm. But the footer does not fit the page. \pdfpagewidth=10cm \pdfpageheight=10cm \hsize=\pdfpagewidth \vsize=\pdfpageheight \...
1
vote
2answers
31 views

Doublecounters in header, first and last combination

For a > 2000 page book with topics and verses, I want to show on the header, for the left page, the first verse # and the corresponding topic #. For the right page, I want to show the last topic # ...
0
votes
1answer
35 views

scrartcl - customizing the header

I am writing a thesis using the scrartcl-class (see MWE below). There are three thing I do not achieve: If a new section starts, I do not want a headline or header-content to be shown. But it appears ...
0
votes
1answer
57 views

curious, layout problem package: titlesec

My problem is the following. I'm currently working on my Bachelor thesis with Overleaf. I'm trying to do the same layout as a friend of mine. But even if I copy his project completly as it is. I get ...
0
votes
1answer
37 views

Use Geometry Package for custom page margin settings after header

I want to use geometry package for custom page margin setting after the header. Currently my documents looks like I want to use geometry package to expand EDUCATION section so it should look like as ...
4
votes
2answers
110 views

Resume - Anchor node to top left and other node below it

I am trying to build a resume using latex. I am trying to replicate some stuff done in MS word to latex. Below is the image of what I am trying to replicate So far I've used the following code \...
3
votes
1answer
43 views

scrlayer-scrpage: Have headsepline intersect, but not strike through, text

I would like to have the header text be intersected by the headsepline. To this end, I though I could put the header text in a colorbox (normally white, I made it gray in the MWE to make it visible) ...
0
votes
0answers
34 views

How do I put a Header and Footer on the first page of a letter?

So the header and footer works on every other page but I cannot for the life of me figure out how to get it on the first page. This is all I have that isn't just text related. \documentclass[12pt,...
2
votes
1answer
34 views

How to achieve a centered header over right-aligned columns of numbers when the header is long relative to the width of the column of numbers

I have difficulties to produce a relatively wided centered header entry over a relatively narrow column of right-aligned numbers. The other way around it works fine with the makecell package as shown ...
2
votes
2answers
85 views

Tikzmark Annotations Overlapping with Footer

Currently, my tikzmark annotations overlap with my footer defined by the fancyhdr package. Currently I have my equation with the annotation defined like \begin{equation} \tikzmarknode{A}{2} \end{...
1
vote
1answer
38 views

Fancyhdr for reports

I want to use fancyhdr for the document class report. I want the page number to be on the left side for even page numbers and on the right for odd numbers. On the other side I want the chapter number. ...
0
votes
0answers
30 views

Section in header not shown

I am trying to display the name of the section as the header on each page of my thesis. I am using \documentclass[a4paper, 11pt, oneside]{Thesis} \usepackage{fancyhdr} \pagestyle{fancy} \...
2
votes
1answer
85 views

Long tables mess up my headers. Why?

This is my first post. I hope to contribute to this great community as soon as possible but right now I need help... I'm writing documents that need both a large header with tables and long-ish ...
1
vote
1answer
47 views

Error in Chead and Cfoot

I am writing my master thesis. I am facing the following errors: LaTeX Error: Command \chead already defined. Or name \end... illegal, see p.192 of the manual. /usr/local/texlive/2018/texmf-...
0
votes
0answers
56 views

Add a logo to tikz fancyhead and footer

USING OverLeaf I would like to add a Logo at right top corner in the header. 1 cm from the right edge. And a text in the footer 1 cm from the left edge. I tried using rhead. But I am very new to ...
1
vote
0answers
45 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 ...
0
votes
1answer
46 views

Formatting a table with multiple headers like this?

Please see below for the description!
0
votes
0answers
17 views

my header gets disappear from 2nd page onwards when i add page number

The document content is as follows: \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \makeatletter \let\old@ps@headings\ps@headings \let\old@ps@IEEEtitlepagestyle\ps@...
2
votes
0answers
45 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 ...
0
votes
1answer
41 views

LaTeX, fancyhdr how to add section name to header

I am using fancyhdr package and unfortunately i am not able to put section name in header inside a mini page in my own defined \pagestyle. For most pages i use \pagestyle{fancy}, but i have one page ...
0
votes
0answers
7 views

Report title changes to the last subsection index

I'm writing a document for my notes using the report document class for various reasons. Here's a MRE: \documentclass[10pt, spanish]{report} \usepackage[spanish]{babel} \selectlanguage{spanish} \...
0
votes
0answers
9 views

Customising headers and footers in ToC pages

In my book class document, the page numbers appear as footers in the corner, that is as \fancyfoot[LE,RO]{\thepage}. However, the page numbers appear as headers in the pages containing the table of ...
0
votes
0answers
21 views

Text overlapping on footer (text in a frame)

I have a problem to which I cannot find a solution: I try to make kind of a corpus of documents with Latex by having each document in a frame. For small documents there is no problem but for those ...
1
vote
2answers
50 views

Rotated multi-column header in booktabs

I want to gernerate a cross table with booktabs. Therfore, I have 2 data sets I want to compare to each other. The table should look like the pic below but I do not get it to write the vertical ...
0
votes
0answers
31 views

I would like to display header on each page

I am not able to get a header on each page of my manuscript. But when I comment these two lines just after \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \makeatletter \let\old@ps@...
0
votes
0answers
19 views

how i can shrink the space between title and top of page? [closed]

\documentclass[12pt,notitlepage]{thesis} \begin{document} {\normalfont\centering\Large\bfseries}{\filcenter{\MakeUppercase{\textbf{\chaptertitlename}}\@Chapter\ \thechapter}}{16pt}{\Large} \end{...
0
votes
1answer
24 views

Issues with header for float-only pages

I'm having issues with headers in float-only pages: the header becomes all uppercase, the page number is moved from the footer to the header, and the side in which the section/subsection should be ...
1
vote
1answer
15 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
1answer
44 views

Extra vertical space in header when using scrlayer-scrpage

I am trying to create a custom header including an image with a certain height. In an recent project, I have used the fancyhdr which worked pretty well. However, as the usage of fancyhdr together with ...
0
votes
1answer
23 views

Includehead loaded and zero headheight by default

I don't know why i'm getting the current layout This is my whole preamble \documentclass[spanish,mexico,11pt]{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \usepackage{babel} \...
3
votes
2answers
80 views

Coloured chapter page markers

I've been experimenting with coloured swatches around the page number to indicate the chapter using KOMA and TikZ; each chapter also has an em-dash above the text in the same colour as a stylistic ...
0
votes
0answers
20 views

Duplicate header when using input with author and institute element

I have an issue with a duplicate header. I'm using lyx 2.3.2 and a beamer template with no additional modules. The issues lies in including via 'input' a lyx document containing only author, institute ...
0
votes
0answers
15 views

How I can delete the line at top of page , and apply this work to all pages of my document [duplicate]

\documentclass[12pt]{thesis} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead[C]{\thepage} \begin{document} My text. \end{document}
0
votes
0answers
26 views

How can I put the number of page at top and center of page without header

\addcontentsline{toc}{chapter}{\\Committee Decision} \begin{center} \fontsize{14}{10}\selectfont \thispagestyle{headings} % \Large\textbf{ Committee Decision} % \\ % \bigskip \textbf{\...
0
votes
1answer
23 views

How to change cover slide font size without affecting slide footer font size

I'm using the template from https://www.overleaf.com/latex/templates/uib-beamer-theme/ddsnzprthmfv. I noticed that the default font size for the title, subtitle and author's affiliations on the cover ...
0
votes
0answers
120 views

How can I remove the running header from acm sigconf template?

I use the acm sigconf template and found a problem: from the second page of my generated PDF, at the top of every page there is a header, with conference information, title or authors' names. (e.g. ...
0
votes
1answer
41 views

\markboth can't tell right and left?

https://stepdatabase.maths.org/database/db/88/88-S2.tex Here is an example file. I am looking at the use of \markboth. Unless I am mistaken, and there is another defition linked with headings, \...
1
vote
1answer
35 views

Modifying headers and footers of a double-sided document with Koma-script “srcbook”

I am writing my thesis, I am using the KOMA-class scrbook but I got stuck while changing the style of the document. First, I have a problem with the headers and footers. The format that I want ...
1
vote
0answers
71 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 ...
0
votes
1answer
34 views

wrong header referencing using \markboth{}{} for dictionary

I am trying to implement a dictionary template for my own dictionary and I have a hard time with getting the headers right. In a lot of dictionaries, the header contains the first and the last entry ...
0
votes
0answers
30 views

Move page number location on the first page of index to top right

I am using heading page style for my thesis. As a requirement, the page numbers must be consistently at top-right for all pages. My thesis has an index at the end. The page number on the first page ...
0
votes
1answer
33 views

Page Numbers in Header -> Use Footer Space

I successfully moved the page numbers from the footer to the header of each page using scrlayer-scrpage. Now there is some "free" space on the bottom of each page. i) Is it possible to reclaim that ...
2
votes
0answers
22 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 ...
2
votes
1answer
29 views

Starting a section in a new page with “plain”-style with `amsart'

With amsart, I am not able to force (but manually inserting newpage before thesection in question) an exceptional page style for a start of section. In the MWE below, I tried to force plain-style, but ...
1
vote
2answers
32 views

How do I keep the header on the first page?

I am using this template and would like to make it so that the header is only on the first page. Additionally, how to make it so that the body of the text is 1 inch from the top for the other pages? ...
0
votes
1answer
37 views

How to insert a book title in a header?

I'd like to insert in my headers a book title on the odd page and a chapter title on the even page. How could I do that? This is my MWE : \documentclass[a4paper,12pt]{book} \usepackage{lipsum} \...

1 2 3 4 5 65