Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
2answers
31 views

fancyhdr is the same for even and odd pages

I'm trying to have different headers and footers for even and odd pages using fancyhdr. For even pages headers, I want on the left to be the chapter title and on the right the section I'm in For odd ...
1
vote
1answer
20 views

\newgeometry is not remembered when writing a new page

I'm using the package geometry to customize my document. I specify the geometry I want using \newgeometry after a title that I will make later. If I do that using the code below, the first page is ...
2
votes
3answers
70 views

How to adjust the page number position in the footer area in ConTeXt?

I would like to elevate a little bit the position of the page number in the footer area of the MWE below in ConTeXt: MWE \setuppapersize [A4] \setuplayout [header=0pt, margin=0pt, ...
0
votes
0answers
21 views

Header stays the same “table of appendices”

The header in my document stays the same on every page. It shows "List of Appendices". Normally it should show the section's name. It worked a few days ago and I dont know why it doesnt work any more ...
1
vote
2answers
38 views

Header rule doesn't pass over the margins

I am trying to customize the header rule using fancyhdr and tikz packages. I wish the rule could overpass the margins. In order to do so I thought that drawing a line with tikz from (-1,0) to (18,0) ...
1
vote
1answer
20 views

Page headers for glossary in arsclassica

I cannot find a good way of making page headers of glossaries-extra’s glossary formatted in ʟᴏᴡᴇʀᴄᴀsᴇ sᴍᴀʟʟ ᴄᴀᴘs that is default format for arsclassica’s chapter (i.e, left-hand side pages) and ...
1
vote
0answers
28 views

Align Header with Text/Type Area in KOMA but let Page Number bleed into Margin

Consider this MWE: \documentclass[twoside]{scrreprt} \usepackage[automark]{scrlayer-scrpage}% \clearscrheadfoot%clear default \lehead{\llap{\pagemark\enskip\rule[-2ex]{1.5pt}{4.5ex}}\enskip\...
1
vote
1answer
21 views

Changing hyperlink color changes beamer section header colors

When I use \hypersetup to change the link colors for the outline of my presentation, it also changes the colors of the section and subsection titles in the header. I have some code that I believe ...
1
vote
0answers
14 views

Section title appearing twice in header [duplicate]

With the following code the Section Title "Section" appears twice in the header -- once for the first page, once for the other three pages. It seems to me that this is a bug. \documentclass{beamer} \...
0
votes
0answers
27 views

How to make references with empty page style?

I am preparing my PhD thesis, and I am sharing with you this MWE ( i hope this time is compilable). \documentclass[a4paper,12pt,oneside]{book} \usepackage[a4paper]{geometry} \geometry{lmargin=1....
0
votes
2answers
33 views

KOMA-Script: How to put text dirctly under headsepline?

How can I put some centered text directly under the headsepline? \documentclass[fontsize=14pt]{scrreprt} \usepackage[margin=1.75cm, includefoot, includehead, showframe=false headheight=2\...
0
votes
1answer
35 views

Table of Contents incorrect header format [closed]

In my document, I have many pre-sections (i.e. Table of Contents, List of Figures and List of Tables). Unfortunately, when I run my LaTeX file, those sections (TOC, LOF and LOT) have the incorrect ...
0
votes
1answer
27 views

Adjustment of header and footer [closed]

I have adjusted my text, so it's like an A4-paper. But my header and footer have not aligned. In my preamble I've got: \usepackage{graphicx} \usepackage{epstopdf} \usepackage{float} \usepackage[...
0
votes
2answers
89 views

Header with doublesided document

This is already quite close to what I need. The only issue with this solution is that it shows the sections on the odd pages and the subsections on the even pages. However, for the first time the ...
0
votes
0answers
25 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 ...
1
vote
1answer
67 views

Writing chapter-name and section-name in header for report class

I need to write a LaTeX document that should have the following page specification: Text Height: 240 mm & Text Width: 160 mm Header with top Margin: 30 mm & Footer with Bottom margin: 27mm ...
0
votes
1answer
51 views

How to add a picture into the header in the first page?

how can I add a picture into the header in the first page of my article? Thank you very much in advance. My sample code can only create a file with the picture showing up on the second page. \...
1
vote
1answer
45 views

Headrule not centered over text, how to fix?

For some reason the headruler I added in my document isn't as long as the \textwidth. It doesn't seem to be centered but it could also be that it's asymetrical, and I don't know why? See the picture ...
1
vote
1answer
43 views

section and subsection on a double-sided document

In the header of my twosided document should be on the left side always the author. On the odd pages should be on the right side the section and on even pages the subsection also on the right side. I ...
3
votes
1answer
49 views

\marks with two column output

I'm trying to understand how \marks, \firstmarks, and \botmarks works with two column output. In the following MWE, the headers work as I want with one column output. The right mark is the last verse ...
0
votes
0answers
39 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 ...
1
vote
0answers
51 views

How can I create this header margin without a frame and underline [closed]

How can I create this margin without a frame and underline
2
votes
1answer
28 views

Forcefully positioning header page numbers for even and odd pages

I'm trying to write a syllabus and I want the page numbers to be on alternating sides of each page. I am using the package fancyhdr, and know the command to accomplish this, \fancyhead[LE,RO]{\thepage}...
3
votes
1answer
44 views

Displaying chapter authors in headers

I'm editing a book written by different authors, each chapter one or several authors. I would like to include the name of the authors of each chapter in the ToC, and also in the headers. The answer ...
2
votes
0answers
49 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,...
-1
votes
0answers
21 views

How to make a footer throughout my resume

I am trying to use \lfooter but it does not work at all. I used this code for page number \usepackage{scrpage2} \ifoot[]{} \cfoot[]{} \ofoot[\pagemark]{\pagemark} \pagestyle{scrplain} but when i ...
2
votes
1answer
41 views

How to change header and page number style in book in latex?

I want to change original header of book in the latex, for even page number : From become (Page number on the black square with shadow and add line below the chapter name & page number) for ...
2
votes
0answers
17 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 ...
4
votes
2answers
155 views

Main text goes over header

How could I fix it? Here is the code: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[top=1cm,left=1.5cm,bottom=2cm,right=1.5cm,headsep=0.3cm]{geometry} \usepackage{tikz} \...
0
votes
1answer
38 views

Fancyhdr - Begin pagination with 2

I am trying to create a document using LaTeX, and the requirements of my university are very strict. The pagination has to be on the top right corner, no number on the titlepage, the second page ...
2
votes
1answer
22 views

Add the date in the bottom

With the following codes \documentclass[12pt, reqno]{amsart} \usepackage{amsmath, amsthm, amscd, amsfonts, amssymb, graphicx, color} \usepackage[bookmarksnumbered, colorlinks, plainpages]...
0
votes
1answer
25 views

Repeated section titles clipping / overflowing through page

So I am currently writing a report in Latex, I chose to use the "classicthesis" template in the Overleaf editor. The problem I have is that the repeated section titles (i.e. if I begin a section and ...
3
votes
1answer
82 views

Different font size/position of beamer's navigation symbols template's content depending on regular/plain frames

Let's suppose I'd like to divert the navigation symbols template (e.g. in order replace them by the frame numbers, see this bug report ;) I would be facing troubles regarding the font size/position, ...
1
vote
1answer
17 views

How to change style of header in AMSBook class

Consider the following MWE: \documentclass{amsbook} \begin{document} \chapter{Chapter 1} \section{Section 1} \newpage \section{Section 2} \end{document} It produces on the top of the second page I ...
2
votes
2answers
67 views

Modify the header and footer

I want to obtain in the header like the following And in the footer \documentclass[12pt,a4paper]{report} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{1.pt}% ...
1
vote
1answer
29 views

Beamer Presentation - non devided subbar issue

I want to create the following beamer presentation but unfortunately, I couldn't. I don't know which package I need to use to fix this. I am using pdfpages package. Here's my code: \documentclass{...
1
vote
1answer
36 views

Place object in custom position, but differently for odd and even pages

This is an example page, with a custom footer, containing two different text blocks in the bottom right and bottom left, temporarily using package textpos: \documentclass[12pt,twoside]{article} \...
2
votes
1answer
30 views

Issues with doclicense, both with fancyhdr and with background

This is an attempt to insert the doclicense output in each page of a document, using fancyhdr: \documentclass[12pt]{article} \usepackage[ type={CC}, modifier={by-sa}, version={3.0}]{...
2
votes
1answer
52 views

Question related to header

I'm using the following codes \documentclass[12pt,a4paper]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Useful Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %---------------------math--------...
0
votes
1answer
36 views

How to add a footer line above an equation only in one specific page of a two column paper

How can I add a footer line in one page of a double column paper? An example is added here.
1
vote
1answer
37 views

How to update the header and TOC for star marked the sections

I am using the following MWE. I want to define a chapter, with different sections (Prologue, paper 1, paper 2). I want the star marked sections to show up in TOC, for which I am using a user defined ...
1
vote
1answer
38 views

Header with graphical page number outside the body of the text

I am formatting a book using LuaLaTex. I need to obtain headers like and and I am using the titlesec package. I need therefore that the page numbers are outside the standard \textwidth. So far the ...
1
vote
1answer
44 views

Problems with Table of contents and Header/Footer

I really need your help on some following problems. Any help is highly appreciated. Many thanks to you in advanced. I created a report with Part, Chapter, Section,.... But there are some Titles, I ...
2
votes
1answer
18 views

Text over the header with figure

I'm putting a figure in the header of my article, but the text is getting superimposed in the header only on the first page. I think that the problem is with the figure because when I remove it, the ...
1
vote
0answers
53 views

How set the same header / footer fo all pages in LaTeX? [closed]

i want to set the same header in all pages in my LaTeX book. Is it possibile to put draw, tikzpicture or external pictures? Thanks!! I'm using this \usepackage{tikz} \usepackage{verbatim} \...
-1
votes
0answers
20 views

How to customize fancyhdr text (alignment and font)

I'm using fancyhdr to make a header with a line and text above it. Currently, the text is right aligned. How can I change it to left aligned? How can I make the font bigger and bold the text? \...
1
vote
0answers
33 views

Distance rectangle - text chapter using fancy header [closed]

but i'm non able to solve some problems: \documentclass[svgnames,12pt,a4paper,oneside]{book} \usepackage[T1]{fontenc} % lettere accentate \usepackage[utf8]{inputenc} ...
2
votes
1answer
44 views

Header is Not Displaying on Title Page

The header is not displaying on the title page for some reason. Here is the code: \documentclass[11pt,addpoints]{exam} \usepackage[top=.25in, bottom=.75in, left=.5in, right=.5in]{geometry} \...
3
votes
2answers
84 views

“Turn to the next page” at the bottom of the page

At the bottom right corner of a two-page document, how to put the phrase Turn to the next page or similar?
0
votes
1answer
51 views

The word ''Bibliography'' with lowercase letters

I'm writing my report in mathematics with the following code \documentclass[12pt,a4paper]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Useful Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %--...