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

122 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Beamertheme-focus insert a graphic (logo) at every frame which contains a title/subtitle

I am using the Beamer theme Focus. I'd like to insert a logo in the top-right of every slide (i.e. frame) that contains a frame title (ie. not a plain slide). I have tried a lot of hacks and ...
0
votes
0answers
26 views

How set page style headers for nomenclature with memoir?

Question How do I get the indicated page style mypage to apply to the nomenclature section of the following memoir MWE source? That is, odd-numbered pages of the nomenclature ("Index of Notation") ...
0
votes
0answers
15 views

Latex Remove Header in both Left and Right (Table of Contents)

I would like to remove the headers completely from my Table of Contents. Currently, this is what I am having: I am modifying the code from PhDThesisPSnPDF.cls. I believe this should be able to ...
0
votes
0answers
13 views

How do you adjust the transparency/opacity of active and non-active sections in the beamer footer?

I'm using pdflatex, beamer class, boxes theme. I have a footline with the sections of my document listed there. It slightly grays out the non-active section titles in the footer, but not enough. How ...
0
votes
0answers
44 views

How to design 2 types of footer, like in this example?

How are you all? Here we go again, with our TeX adventures. Problem is. Some pages of my document are A3 format because they are huge diagrams. The rest is A4 format. The footer set is in the A4 ...
0
votes
0answers
38 views

Setting some textboxes in beamer slides

I'm creating a beamer template for my university. I have some problem with making this template adjustable for everyone. I want to create some texboxes at the footer and header ribbons to make ...
0
votes
0answers
14 views

How to specify exact spacing of page numbers on the top right corner of a `report` using `fancyhdr` package?

I'm writing my thesis and one of the requirements is that the page numbers must be located at the top right corner of the page (one-sided report). While I have been able to achieve it using \fancyhdr ...
0
votes
0answers
17 views

error in \address and change error when i delete this

I create a Journal format, i have error in \address, but when i delete this, error change to next. please help me. \documentclass{article} \usepackage[top=40mm, bottom=25mm, left=25mm, right=25mm,...
0
votes
1answer
40 views

How to rotate the heading of landscaped pages?

This question came from a derivation of How to translate and rotate the heading of landscaped pages? I want to rotate the header (with have page number and chapter name) on some landscape pages that ...
0
votes
0answers
27 views

\markboth inside tikz \node text not working

If \markboth is used inside a tikz node text, this \markboth does nothing. Output of pdflatex, xelatex, and lualatex are the same. Does this work as expect? I noticed that an inside-group \markboth,...
0
votes
0answers
42 views

How can i remove empty space after header on next page in fancy hdr?

Here is my code... \documentclass[11pt,twoside]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \usepackage{fontspec} \usepackage{arydshln} \usepackage[a4paper, left=0.5cm, ...
0
votes
1answer
40 views

How to set margins, header and footer with fancy hdr?

This is a document template with header and footer, but I have no idea how to make a broken line and that the header look like this (all at the top is the header) Someone can help me?
0
votes
0answers
30 views

How to make custom header/footer, marginnotes and use custom fonts in “memoir”?

I'm new to LaTeX. I'm using XeLaTeX on Linux Mint Tara to compile. Updated version of TeX Live is installed. Here's What I'm trying to make: Here are my queries: I have used fontspec package to ...
0
votes
0answers
27 views

How to change length of header from page 2 onwards?

I want to add a fixed size header from page 2 in my document which takes almost half of the page. How to set such large header for pages from page 2 without affecting page 1 header height. MWE is as ...
0
votes
0answers
23 views

Integrate three commands for author information (TOC, header, chapter start) into a single master-command?

I'm currently working on a new LateX layout for a scientific open-access journal. I have defined three commands for author information: TOC (\authortoc), header (\markauthor) and chapter start (\...
0
votes
0answers
23 views

removing footer of the first page of preface in using gsm-l.cls

I am using gsm-l.cls, which is downloadable from here. It defines a special style for chapters. In particular, the first page of each chapter has a footer consisting of short thick rule at the bottom ...
0
votes
0answers
103 views

Problem in removing conference's information in ACM sigconf format

I have used the below code to remove header and footer information but couldn't succeed in removing conference information("WOODSTOCK’18, July 29-August 3, 2018, City, State, Country") in the header (...
0
votes
1answer
78 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
25 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 ...
0
votes
2answers
56 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? ...
0
votes
0answers
33 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
1answer
50 views

Asymmetric treatment of \mark commands on left and right 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 ...
0
votes
0answers
43 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
0answers
35 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 ...
0
votes
0answers
34 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 )...
0
votes
0answers
37 views

Problems in footer pagenumbers in fancy footer

I'm writing a book with latex. i have the fancy footer code as follows. I am editing on The Legrand Orange Book for making my custom book. \usepackage{fancyhdr} % Required for header and footer ...
0
votes
0answers
32 views

How do I set the actual section in fancyhdr?

I have the following code: \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\sectionmark}[1]{\markright{#1}{}} \fancyhf{} \fancyhead[L]{\leftmark} \fancyhead[R]{\...
0
votes
0answers
44 views

How to shift the footer downwards when using `\enlargethispage`?

\clubpenalty and \widowpenalty are parameters that can be set to help prevent single lines on the preceding or next pages. However, sometimes, we may get two or three lines on the next page with a new ...
0
votes
0answers
29 views

Change style of first page of article

I'm trying to add a footer to the first page of my article, but I can't find a way to change its style. I've tried writing at the top before everything: \begin{document} \fancypagestyle{firststyle} ...
0
votes
0answers
68 views

Chapter page and header

I'm trying to create my chapter page and a header. I have four problems to solve 1- the header is printed on the chapter page 2- I would like to switch between right and left the position of page ...
0
votes
0answers
40 views

Section header text appearing one page early in a specific situation

Due to specific reasons, I created an alternative \section command called \nsection. The simplified version below should behave similarly to the original \section command, however, I get an unexpected ...
0
votes
2answers
80 views

how to make different header & footer setup for first page & rest of the pages in same document

I need to bring different header & footer contents in first page. what package can i use for this process. \documentclass[twocolumn, 9pt, a4paper]{extarticle} \usepackage{titlesec} \titlelabel{\...
0
votes
1answer
58 views

My header changes color on pages that start with a section

Im writing a report (in LaTeX) for which a made a header using fancyhdr. The text in my header is suppose to be black and the line is colored. However at some pages my headertext is colored as well, ...
0
votes
0answers
30 views

How do I place a header within the 1inch margin? Here is my code:

\documentclass[a4 paper,11pt]{article} %\usepackage[inner=2.5cm,outer=2.5cm, bottom=2.5cm]{geometry} \usepackage[margin=1in, showframe]{geometry} %\usepackage[a4paper,margin=1in,showframe]{geometry} \...
0
votes
0answers
44 views

Formatting Chapter to fit whole document

I'm pretty new to LaTeX and currently using it to write a short thesis. I'm facing the problem that the footer of each chapter page does not fit the style of the rest of the document. In addition I ...
0
votes
0answers
107 views

Placing header and footer on first page but only footers on all pages

Im trying to place a fancy header and footer on the first page, but can't seem to figure out how to place my footers on all pages as well. I tried to find the page break and inserted a \fancyhead{} ...
0
votes
0answers
73 views

Headers using titleps (and titlesec) don't work with custom section command in twocolumn mode

I am introducing a new (custom) sectioning command (called \subchapter) using the titlesec package. I am also using titleps (or more accurately the pagestyles option for titlesec) to put the title of ...
0
votes
0answers
46 views

Page length exceeded

I am writing a paper for a journal and by the time I try to build a pdf version, I realized the length of each page is shifted down. Here I attached a snapshot an here is a link to the Journal's latex ...
0
votes
0answers
121 views

How to insert part name in header (without titlesec)

I need to get part name to insert it in some special pages (parts beginning pages), without using \titlesecpackage, but I haven't been able to get it until the moment. I tried defining a special ...
0
votes
0answers
28 views

List of listings: problem with the STYLE of table of contents

I have some problems with making of table of contents for listings. I would like to add to my document (memoir class) the List of Listings but I could only obtain it with totally a different style ...
0
votes
0answers
107 views

Exam header and title with a particular design

I'm new to Latex and I'm trying to have the same template for my exam as the ones I created on LibreOffice. Here's what it look like: Do you have some advices for packages or macro that I could use ...
0
votes
1answer
58 views

Spacing/align inside table (tabularx, header, footer)

I do not understand the spacing inside the table (before the text and the picture). I use a tabular environment and it's very difficult to remove space at the beginning of the table. One more ...
0
votes
0answers
40 views

improving different textwidths of facing sides with reledpar

Using reledpar to print a modern translation with its facing Latin original results in huge white spaces between the chunks because of Latin's famous compactness and the very long paragraphs of this ...
0
votes
0answers
39 views

Remove headers from a float page with a figure but retain it in a float page with a table

I have a peculiar requirement. In a float page containing one big figure, I would like to remove all header information. However, in a float page containing a big table, I'd like to retain the header. ...
0
votes
0answers
34 views

Remove headers on a float page containing a single big float with footnotes

I'd like to remove headers (inserted by fancyhdr package) on a float page that contains a single big figure with footnotes. I'd like to retain the same pagination and content flow, i.e. forced use of ...
0
votes
1answer
130 views

ACM document format vertical space

It is my first time writing a document using the ACM class (sig-alternate). However, I am encountering a big vertical space on the first column of my first page, that shifted 5-6 lines of my ...
0
votes
2answers
523 views

How to change the headers for ACM paper?

I am using the following acmart.cls file downladed here: link My main latex file's code is as follow: \documentclass[sigconf]{acmart} \usepackage[ruled,linesnumbered]{algorithm2e} \usepackage{...
0
votes
0answers
50 views

Remove “Contents” header on first page after TOC

I am using the amsbook document class. My document has no chapters, but I'd like all even pages to have "Title" as opposed to the current chapter. I've achieved this for all even pages (but one) by ...
0
votes
0answers
114 views

How to get page number in footer with the prefix “S” with LaTex?

Could you help to comment how to get page number in footer with the prefix "S" ? I could not find examples in LaTex by searching... Many thanks for your time and help !
0
votes
0answers
209 views

Fancyhdr's footer at different heights

I am trying to make a footer that sits flush with the bottom of the page. Below is what I think is relevant: \usepackage{geometry} \geometry{ paper=$if(papersize)$$papersize$$else$a4$endif$paper, ...