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

learn more… | top users | synonyms (2)

0
votes
1answer
75 views

How to set custom fancy pagestyle back to default fancy

I am using a custom fancy pagestyle for my acronyms pages and I am wondering how I set the pagestyle back to "default" for the rest of my document. This is my example: \documentclass[11pt, twoside, ...
6
votes
1answer
459 views

Understanding headers in scrartcl

I would like to get a better understanding, why using fancyhdr is not recommended using scrartcl. So far I haven't had any problems using them together but the output is always complaining that I ...
1
vote
2answers
55 views

Remove header from class file

I'm a TeX newbie, and I try to edit a template tex class file, but I can't find where the header section is defined. It looks like this: but I want to remove it completely and edit the header from ...
0
votes
0answers
50 views

In a custom documentclass, maintain chapter title headings but move page numbers to bottom

I am using a custom documentclass provided by my school for writing my thesis, which is a modification of the documentclass book. They also give a template, which includes the line \pagestyle{...
5
votes
2answers
56 views

Problem with table lines in a footer

Hello dear LaTeX users, I'm having difficulties with table horizontal lines positions. I'm using a table in a footer to obtain such an composition with page number: While everything works fine for ...
1
vote
1answer
56 views

Double line rule in memoir header

I need like this header ____________________________________ (this smaller height) ____________________________________ (this bigger height) I guess i need to redefine this from memoir class: \...
0
votes
1answer
40 views

How can I change the width of page in latex [duplicate]

I am wring the paper that is formatted by elsarticle. However, the margin between text and left. right page look big. Hence, the text length is very narrow. Could I change it in the file \...
1
vote
0answers
64 views

Problem in beamer class linebreak in footline

I encountered a strange definition in the footline environment of beamer. Here is a minimal example, which shows the problem: \documentclass[hyperref={pdfpagelabels=false},rgb]{beamer} \...
2
votes
1answer
87 views

How do I increase the size of the text or the headline in beamer, LaTeX?

Is it possible to make the text bigger there? I mean, where "how" and "to increase" are written. I can't find anything about it. \documentclass{beamer} \usepackage[cp1251]{inputenc} \usepackage[T2A]...
2
votes
1answer
106 views

Removing “footer” from Classicthesis cover page

I'm using the newest version (4.2) of the Classisthesis template to write my thesis. Included in the template is a footer-like piece of text that gets printed at the bottom of all pages - included the ...
3
votes
1answer
50 views

Subsection not aligned with header subsection when using clearpage before subsection

I have implemented a custom subsection like this: \renewcommand\thesubsection{Question \arabic{section}.\arabic{subsection}} And I would like to clear the page before each subsection so I added ...
1
vote
0answers
107 views

Alignment problem with fancyhdr for a report page layout

I am trying to define a base class for some reports to share the same page layout. I use the fancyhdr package for creating the header and footer but I am experiencing some vertical alignment problems. ...
0
votes
1answer
63 views

Adding a custom header in every page of LaTeX documentclass article

Is it possible to add a header in LaTeX documentclass article like in below format in every page?
0
votes
0answers
34 views

Beamer.cls: height of footline

I would like to put some material directly above the footline. So I hope that there is a parameter that holds the height of the current footline. In beamerbaseframecomponents.sty I found \footheight ...
3
votes
0answers
76 views

Correct counting of paragraph number is header/footer

I want to \usepackage{fancyhdr} to list paragraph numbers in the header/footer of a document. Most of the time this works fine but when a new page starts with a paragraph, the number is also listed on ...
1
vote
1answer
25 views

zref variable is cached incorrectly in page header/footer when \setsecnumdepth{none}

Following on from this question: How to access per-page variable/command for use in footer I'm using the zref package to provide custom, per-chapter variables in the page footer (namely, a "reviewed ...
2
votes
2answers
98 views

Beamer - Use custom environment on TOC frames

I defined a environment slide based on frame to get rules beneath the headline and above the footer and get the section in the frametitle. \newenvironment{slide}[1] {\begin{frame}[environment=slide] \...
-1
votes
3answers
57 views

Add title and header as List of Figures

How can I add a new title as UML Diagrams to this stuff \input{7-anhang} in the appendix chapter? I want to do the same as to the List of Figures, first title then header. Please see my screenshot. ...
2
votes
0answers
79 views

Bibliography unwanted header and footer [closed]

I am trying to add the bibliography into my TOC. The problem is as soon as I add [heading=bibintoc] to it, all bibliography pages will have a "BIBLIOGRAPHY" header and footer. How can I remove ...
3
votes
1answer
156 views

Longtable exceeds page length

Situation: I am using rmarkdown and xtable to iterate the creation of several tables, and output them in Latex to create a PDF. Given that most tables are long, Im using Longtable package. Also, i ...
1
vote
0answers
33 views

Undefined control sequence in PDF converting [duplicate]

I tried to add a footer to an existing PDF. But I get following error: **"Undefined control sequence. D:\pythonworks \1.pdf l.7 ...'}\thispagestyle{fancy}}]{D:\...
0
votes
0answers
18 views

Beamer - Change section in head/foot text color [duplicate]

I'm trying to change the font color of the section (shaded and not shaded) using Berlin theme. As far as I know to do so the code should be something like: \setbeamercolor{section in head/foot ...
1
vote
1answer
79 views

How to make the header for each page?

I am using a template from someone else to write my statement of purpose. The header looks cool, but how can I make it appear for every page? \documentclass[12pt]{article} \usepackage[T1]{fontenc} \...
2
votes
1answer
62 views

How to remove footer in latex

Please tell me how to remove footer from whole document in latex. I'm using acmsmall template. I used this but it only removed footer from first page. \makeatletter \def\runningfoot{\def\@runningfoot{...
1
vote
1answer
118 views

How to add footer in Lyx when using IEEE Transactions class?

How do I add a footer in LyX file when using IEEE Transactions class?
0
votes
0answers
82 views

Memoir package: remove header or footer to get more space

How can I remove either the header or the footer of the page using memoir? When I say "remove", read "take no space on the page"; I want to make the block taller by using that space. (non)Working ...
2
votes
1answer
64 views

How can the running head on recto pages in table of contents be removed (in KOMA)?

I am writing a thesis work in scrbook class (though it appears this applies to similar non-KOMA classes as well). The default behavior for running head is: Verso pages: Chapter Title Recto ...
5
votes
2answers
93 views

fancyhead R-L direction switched in RTL languages on some pages

I use fancyhead with the switches R and L. When I write a document in an RTL language (with babel), sometime the R and L directions are switched. I believe this has something to do with the text that ...
1
vote
1answer
81 views

How to add page numbers and rotated chapter title to the outer margin?

I'd like to have page numbers on the outer page border slightly bellow the center, and the current chapter title at the bottom but rotated 90 degrees counter-clockwise (i.e. to the left) such that it ...
0
votes
0answers
38 views

Nontransparent headline in Beamer

I have an arbitray frame with a headline that contains section names, small dots representing sections etc. Anyway, a standard Beamer headline that automatically on top of each frame. Next, I use: \...
0
votes
0answers
33 views

arrange header and text

I am designing an exam template but have below problem with first page header. can you help me? \documentclass[oneside]{book} \usepackage[a4paper,includeheadfoot,top=5cm,right=2cm,bottom=4cm,left=...
2
votes
1answer
134 views

Multiple Line Header with Multiple horizontal lines

I'm trying to use fancyhdr to make a multiple line header with the following format: Left Header Center Header -------------------------------------------- Right ...
2
votes
0answers
106 views

How to show the page number in plain frame? [closed]

In beamer I have a frame that is plain. (I use plain frame to remove the table of contents in header and the footer icons.) \begin{frame}[plain] \frametitle{Agenda} Here we go... \end{frame} When I ...
3
votes
1answer
274 views

Page numbers are missing

As are as I understand, page numbering is automatic but I am not getting page numbers. The start of my document is as follows: \documentclass[12pt]{book} \title{Something} \usepackage{fancyhdr} \...
0
votes
2answers
67 views

Using IEEE Copyright, not working

I am trying to put IEEE copyright in my paper. I looked here to make it work, but did not. Then I tried with IEEE latex template but same case. Here is what I have with me right now. \documentclass[...
2
votes
1answer
46 views

Why won't memoir show a header on the first page of a chapter?

I want to have a header on the first page of a chapter. \documentclass{memoir} \makepagestyle{generalstyle} \makeevenhead{generalstyle}{}{HEADER}{} \makeoddhead{generalstyle}{}{HEADER}{} \pagestyle{...
2
votes
2answers
109 views

Page Header in LaTeX

The document class I am using is: \documentclass[a4paper,11pt,openany,leqno,footinclude=true]{memoir} I want to get the header of a page in LaTeX just like the one I found here: Here apparently ...
0
votes
1answer
35 views

how to use headers only in the chapters and not in List of tables, List of Figures, Bibliography. e.t.c

Im writing with \documentclass[12pt, twoside, openrany]{report} My problem is that when i use \pagestyle{headings} \usepackage{fancyhdr} \usepackage{blindtext} \fancyfoot{} ...
1
vote
1answer
31 views

Insert pages with just the headers and footers

This post is building from the code developed by Gonzalo Medina found here. I wanted to add some pages to my document that would just contain the headers and footers and sidethumb. When I tried the ...
0
votes
1answer
97 views

Leaving the current page empty and starting on the next

I'm trying to format a document in lyx so that each chapter or section begins on its own page. Following this question and adding the following to the latex preamble: \usepackage{afterpage} \...
2
votes
2answers
67 views

Moving page numbers from footer to header with scrbook

I'm trying to get a nice novel format in LaTeX. I found the following: % WITHOUT BLEED % US Trade => 6x9 \documentclass[paper=6in:9in,pagesize=pdftex, headinclude=on,footinclude=on,...
1
vote
1answer
200 views

ModernCV (new Version): Picture on the right side, Name on the left side

unfortunately, ModernCV has changed again. I used the answer from the question ModernCV Casual Header for my last CV, which worked perfectly, but now I get the error "Undefined control sequence. \...
2
votes
0answers
57 views

Document type “book” and sections/chapters [closed]

I am using the class "book" for the first time. I am not sure if a code I copied is causing the following or this class type, but my problem is that there's a header on every other page saying "...
3
votes
1answer
92 views

How to customize the header defined on this .sty file?

I'm trying to make a conference poster using LaTeX and for that I've downloaded one template from the internet. The template I've downloaded is this one abd it uses the beamer class and the confposter ...
1
vote
2answers
29 views

Putting a line into a frame with proper positioning

I wanted to use a header which looks like the image attached below. At first I tried using a fbox with a parbox but I had issues with the right widths because the text wasn't properly aligned at all. ...
2
votes
1answer
105 views

(AMS)TeX Chapter Title no running head

I am using (AMS)TeX for a book (I have a lovely old version of TeX on XP laptop that has a picture of a shell as its icon). And I am not using any specific book formats, I am using \documentstyle{...
2
votes
2answers
75 views

Control over section and header style

I attach the minimal working example of my issue: \documentclass[12pt, a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\tiny\thepage} %...
2
votes
2answers
172 views

Vertical align text next to image in rhead without influencing the positioning of lhead

I try to vertical align a text next to an image in a fancyhdr environment. This is my LaTeX code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \usepackage{...
2
votes
1answer
60 views

Change header if title is first on page

(Not a dupe of Is something the first item on a page? and another similar question, because these involve preventing rules at the top of a page by putting them in leaders; but leaders require boxes, ...
2
votes
1answer
112 views

Newpage should start new page numbers with lastpage also

I want to keep everything in one master file and require to start new page numbers with lastpage also after each \newpage command. MWE is below. Any help will be highly appreciated. Thanks \...