Stack Exchange Network

Stack Exchange network consists of 175 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}.

0
votes
0answers
28 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
27 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
97 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
37 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 foot,...
0
votes
1answer
51 views

Removing Header from Chapter in a Thesis Written in LaTeX

I am writing a thesis using the LaTeX template files that seem to have been used at my department for a while. The problem is, when I compile the code, I get a header with chapter number and title on ...
0
votes
0answers
25 views

Convert titlesec titleformat to KOMA Script [duplicate]

Im quite new to Latex and i have created a document template based on several code snippets. The result looks not that bad but now i switched to KOMA Script scrreprt class. Not my titlesec part is not ...
1
vote
1answer
27 views

Chapter and section name in footer beneath page number

I would like to generate something like the pictures below. I already got the blue line and the numbering. Now i would like to also show the chapter name on the left pages, and the section name of ...
0
votes
1answer
18 views

Changing page numbering does only work for two arabic numbered pages

I am using the code below to change the style of my page numbering. This works quite well. But only for the first two arabic numbered pages. That means page 1 and page 2 are showed correctly. all ...
0
votes
1answer
51 views

Section mark styling and page number style

Im quite new to LaTex but i am willing to learn how to style my own Thesis instead of just copy and paste some code from a template. Now im facing a problem. I would like to style my thesis similar ...
2
votes
0answers
27 views

header-footer and box [duplicate]

I am mostly new to Latex. I was looking for a template which I like. The problem is I don't know how to obtain that. Here is one. This one looks very challenging for a new one like me. I will really ...
1
vote
0answers
20 views

Nomenclature Header

I'm printing the Nomenclature of my document after my appendix. However, the header of my Nomenclature shows the title of my last appendix and I can't figure out why. This is a sample of my main ...
1
vote
1answer
26 views

How to implement double bold bar header with multiple lines?

I'm very new to LaTex and I want to implement the structure above by myself. What I only know right now is the fancyhdr package but seemed like it didn't work. I'm really new to LaTex and now I have ...
0
votes
0answers
48 views

Modifying content of existing headers

I am using a document class that sets up some headers (using fancyhdr), and I would like to modify (not overwrite) these headers. For example: The document class creates a right-side header saying "...
1
vote
1answer
27 views

header conflict with mdframed

\documentclass{book} \usepackage[english]{babel} \usepackage{blindtext} \usepackage[framemethod=TikZ]{mdframed} \begin{document} \renewcommand{\chaptermark}[1]{ \markboth{#1}{} } \renewcommand{\...
1
vote
1answer
39 views

How to move the address of authors in the footnote of the first page?

I want that the address will be in the footnote of the first page \documentclass[12pt,reqno]{amsart} %------------------------------------------------------------ \usepackage{etoolbox} \...
2
votes
1answer
34 views

Header of the first pages, which are different from the rest of the document

Hopefully someone can help :) This is my document: \documentclass[12pt,a4paper,twoside]{report} %Layout \usepackage[top=2.5cm, bottom=3cm, left=2.5cm, right=2.5cm,paper=a4paper]{geometry} %Header \...
1
vote
1answer
20 views

Undefined \beamer@cramped when using itemize in the footline of a beamer document

For a poster I would like to have a list in the footline. Unfortunately this seems to trigger a bug in beamer: ./mwe.tex:10: Undefined control sequence. \\itemize ...ix item}##1}}}}} \fi \beamer@...
1
vote
2answers
38 views

How to get the number of all the figures inside each page in the footer

I have a document with several figures and a format of footer. I need the numbers of the figures of each page in that format of footer like that, The following code contains only some figures and not ...
3
votes
2answers
87 views

Remove rulers from draft view

I plan to use this document template for constructing my thesis: http://www.latextemplates.com/template/masters-doctoral-thesis However, when running in draft mode, multiple rulers appear in the ...
1
vote
0answers
29 views

Better template for report, Header and footer

Need a better template for my reports, in this one the above logo stay in paragraph space, and the footer is only in the margin space. \documentclass[3pt,a4paper,showtrims]{article}% \usepackage[T1]{...
0
votes
0answers
47 views

Can page heading marks work with paracol?

Problem summary: Neither the standard marks nor extramarks work as desired when using paracol because LaTeX treats each column as a separate page. In my application, each page on paper consists of ...
0
votes
1answer
50 views

pagenumber in table of content

I write my thesis and face several problems when writing a table of contents. The page numbers of the list of tables and shapes are incorrect. For example, if the table list consists of two pages, the ...
0
votes
1answer
22 views

How to move header to extreme top of page?

Using page geometry as follows: \geometry{a4paper,inner=12mm,outer=10mm,top=15mm,bottom=15mm,footskip=5mm}% Header Code: \rhead{\color{green(munsell)}\normalsize{Visit Summary}}% \lhead{\color{...
1
vote
0answers
28 views

Class newlfm letter does not have bottom margin for the second page [duplicate]

I'm writing a letter with class newlfm and I have a somewhat big issue, the second page does not seem to have the bottom margin. First page bottom: Second page bottom: This is my code: \...
0
votes
0answers
62 views

ToC header & footer horizontal line; and spacing in bibliography

I pretty new to LaTeX. Currently working on a few slides, but I have two problems I can't really figure out how to solve. 1) I would like to have a horizontal line in the header and footer for every ...
0
votes
0answers
20 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 ...
2
votes
2answers
44 views

Adjusting layout of footer using fancyhdr

Here is a minimal working example of what I'm trying to achieve in my footer. I'm trying to get the footer rule to be roughly in line with the top of the example-image-a. The lfoot text (which ...
0
votes
0answers
28 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
31 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 ...
1
vote
1answer
28 views

How to add page numbering to CurVe CV

I'm editing this costumized CurVe CV: https://www.overleaf.com/latex/templates/a-customised-curve-cv/mvmbhkwsnmwv Sadly I'm not able to add any page numbering. How can I do it? Thanks
1
vote
2answers
30 views

make distance between text and headsepline

with a two-line section name in the headline, the distance between text and line is too small. How can i change it? \documentclass[12pt, % Schriftgröße DIV=calc ...
0
votes
1answer
26 views

Removing the title from slide

I am trying to make a presentation. I want to remove the very long title which appears as the footer of every slide. How do I do it? I have used the following code. \documentclass[english,svgnames,...
1
vote
1answer
22 views

Ilmenau Template Getting Rid of Header Section Circles and Other Manipulations

I would like to get rid of the ugly circles that indicate "How many slides are there in this section?" I also would like my next section to not appear until I actually come to the first slide of it. ...
1
vote
2answers
42 views

Odd Behaviour: Missing Chapter Title in Footer, However the Page Number is Displayed

Problem Description I’d like to create a footer style that would be displayed on all pages except for the page, where there is \part title and its verso page (this exception is not a problem, as it ...
2
votes
0answers
32 views

How to reduce top margin?

How can I reduce the margin between the first line of my document and the headerline? \documentclass[12pt, a4paper]{article} \usepackage[ top=0.6in,bottom=0.6in,left=0.7in,right=0.5in]{geometry} \...
1
vote
1answer
21 views

Issue with positioning the footer text and footer rule

Consider this MWE, why is the footer rule position different on page 1 compared to the rest of the pages? Also related to the footer, how can I move the footer text down without affecting the position ...
1
vote
1answer
26 views

Margins of header apa6 document class

I can modify the margins of the body of an apa6 class document by reloading the geometry package: \usepackage{geometry} \geometry{ a4paper, total={170mm,257mm}, left=15mm, right=15mm, top=20mm, ...
0
votes
0answers
22 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
1answer
49 views

Footer too high with scrlayer-scrpage

my footer is too high. I'm creating a new template and now im using scrlayer-scrpage. In my last template, i used fancyhdr. Where is the mistake? it is a difference about 2,5cm !! \documentclass[12pt,...
0
votes
0answers
21 views

How to use apacite (or similar) without running titles in headers getting modified?

I am using a custom .cls file with its own implementation for running text in headers in the corners of all but the first page. The .cls file I am using was taken from this Overleaf template: https://...
0
votes
1answer
50 views

A TikZ image set to the width of the entire paper, without changing the header and footer positions and widths

I'm attempting to fit a TikZ image on a page, and would like to make the image as large as possible, without distorting its dimensions. However, at the same time I would also like to be able to ...
0
votes
1answer
34 views

Break line of long header with pagestyle fancy

I have a class where I define headers and footers with a makemargins command: \newcommand{\makemargins}{ \makenomenclature \pagestyle{fancy} \fancyheadoffset{1cm} \setlength{\headheight}{2cm} \lhead{\...
0
votes
0answers
26 views

Changing only the header for Table of Contents pages

I want to make my Table of Contents pages show "Table of Contents" in their headers. Right now, according to the MWE below, this is what it shows: And this is what I want it to show: The header, in ...
1
vote
1answer
43 views

how to keep footline when we use \setbeamercovered{invisible} in beamer

when i use \setbeamercovered{invisible} the footline disappear in the whole tikzpicture frames: \documentclass{beamer} \usetheme{warsaw} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \...
0
votes
0answers
45 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 ...
2
votes
1answer
30 views

Two line page foot defined with scrlayer-scrpage and combined with longtable: text displaced

The document uses scrlayer-scrpage to create a footer with (originally) a logo, and two lines of inner and outer footer text. This works fine unless there is a longtable that continues on the next ...
2
votes
1answer
19 views

Removing header in aomart class

I'm writing a paper using the aomart package/class. Since this package was written specifically for papers submitted to the Annals of Mathematics, it has an automatic header. Since I don't actually ...
0
votes
0answers
52 views

Customization the header and footer

I think this might be easy for some of you. I am trying to modify the header and footer, but I could not get what I want exactly I want the Chapter number and name at the top right corner of the ...
0
votes
1answer
44 views

Fancyhdr heading

i am trying to get headers with the fancyhdr package. The only thing that is missing is actual header now. The header should mention the subsection because i dont have many sections but several ...
0
votes
0answers
17 views

Adjusting headline in article

i have the following problem when i am adjusting my header: \documentclass[11pt, a4paper, german]{article} \usepackage{color} \usepackage{amsmath, amsfonts, amsthm,} \usepackage[utf8]{inputenc} \...