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

1
vote
0answers
18 views

Small italic text under section name?

I would like to write a small-font, italic comment right underneath a section name. Something like: \section{First Section} \comment{Some comment goes here.} Here section text begins. Is there a ...
4
votes
1answer
34 views

How to put a period between the chapter number and chapter title in the headings using scrrept, scrlayer-scrpage, and scrheadings?

By default, the headings with scrrept, scrlayer-scrpage, and scrheadings are of the form "«number» «title»" in the headings for numbered chapters. I am wishing to change it to "Chapter «number». «...
1
vote
1answer
44 views

Header layout for multilines title using fancyhdr

My current header looks like this. The second line of the header is touching the dividing line. My question is how to move the text upwards or the dividing line downwards so that the format looks ...
2
votes
1answer
182 views

Different positions of headers and footers in different pages

I could not figured out why I'm getting different positions of headers and footers in different pages (please see MWE below). Any help in this regard will be highly appreciated. Thanks \documentclass[...
2
votes
1answer
34 views

Multiline header moves page number downwards

Concretely, if the header has two lines, the page number takes the position of the second line and therefore is one line below the page numbers of all pages with only one line in the header. I use the ...
2
votes
1answer
33 views

Control header position and font size

I need to: place the page header 1 inch from the top of the page. change font size for the page header to be the same font size (\normalsize) as in the table of contents. I've used geometry as ...
1
vote
2answers
25 views

Place theorem number *before* theorem label in page header?

In the accepted answer to Put current theorem-like item's name/number in header, it is shown how to put in the page's header the label of the (last-on-page) theorem, lemma, etc. For example, if ...
3
votes
1answer
58 views

Put current theorem-like item's name/number in header

I'm using the amsthm and fancyhdr packages with the book LaTeX document class. All theorem-like items (theorem, lemma, definition, exercise, etc.) are numbered consecutively within each chapter (via ...
2
votes
1answer
59 views

Print only on one side

I am a new latex user and I have wrote a thesis. How can update this code for print only on one side: \pagestyle{fancyplain} \textheight22.5cm \topmargin0cm \textwidth16.5cm \oddsidemargin0.5cm \...
1
vote
1answer
61 views

Problems inserting tikzpictures in headlines in slides and titlepage, LaTeX beamer

I am creating a custom beamer theme and I have problems inserting graphics in the headline of the slides. For the graphics I have exported .eps files to TikZ code with Inkscape, which worked fine. ...
0
votes
0answers
40 views

How to set same header and margins for even and odd pages

I am using the document class yathesis. By default, the header and page margins are different for even and odd page (prepared for a reverse printing) but i want them to be similar since i will print ...
3
votes
1answer
64 views

How to get the subsection and subsubsection automatically in the header using scrheadings?

How to get the subsection and subsubsection automatically in the header using scrheadings? Complete MWE: \documentclass[ paper=128mm:96mm, fontsize=12pt, pagesize, parskip=half-, ]{scrartcl} \...
1
vote
1answer
58 views

Change header for Frontmatter

In the MWE below, I wanted to be able to show the name of the chapter on pages in the \frontmatter that spans more than one page. In the example, the "Dedication", "List of Abbreviations" and the "...
2
votes
1answer
73 views

Custom header: [E] \chaptername \thechapter [O] \chaptermark

I'm new here and I'm into headers with package fancyhdr. My request is: I want on even pages, CHAPTER NUMBER, in the odd pages CHAPTERTITLE. So in a way like: [E] \chaptername \thechapter [O] \...
0
votes
1answer
113 views

Header and text font isn't changing

I use clean thesis, when I change my language all my fonts turned from helvetica to default Latex font. Now I have changed some code and almost all fonts changed except Header, title and simple ...
1
vote
2answers
34 views

Suppressing in the word “Chapter N” from header, documentclass: report

I want to suppress the word "Chapter n" from my header. I want to have only the chapter title in the header e.g. "Introduction" not as "Chapter 1. Introduction" The document class is report. Here is ...
3
votes
2answers
111 views

How to: Header on every page, with figures!

I'm writing a document to my college and it requires a header on every page with two logos and some text, as shown below: Here are the images: Any ideas on how to do it? I have tried with the ...
0
votes
0answers
10 views

I want to have Annexure on top right of first page page, while Annexure(contd..) on others

I am already using a format such as: \usepackage{atbegshi,picture} \AtBeginShipout{\AtBeginShipoutUpperLeft{% ``\AtBeginShipoutNext'' if Annexure required only on first page and not on others... \...
1
vote
0answers
40 views

How can I make a header not apply to the first page?

I'm using the mla13.sty package, and it puts a header with my last name and page number at the upper right of every page. How can I get it to not write this header only on the first page? (And of ...
1
vote
1answer
88 views

How to turn off headers with KOMA-Script Book

I'm using the KOMA-Script Book class to create a book in LyX. I don't want to have any headers in my book, but they're active by default. Is there anything I can do to turn them off? Thank you for ...
1
vote
1answer
47 views

Memoir : Warnings “The material used in the headers is too large” w/ accented titles

With memoir class, the default headers height seems unsuitable for accented titles of chapter/section. The result doesn't look strange, but Warnings The material used in the headers is too large (14....
1
vote
0answers
21 views

Problem in displaying a citation in the header of a report

I have a section with a citation in its title. It displays fine. The title of the same section appears in the header of the current page of my report, but in the header I get a '?' instead of the ...
1
vote
1answer
18 views

How to remove the top Rule of the page in Fancy page style?

I'm writing a document using fancyhdr package and I need to remove the rule of the top of the page, How could I do that? The minimum example follows: \document[10pt]{article} \usepackage{fancyhdr} \...
1
vote
0answers
43 views

Header gets messed up [duplicate]

I've had a problem with my header on an assignment I've been working on. The headers of some chapter and or sections, when long begin to overlap over each other and sometimes go beyond the page. ...
2
votes
0answers
34 views

Appendix header

I'm trying to format a template for my thesis appendix and am having an issue which is doing my head in. I want my appendices to have a header saying Appendix A - "Title of appendix chapter". Or ...
1
vote
0answers
21 views

Header to start with sections or chapter name in Lyx

Currently I am using this preamble \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\sectionmark}[1]{\markright{\thesection.\#1}} \lhead{\rightmark} \cfoot{} \fancypagestyle{plain} \fancyhf{} \...
1
vote
1answer
52 views

Running headers in the margin

How do I create a running header that appears in the margin instead of in the header? The following MWE produces the sort of running text I want in the header. I would like to replace the \def lines ...
1
vote
0answers
20 views

Placing a section between title of part and title of the following chapter

The problem is that I have to enter text in-between the Part title and the start of the next chapter. The text serves as an introduction to the chapters that follow in this Part. The test might span ...
0
votes
0answers
21 views

Insert name top rigth memoir

How can I insert name in every page of on the top right document \documentclass[11pt,a4paper,oldfontcommands]{memoir} ? I have tried this: \usepackage{scrpage2} \pagestyle{scrheadings} \ohead{my ...
0
votes
1answer
55 views

Resume title formatting

So currently this puts everything into one line but I want my name to be much bigger and preferabbly the phone and email start from right not equally spaced from name. I still want everything to be in ...
0
votes
0answers
9 views

latex header redefine automark third level and suppress empty headings

i am trying to define a header in latex with automark. how can i make latex write the title of the subsection (test subsec)? \documentclass[11pt,a4paper, bibtotoc, liststotocnumbered, numbers=...
3
votes
1answer
51 views

How can I correct Header in latex?

I am using LaTeX for preparing by project. I am using \documentclass{report} As I am in need of first chapter Introduction' with no chapter number i have used \newcommand{\mychapter}[2]{ \...
0
votes
0answers
38 views

Rule with fancyhdr

I am using the following code to produce a header that contains a text a line below it and a box with the page number on the side: \fancyhead[LE]{\vbox{\hbox{\vbox{\hbox{\thickheaderfont \thepage{}\...
2
votes
0answers
50 views

DL windowed envelopes: modify header and margins

I am using the lettre class https://www.ctan.org/tex-archive/macros/latex/contrib/lettre wich is very convenient for letters that have to fit DL windowed envelopes. Then the To adress fits perfectly ...
3
votes
2answers
485 views

How to change the appearance of `listof` headers?

I'm an amateur user of LaTeX and I'm writing my PhD thesis using a template that I found in: PhDtemplateLATEX Looking inside Classes/CUEDthesisPSnPDF.cls, I found that it uses fancyhdr for the ...
4
votes
2answers
647 views

'List of Algorithms' title is not all in caps

In my dissertation, I have added a page for list of algorithms, using \listofalgorithms command. However, the title of the page is not in all caps ('List Of Algorithms'), while it's supposed to be in ...
2
votes
1answer
49 views

How do I change the color of the color below the header?

I want the color of number 2 to be the same as the color of number 1. This is the code that I've used: \documentclass[xcolor=dvipsnames]{beamer} \usetheme{Darmstadt} \usecolortheme[RGB={0,0,128}]{...
0
votes
1answer
34 views

Appendix index behaves strange in header

I need to add the appendix index into header. That's what I managed to write for it \documentclass[14pt, a4paper]{extreport} \usepackage[utf8]{inputenc} % кодировка исходников \usepackage[T2A]{...
0
votes
1answer
44 views

How to move a header to the extreme top of the page?

I have a image as footer: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} \usepackage{lipsum} \setlength\headheight{26pt} \fancyhead[L]{\includegraphics[width=...
4
votes
2answers
44 views

Redefine moderncv header, headheight

I am writing a curriculum vitae at the moment using the moderncv package for this. However, I would like to use the header on every single page. While on the first page, I want to use the option to ...
3
votes
1answer
20 views

How to use \book section title in heading using memoir class

I'm trying to define a pagestyle with the document title in the even-heading and the title of the current book section in the odd-heading, but have been unable to get it to work. The even-heading is ...
1
vote
1answer
127 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
33 views

control of the markers at header

I need a booklet that has separate sections for different intended groups which should have a marker at the header. Gonzalo helps to give the following, but the title page and the pages that contain ...
1
vote
1answer
21 views

page header in lncs format

In lncs format page headers, even pages have authors name and odd pages have the paper title. I want to change the paper title to section names. As in, in odd page headers I want the section/chapter ...
3
votes
1answer
240 views

Suppress running (Fancy) header on first page (of Glossary)

in an earlier question I asked to format the Glossary headings to match the chapter heading which was solved by Nicola Talbot thru Formatting of heading 'Glossary" to match chapter and index ...
1
vote
1answer
141 views

Problem with Table of Contents and Chapter on Introduction

I am currently writing my final master thesis in tex. I am stuck up in the following place. Firstly I have a chapter called Introduction which is not numbered. In the table of contents page, the ...
4
votes
3answers
3k views

Add chapter/appendix prefix in table of contents of scrbook with correct appendix running head

My first question is how to add the chapter or appendix prefix in the table of contents of scrbook class instead of the its default appearance. For example, in the figure below, I want to change the ...
0
votes
1answer
143 views

fancyhdr and headings in table of contents, bibliography and so on

I want to change the headings in my document with fancyhdr in my document to be bold and lower case: This is quite easily done by using fancyhdr: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
3
votes
2answers
60 views

classification labels in headers and footers

I'm trying to write Latex documents that will automatically satisfy government requirements for labeling certain classes of information: - Each paragraph starts with a label indicating its importance....
1
vote
1answer
26 views

biblatex fancyhdr inconsistency

In the following MWE the chapter title in the header gets set \smallcaps which is defined as \renewcommand{\smallcapsspacing}[1]{\textls[50]{##1}}% \newcommand{\smallcaps}[1]{\smallcapsspacing{\...