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
1 vote
1 answer
50 views

Need to have different arrangement of footer on odd and even pages

I am trying to create a template for a paper for a journal as I am the editor. I want to have footers on each page exclusing the first. The format should be : FOOTER TEXT and Page no - Toward the ...
Eddy Singh's user avatar
2 votes
1 answer
37 views

How to bring left right text to the above line?

My code looks like this: % Source: http://tex.stackexchange.com/a/5374/23931 \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{...
stoicbatman Batman's user avatar
0 votes
1 answer
23 views

\defbibheading does not do its job when using category and \addtocategory for multible bib at the end of a book with biblatex

With the following MWE a problem arises which is described below: the heading of the bib chapters are not showing the proper text which is defined by \defbibheading. I have no idea why not. Thank you ...
Thomkrates's user avatar
2 votes
1 answer
31 views

How to get section and subsection titles in the header of a scrartcl document with scrlayer-scrpage?

How can I get the section title in the left header and the subsection title in the right header in the KOMA-Script class scrartcl with scrlayer-scrpage in the following one-sided document? \...
Marius Hofert's user avatar
0 votes
1 answer
43 views

How do I avoid overlapping header and first sentence of the page while using fancyhdr?

I am using fancyhdr to put some header and footnote in my document but from second page onward, the first line of the page and the header are overlapping like the following. How can I resolve this? I ...
melatonin15's user avatar
0 votes
1 answer
42 views

Flipping the header for odd and even pages for article

I am trying to print the header for odd and even pages differently. For the odd page, it will be at left like the following And for the right it will be at right. I do not want to use twopage or book ...
Tanmoy Pati's user avatar
1 vote
1 answer
88 views

headheight and footheight bzw footskip

I’ve been using Latex for half a year now, have already made a presentation, consulted the KOMA-Script very often and unfortunately still don’t understand how the header height works in detail and as ...
Patrick's user avatar
  • 107
0 votes
0 answers
46 views

Hyperref link spanning a pagebreak links footnote even with \DocumentMetadata{testphase=new-or-1}

It seemed to be an open problem for quite some time that hyperref link spanning a pagebreak also hyperlinks headers, footers and footnotes inbetween (Hyperref Link Spans a Pagebreak, Looks Ugly, page ...
Jakob's user avatar
  • 961
0 votes
0 answers
23 views

How to retain footer text but remove page number for IEEE Conference format [duplicate]

I'm facing a problem with IEEE conference LaTeX template on overleaf. The final submission requires a footer in the first page, but the page numbers are to be removed from all pages. The footer is 979-...
Sudarshan Srinath's user avatar
4 votes
1 answer
56 views

Making a navigation header only with the Roman numbers of my sections in LaTeX with beamer

I'm making a presentation with Beamer in LaTeX and I would like to have a two part header : In the first part, I would have all the numbers of all my sections in Roman. I also would like the number ...
benjaminpotron's user avatar
0 votes
0 answers
27 views

Remove page number on first page (but not others), and keep header on all pages

I'm trying to figure out how to remove the page number of the first page but keep the header. I want the page numbers to display on all other pages (along with the headers). So far from what I've ...
user3037237's user avatar
0 votes
0 answers
18 views

\thepage doesn't work with some Arabic fonts

When I use polyglossia package in Arabic LaTex file , \thepage command isn't work with some fonts, it disappears or not be correct place and shape, \documentclass{article} \usepackage{fontspec} \...
Kaniky's user avatar
  • 69
0 votes
0 answers
14 views

heading in bibliography

I have a question regarding the sudden change of heading when I try to print my bibliography. On each page I'm assigned to have a certain heading, only on a few pages there is a different one, or none....
Karolína Unčovská's user avatar
0 votes
0 answers
17 views

Misplaced footer in exam document class

I wrote the exam below using the LaTeX exam document class: \documentclass[12pt,addpoints,answers]{exam} \usepackage{graphicx,lastpage,amsfonts,amsmath,amssymb,caption,amsthm,booktabs,enumitem} \...
Saïd Maanan's user avatar
0 votes
0 answers
18 views

LATEX: how to change the positon of author affliation to the bottom of first page

The affliation will be placed under authors. How can i make it to the bottom of the first page not as footnote, but show like in the picture? \documentclass[a4paper, 10pt,twoside, ]{article} \...
ZHENLI YANG's user avatar
0 votes
0 answers
19 views

Force header in odd page on the right

I use this following code for header, but the header is on both odd and even page on the left. What could I change to make the header only on right odd page ? \documentclass{report} \usepackage[...
Annie's user avatar
  • 93
0 votes
0 answers
20 views

How to reduce the gap between the name/program and the line beneath

This is the code % Source: http://tex.stackexchange.com/a/5374/23931 \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \newcommand{\HRule}{...
Manas 's user avatar
  • 11
1 vote
1 answer
39 views

Prevent chapter and section being in every page header

I downloaded a nice latex class, but I'm having trouble with one aspect of it - every page's header gets marked with either the chapter name or section name. As you can see, it makes the page look ...
Shirish Kulhari's user avatar
1 vote
2 answers
67 views

pdflscape counterclockwise landscape with section

New on Latex world, using pdflscape package, I'm trying to create a counterclockwise landscape page (header on left and footer on right). This page has a \section for its title. I've managed to create ...
Mikk's user avatar
  • 11
0 votes
2 answers
50 views

How to fix a rotated footer?

I have the following MWE \documentclass[12pt]{article} \usepackage[a4paper, left=16.5mm, right= 16.5mm, top=0mm, bottom=25mm]{geometry} \usepackage{graphicx} % Required for inserting images \...
Rounak Niloy's user avatar
0 votes
0 answers
47 views

How to middle-align text in \rhead?

I have just started coding in LaTeX and it has been a big learning curve! As a result, I hope the detail I've added in this question will suffice. I am attempting to produce an R Markdown report ...
Ben_89's user avatar
  • 101
1 vote
0 answers
108 views

Inquiry about Writing Style in a Book

I recently came across a book online and was captivated by its writing style. I've been trying to emulate it using LaTeX, and I've attached some sample pages along with the code I've attempted so far. ...
Ivan Gozard's user avatar
0 votes
1 answer
104 views

Modifying style of chapters

I am trying to write a book in latex so I have the following chapter style in my latex code: How can this code be modified to get the following chapter style? \documentclass[twoside,a4paper,...
tstt's user avatar
  • 187
0 votes
1 answer
77 views

Using \pageref via \label in Referencing a Page

I am writing a simple document using the fancyhdr package for the header and footer and also the hyperref package. I use \label to label a page. Here is my MWE (EDITED): \documentclass[10pt,a4paper]{...
thenerdymathematician's user avatar
1 vote
1 answer
57 views

No header and footer in no chapter pages

I wrote a LaTeX code for my project. I used fancyhf for footers and headers. But there's no header and footer in the pages without chapters. There's my code. \documentclass{report} \usepackage[ ...
Hangear's user avatar
  • 21
3 votes
1 answer
178 views

Titles too long for header

I have the following document, The problem is that when the chapter name is long, it is cut off when displayed in the header. What can I do to solve this problem? \documentclass[a4paper,12pt]{book} ...
Celest's user avatar
  • 1
0 votes
1 answer
34 views

Header not being shown completely

I made the following book document with a small page. I discovered a problem, that the header in not being shown completely. What can I do ? \documentclass[a4paper,12pt]{book} \ExplSyntaxOn \...
Celest's user avatar
  • 1
0 votes
1 answer
35 views

Setting the color of the \fancyfoot in certain pages

I use the following command for the footnotes, at the preamble: \fancyfoot[CE,CO]{\color{purple}"Random Text"} Is there a way to change the color only for certain pages (for example: all ...
GSpyros's user avatar
  • 155
0 votes
0 answers
20 views

Change of formats of Headers on tables, images and charpers, other words or idioms

there! I want change the capture of headers on tables and images for another names cause i want wrote other word in other idiom. for example: Table12 -> Tabla12 Image5 -> Imagen5 in "" ...
Jai ivo's user avatar
0 votes
0 answers
44 views

margins right and left are not equal

Please look at my MWE. I would expect odd and even side margins being the same but they are not. What I am doing that is wrong? I have tried all solutions that were suggested, but they haven't worked. ...
Adam's user avatar
  • 111
1 vote
0 answers
18 views

references section (bibliography) has different header report

I am writing a report and creating a bibliography. I use the fancyhdr to create a header that should report chapternumber and chaptername on each page of the chapter. Unfortunately, the header name ...
user9875321__'s user avatar
1 vote
1 answer
35 views

Headers width in memoir class

I want to extend the length of the headers using the margin space, in memoir class. For this I use \documentclass[oneside,11pt]{memoir} \usepackage{lipsum} \setlength{\headwidth}{\dimexpr\textwidth+\...
Luis Turcio's user avatar
  • 2,717
1 vote
1 answer
62 views

How to indent the page number in the footer (memoir)?

I want to indent the page number on the foot, so it looks like in the image: As you can see, the position of \thepage is not aligned with the margin of the outer margin. \documentclass[10pt,final]{...
Rafael Benítez Mozos's user avatar
0 votes
0 answers
37 views

Coustomizing header

I am creating a question paper for exam and i try to put my logo in the paper but i failed so i put it on header and it appears on every page.How to get rid of this and i want it to be the first page. ...
RIPAN DAS's user avatar
0 votes
0 answers
33 views

Enumerate splitted by pages does not work with \restoregeometry or \afterpage

I have a document used for worksheets. When I use an enumerate and it flows from one page to the other, the pagestyle of the second page (\pagestyle{fancy}) does not apply, and instead, I am left with ...
chrisinacio's user avatar
0 votes
1 answer
67 views

Latex header spanning full page width

I am preparing a document for bookbinding. I want to add a colored header which spans the whole width of the page so that I can trim the book later. I currently found an option which achieves almost ...
Kosio Varbenov's user avatar
6 votes
1 answer
161 views

Header is changed to upper case only when uploading to arXiv

I wrote an essay using Overleaf and I am trying to upload it to arXiv. When I compile it on Overleaf or locally using pdflatex main.tex the section name in the header is lowercase. I get the following:...
Henry Ginn's user avatar
0 votes
1 answer
68 views

How to apply different fancyhdr pagestyles across multiple pages

I have the following file structure: my_doc ├── Pages │ ├── blankPage.tex │ ├── Page1.tex │ └── Page2.tex ├── customPreamble.sty └── main_file.tex I have placed all the \usepackage{} calls in ...
anurag's user avatar
  • 101
2 votes
3 answers
209 views

How to show page numbers at the bottom of each page? [duplicate]

I try to add numbering at the bottom of each page, using the code shown below. But I found that the page number appears in the header, with the Outline of Proposed Research, rather than at the bottom ...
Hermi's user avatar
  • 231
1 vote
0 answers
33 views

In appendix package, how to get Chapter headers, as well as section headers

I am using the appendix package to put three appendices at the end of my thesis. I have it set up the way I need - with each appendix lettered rather than numbered, but the subsections are numbered, ...
martianmeteo's user avatar
0 votes
1 answer
41 views

Custom Header Style

I want to make this header style, any help? \documentclass[twoside]{book}
Textbooks Guy's user avatar
0 votes
0 answers
21 views

Full section header printing on first page of section rather than short header

Edited I am new to LaTeX and I have just compiled my thesis using twoside (previously I had used oneside). I had to use \sectionmark{} to shorten some of the section titles so they fit in the header. ...
martianmeteo's user avatar
0 votes
0 answers
36 views

Chapter header runs off the side of the page on a few random horizontal pages

Edited I am very new to LaTeX and I have just compiled my thesis using twoside (it had been oneside previously). On a few random horizontal pages the Chapter header (which has been shortened using \...
martianmeteo's user avatar
1 vote
0 answers
61 views

Running header with line number in reledmac/reledpar

I've been typesetting a trilingual text of the Passion of st. Mark (greek, latin and spanish) with reledpar. And I would love to have a running header in every page with the chapter and verses that ...
Josu Anton's user avatar
0 votes
0 answers
14 views

Issue with page numbering for mwrep document

I have document \documentclass[a4paper,onecolumn,twoside,12pt]{mwrep} and I want to have custom style of page number for each page. To achieve this I've done this \usepackage{fancyhdr} \fancypagestyle{...
Konrad Chojnacki's user avatar
0 votes
1 answer
43 views

Move anchor text in fancy header

In the code below, if the Chapter number is 2 characters or more, it clashes with the chapter name. How to go about moving JUST the chapter number closer to the edge of the document as shown in the ...
Joe's user avatar
  • 9,080
0 votes
0 answers
67 views

Error Message when Using Section and Subsection in Titlesec

I have converted a .docx file to .tex, and I am trying to create a running header. Looking through the forums, I have found some nice code to generate this header. Unfortunately, when I try to ...
ceramicquasar88's user avatar
0 votes
0 answers
18 views

Chapter header problem for bibliography

I am writing my thesis using the template provided by the institute. All chapters have the correct header on the upper left corner except for the bibliography. The bibliography section has "...
Mehmet Gül's user avatar
1 vote
0 answers
54 views

How do I get headers and footers to extend into the margin (using the Memoir class)?

Similar to what was asked in this question I’m writing a document that uses a small text block, with the margin holding some notes. I did not explicitly changed the \textwidth directly, only the ...
Rafael Alejandro's user avatar
-1 votes
1 answer
70 views

LaTeX complicated headers and footers [closed]

I recently came across this document which I am trying to recreate, and this is what I'm dealing with: I have no clue where to start in trying to replicate a header and footer like that, I new to ...
André Neto's user avatar

1
2
3 4 5
84