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

Showing two page numbers [one in centre and one left] while using

I'm a new Latex user. I've got a document where I'd like to have the section name and page number in the footer. I'm using the \pagestyle{fancy} \lhead{Document short title} \rhead{Other title} ...
0
votes
1answer
38 views

Distance between top (or bottom) margin and header (or footer)

I am preparing a camera-ready book. My publisher has given me a stylesheet that is based on a Microsoft Word template. I am having trouble setting the exact measurements of the sheet with the geometry ...
0
votes
0answers
36 views

removing header from bibliography

I am new to latex and writing my thesis. I am using biblatex for bibliography and when i print bibliography, the header shows the header of last chapter which is before bibliography. I want to exclude ...
0
votes
2answers
40 views

Lettrine with fwlw packages

I need combine lettrine with fwlw package. But if into \NextWordBox is text with lettrined letter, it have to be usual text, without lettrining. My MWE: \documentclass{article} \usepackage{...
1
vote
1answer
39 views

Running head wrong in endnotes chapter when using enotez package

I use the enotez package (current version, 0.9a) for endnotes. When I print the endnotes (using \printendnotes), the running head of the endnotes chapter contains the name of the previous chapter ...
1
vote
1answer
63 views

Why catcode of dollar symbol is 12 in header and footer?

Normally, the catcode of dollar symbol ($) is 3 in text. But I found that the catcode of $ is 12 in the header and footer, and $ can still be used as math shift. Example: \documentclass{article} \...
0
votes
3answers
66 views

Table of contents to take full name of sections while header and footer take shorter version of them

I am creating my thesis using LaTeX where I used fancyhdr for defining my header and footer globally. What I am trying to attain are: Print shorter version of my current Chapter name as header on ...
1
vote
3answers
37 views

How do I get rid of the different horizontal distances

between page boarder and Header respectively normal text? \documentclass[a4paper,12pt,oneside]{book} \usepackage{titlesec} \titleformat{\chapter}[hang] {\normalfont\Large\bfseries}{ ...
0
votes
0answers
40 views

Header and foot of poster

someone could help me please ... I was asked to make a latex poster. With header and foot of poster 2 but with sections, columns and pictures of the first.The templates are in to see in overleaf... ...
1
vote
0answers
49 views

How to reproduce this layout?

I'd like to reproduce this layout (especially the sections + the bottom and the top parts of the paper). My code: \documentclass[a4paper, french, 12pt]{article} \usepackage{amsfonts} \usepackage{...
1
vote
0answers
26 views

Tikz package altering footer

I had two almost identical documents that were done using the exam class. The one difference between the documents was the tikz package. The document with the tikz package had the page numbers where I ...
-1
votes
0answers
53 views

Problem in shape header [duplicate]

How do I design this header? I want to name one of the pages in the book's name and the next page is chapter! My main problem is drawing a shape with TikZ. Part of the code I wrote is as follows: \...
5
votes
2answers
137 views

Help replicating this Document Design

I want to replicate this document layout. I tried to reach the author, but did not get any positive response. What I got so far is the header. But mine is statical and I want a dynamic header (...
1
vote
0answers
31 views

Problem in displaying correct header notes

I am currently facing in one of the page where the last line ended by only chapter, in that page its unable to show the chapter number in the header, , every chpater number that we see is the verse ...
0
votes
1answer
22 views

How to prevent a word in chapter name from capitalizing in footer globally defined by fancyhdr?

I am trying to write my thesis in LaTeX. My problem is, I have defined chapter and section titles as header and footer using package fancyhdr. I have certain words in chapter and section titles (...
3
votes
3answers
82 views

How can I do to correct styles in chapter names with equations?

Edited I want to make the name written in mathematical mode match the style title of the section. The first lines of my code are \documentclass[pdftex,12pt,twoside,a4paper]{report} \usepackage[utf8]...
-1
votes
1answer
42 views

i want to keep the text “ school of civil engineering,Rgmcet,Nandyal” AS FOOTER WHAT TO DO? [closed]

the picture shows the footer in the ms word 2013. i need to get the same for my document in latex.
0
votes
1answer
19 views

Custom footer on first page (using `hook')

I have the following MWE: \documentclass[12pt, twoside]{memoir} \usepackage[utf8]{inputenc} \usepackage[margin=1.5in]{geometry} \setlength{\parindent}{0pt} % space at start of new paragraph \...
0
votes
1answer
31 views

How to display own custom variable in header?

I am trying to put my cuurent chapter number in header format as Book Chapter:Vese , If Book=Genesis Chapter=5 and Verse=24 then in header it should show as Genesis 5:24, I was not able to show the ...
1
vote
1answer
46 views

Custom Footer on Each Included PDF

I'm working on a document that's essentially a collection of PDFs (about 55). Here's what I've got so far: \documentclass[12pt]{article} \usepackage[letterpaper,margin=1in,landscape]{geometry} \...
0
votes
0answers
23 views

Fancyhead selectors do not work correctly

I'm using fancyhdr package to add in the header of my book the title of chapter and the page number. I would like on the even pages the page number to be on the left, whereas the chapter title on the ...
1
vote
2answers
41 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 \...
0
votes
2answers
41 views

Remove Running Headers Temporarily: scrbook, Koma Class

SCRBook, Koma-class. I need to remove running headers (primarily the reference to subsections, since there aren't any) in the introduction. Is there a way to turn the headers off, and then back on? ...
1
vote
1answer
42 views

How to find out the page span of a section

I have several short documents out of which I want to build a larger document, each smaller document corresponding to a section in the larger document. I want to set the footer to contain the name of ...
0
votes
0answers
23 views

Nomenclature longtable error ; nomentbl.ist file caption

I am putting together my thesis, and I making my nomenclature page. I am editing the nomenclature .ist file from the nomentbl package (nomentbl.ist). I am editing it using standard longtable commands. ...
0
votes
0answers
66 views

RSC template fancyhdr doesn't respond well!

I am using RSC latex template (https://www.latextemplates.com/template/royal-society-of-chemistry) to write my research article using Texliv and the margin at bottom is not well aligned (see image ...
0
votes
3answers
65 views

wide table in landscape overlaps header

I have a wide table, which I want to put in landscape, like in the example below. But it overlaps with the page header! \documentclass[a4paper,12pt]{scrbook} \usepackage[pass]{geometry} \usepackage{...
1
vote
0answers
13 views

Beamer footline dissapears with onslide

When using \onslide<n> with 1<=n<=k the footline will only appear on the slide \onslide<k>. To fix this it was suggested by Joachim Breitner to add a \onslide<1-> at the end ...
0
votes
0answers
32 views

asymmetric treatmentof headers for facing pages

I work on a dictionary like index with longtable. Using /mark for setting headers on facing pages in a book manually I observe a strange asymmetry, which was explained in a blog as You should note ...
4
votes
1answer
55 views

Parallel text with headers

I use scrbook and have two chapter which are set as parallel text (with \usepackage{parallel} on opposing pages. The text for the chapter is \included. How to make headers on each page, such that the ...
6
votes
1answer
65 views

CircuiTikZ: How to create professional wiring diagram borders?

Assumed we have this Minimum Working Example (MWE): \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{tikzpicture}[circuit ee IEC] \draw (...
1
vote
0answers
25 views

\leftmark and \rightmark not working with paracol

I have a document with two texts shown side-by-side using paracol. I want to have a simple header style where the odd pages show the title of the first section on that page and the even pages show the ...
1
vote
1answer
30 views

fancyhdr is only appearing on the titlepage

I'm trying to get a small image into the footer of my report. I found online that the best way to do this is by using the fancyhdr package. I thus included following code into my main.text document, ...
0
votes
0answers
37 views

header and footer appear different on first page

I want to create a document that has the same header and footer on each page, but when compiling, the pdf shows a different header and footer on the first page as that which appears on the remaining ...
0
votes
1answer
11 views

Revtex: how can I reproduce the author name(s) somewhere other than in the title block, such as the footer?

I am using revtex4-1 for formatting notes that may become part of background for a journal paper later. Although I like the format in general, I find that it's hard to re-use elements from the title ...
0
votes
0answers
27 views

duplication of same citation in a slide with \footcite{} in Beamer

I am using class beamer to prepare scientific presentation. The myrefernces.bib is included using \addbibresource{}. In one slide, one citation is used twice using \footcite{}. The same citation ...
1
vote
1answer
35 views

How to bottom-align both \lfoot and \rfoot together using fancyhdr

LaTeX code: \documentclass{article} \usepackage[a6paper]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \lfoot{\Large Hello\\World} \rfoot{\Large \...
2
votes
2answers
106 views

How to make a booklike page using article class?

I'm writing some class notes in TeX and I would like to customize the page to make it look more like a book page, with those upper bars in the chapter, as shown in the template below. \documentclass[...
2
votes
1answer
26 views

Fancyhdr and Makeidx

Why doesn't the index have the same header/footer as the entire document? Here is an MWE: \documentclass{article} \usepackage{fancyhdr,imakeidx,lipsum} \makeindex \lhead{Lorem Ipsum} \rhead{...
0
votes
2answers
54 views

Chapter heading memoir: Line space, page number position, section font

1) Main question: How do I reduce the line space in the chapter heading? It seems to use that \setSingleSpace{1.3} \SingleSpacing I would like the chapter header to be single spaced with 1.0. ...
2
votes
1answer
38 views

header on both pages of ToC

I'm trying to add a header to most of my pages, all work, however the table of contents doesn't seem to work. Only the second page shows a header (not the first one). Code in my main file \...
1
vote
0answers
33 views

“output” — 2019/5/31 — 16:24 — page 1 — #1 appears on the very top of my paper

how do I remove “output” — 2019/5/31 — 16:24 — page 1 — #1? I'm using a template so I'm searching for the code that causes this. I'm using the following template (https://www.overleaf.com/latex/...
1
vote
1answer
33 views

Can we add the title of unnumbered chapter to header?

I want to add "PREFACE" in header of the chapter preface. Because the preface is unnumbered chapter, it cannot show in header. How to show it? \documentclass[a4paper,twoside,12pt]{book} \usepackage[...
1
vote
1answer
22 views

headsepline from KOMA Script doesn't show

After reading the official documentation I've tried to add a headsepline to a document but with much dismay so far. Here is a MWE: \documentclass[11pt, DIV=11, headings=small]{scrreprt} \usepackage[...
1
vote
0answers
30 views

Header space is different on pages after first [duplicate]

When I build the document the output is perfect, however, all other pages but the first have a consistent and significant amount of vertical spacing after the header that the first page does not have. ...
1
vote
1answer
24 views

Enlarge first page text area when using different footer for first/following pages in KOMA script

I want to configure a different footer for the first page of a letter than for the following pages. I am using the geometry-package to define the text area and the position of the footer for the ...
1
vote
1answer
56 views

How to add Chinese characters in header of thesis?

I am writing a thesis and using MasterDoctrolThesis.cls format. This format shows the chapter name and heading of the current page in the header. I want to add Chinese specific character on each page ...
0
votes
0answers
32 views

Empty the pagestyle for last parts of my report document

I have patched in my preamble the command \chapter with the package etoolbox so as to get a defined style for all my chapters \patchcmd{\chapter}{plain}{mystyle}{}{}. (I am using the fancyhdr package )...
1
vote
0answers
210 views

What has changed in LaTeX that means the RSC template no longer works

I've been having an issue with the RSC Article template that causes the first page to render fine, but every subsequent page to render incorrectly, with a large blank area at the top, and the rest of ...
2
votes
1answer
59 views

Change foot height for different page styles

I am using the scrlayer-scrpage package to set page head and foot differently for the first page and subsequent pages: The first page has only a foot, but no head, and all other pages only have a head,...