Tagged Questions

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

4
votes
1answer
371 views

Page numbers restart for preliminary pages

I have just started typesetting my PhD thesis. I am using the book class. I have a parent file where I define style, chapter header styling, page numbering, etc., and I include every chapter using ...
5
votes
1answer
107 views

How to place section titles in the header, but not in the document?

I need to place some \part titles within my document, but make them invisible in the text, and only appear within the table of contents and headers. With this code, the \part titles are not found ...
3
votes
2answers
588 views

Koma-script header/footer change with includepdf

I'm (still) moving from regular LaTeX classes (report, article) to Koma-Script. Lots of things are just okay, but not everything. My current problem lies with PDF inclusion and header/footer change ...
3
votes
1answer
520 views

Report document class with upper right page numbers and modifying chapter title format

I'm writing a lengthy masters thesis paper and am requiring some annoying editing of my TeX document. I need to have all of my main headers (table of contents, list of figures, list of tables, ...
0
votes
1answer
264 views

Create a header for my page

Can someone help me to create like this header with LaTeX? here is My code : \documentclass[a4paper,11pt] {report} %document A4 type rapport \usepackage[utf8]{inputenc} % les caractère spéciaux ...
1
vote
2answers
376 views

Page number won't appear on the first page Chapter

I' using the following code to create the table of contents, list of figures, and so on: \documentclass[12pt,envcountsame,envcountchap]{svmono} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % ...
4
votes
3answers
622 views

two horizontal lines in header

I need to reproduce the following header format: \documentclass{book} \usepackage{fancyhdr} \pagestyle{fancy} \cfoot{} \lhead{\thepage}
3
votes
1answer
126 views

How to display the page range of marked locations in a passage in ConTeXt?

I have a macro placed throughout my document marking key places within a long passage. These have no relation to the chapter or section titles. _____________ _____________ | | ...
2
votes
1answer
79 views

Tex prints my TOC with no headers. And I want my headers!

My toc has 03 pages. When printed (pdflatex), the first one gets no header, while the other two gets it the way its supposed to be. The thing is: I want ALL of them to have headers. Here, take a ...
3
votes
1answer
126 views

Different footer for each chapter

I would like to have a different custom footer for each chapter. For e.g each chapter has a version, i would like to print that version for that chapter in the footer.
3
votes
1answer
104 views

Title Suppressed Due to Excessive Length

It is appearing this strange message (only on the right side): On the left side the title appears normally: I have both \title{...} and \authorrunning{}. Even If i write a title of only 5 chars ...
2
votes
1answer
80 views

Page number of ToC should be in the header

The page number is in the footer not in the header, I used the answer of @cmhughes in this link and it was good but as it is well known that the ToC may last for 4 or 5 pages not only one, that is, ...
3
votes
1answer
167 views

titleps' page styles inserted just before chapters start too early

The following MCE and image show that titleps' page styles inserted just before chapters start too early: the head rule begins with the 'test' page style which should be applied only after the end of ...
5
votes
1answer
2k views

Modifying the headline width in Beamer Warsaw

I am using Beamer Warsaw for a presentation. I need to modify the headline and the footline, since the title of the work is very long. Therefore, for the footline the adjustment is: ...
6
votes
2answers
246 views

Have page number on the left side of the empty page before the start of a chapter

I've been working a while now to get the layout the way I want it, but I still have two things that I can't seem to get fixed. I would like to have the page number of the empty page before the start ...
2
votes
1answer
131 views

Changing whether the footer rule is present

I would like the footer to be different after the first page of my problem sheet document I have implemented the following: \fancypagestyle{questions} { \fancyhf{}% Delete the current section ...
6
votes
2answers
410 views

page number in a diamond box

I have the following code I need to put the page number at the top of the page resulted in a diamond box. I would be grateful for any help or if you can indicate to me the code to generate it. ...
10
votes
1answer
6k views

How to add a picture to fancyhdr *header* (and align in the top right)?

In the MWE below, the blue square aligns according to plan, whereas the dummy-image doesn't, see screenshots below. How to re-code so that the dummy-image "A" is aligned like the blue square? ...
1
vote
1answer
166 views

\usepackage{fancyhdr} remove bookmarks

Hi everybody sorry for the inconvenience, i try to make a thesis in pdf and i like to put two things in: 1) change the style of chapters (Lenny); 2) put the chapter in a header top on the page; ...
2
votes
1answer
193 views

Trouble manually controlling endfloat's ToC and header behavior

In my thesis, I would like to have each figure and table on its own page at the end of each chapter (easy with endfloat) The first figure of each chapter begins its own section that goes into the ...
24
votes
2answers
527 views

Breadcrumb hyperlink header

I wish to put breadcrumb navigation with hyperlinks into the header of each page. Clicking on each part, chapter, section will take you to the beginning of that part/chapter/section. I'm already ...
1
vote
1answer
261 views

scrbook twoside=off but alternating headings like with twoside=on?

I use scrbook for a large document and decided to print it out one sided only. So I added twoside=off to the scrbook class options. However, that's not quite what I wanted to achieve. There is only a ...
1
vote
1answer
172 views

the space between the section title and the page margin is too much [closed]

I face a large space between the start edge of the page and the section, please forgive me as I am new user for Latex. The problem is the distance from the paper's edge to the text body is too large ...
2
votes
1answer
522 views

Header for frontmatters using scrpage2

How to set page numbers for front matters similar to main matters. Main matters header need to have chapter title also. Not added in MWE. Front matters must have only page number as in main matters of ...
0
votes
1answer
65 views

heading on a page

I am using IEEE template to write a paper for a conference. The conference requires to put a header on every page and footer on the first page. I have been able to put footer. But I cannot get the ...
9
votes
3answers
1k views

Preserve page numbering in fancyhdr

I'm using the fancyhdr package to include a header on each page. In order to surpress the section title also being cited in the header of each page, I'm using the command \fancyhf{}, however this also ...
5
votes
1answer
3k views

Suppress page number till table of contents in latex scrreprt and avoid that “contents” appears in ToC

I'm writing my bachelor thesis in the documentclass scrreprt. Unfortunately I can't suppress the page numbering, till the table of contents begins. The first two pages are empty. But then LaTeX ...
2
votes
1answer
144 views

Memoir headers with different font shapes

I'm using the ruled pagestyle under Memoir with small caps in the even page headers: \makeevenhead{ruled}{\scshape\leftmark}{}{} Is there a way to set only the title name in small caps and not the ...
2
votes
1answer
220 views

Remove all-caps ToC, LoF, … in header

yesterday I tried to remove the all-caps of my ToC, LoF, ... in my documents header and think I encountered a problem/bug. My MWE: \documentclass[12pt, oneside, a4paper]{book} ...
0
votes
1answer
161 views

How to make the first page of a latex document like other pages

I am writing a paper with the article document class. The first page contains a large footer than other pages. I want to make it filled with text like the other pages and contains the same footer. a ...
5
votes
3answers
327 views

Lower case in chapter header

I am writing a document using the book class. The problem is, that I want the headers to be in lowercase letters. How to force them to be lower case? A sample code is \documentclass{book} ...
3
votes
1answer
210 views

Enlarge small caps and memoir headers

I enlarged the small caps of my font by using the letltxmacro package. This works fine in text, chapter titles, etc., but I'm using the \pagestyle{ruled} under memoir which causes even page headers to ...
2
votes
3answers
135 views

Separate section number in headers

I'm writing a book and want my separate odd and even headers, with centered chapter/section titles on even/odd pages respectively. On both pages I want to print the section number on the outside of ...
4
votes
1answer
901 views

TikZ header and footer across top and bottom of bulletin/newsletter page

I would like to have a simple TikZ coloured header and footer for a bulletin/newsletter template. I have in mind something such as this: Note the green bands spanning the width of the first page at ...
5
votes
2answers
358 views

Prevent superposition of titles in header (fancy)

I would like to prevent the issue of having titles superposed in the header of my report. I am using the following code: \usepackage{fancyhdr} \setlength{\headheight}{15.2pt} ...
4
votes
1answer
56 views

problem with a header (not like the others)

i'm a new member in the community and a general user of latex which i find really awesome, even if sometimes he drives me crazy, i have a little problem with a file i want to re-write, i know how to ...
3
votes
4answers
499 views

Footer on last page

I begin with LaTeX and use fancyhdr. So I've got a sweet footer for all my pages but...I'd like to create one another which would be active on last page only. This footer will contain my informations ...
2
votes
1answer
2k views

Removing Headers, Keeping Page Numbers in the same time

I wrote my diploma in LaTeX using Lyx, but now I have big problem to fit the output to universities' standards. I need to remove Part/Section... title from header, I found that using: ...
1
vote
3answers
1k views

How do I remove “Chapter N” from the chapter titles of a book

How do I remove "Chapter N" from the chapters when using the book document class? This does not appear in the TOC (which I don't want, either). But it appears at the beginning of a chapter, and on ...
1
vote
1answer
114 views

restore headings section

I use scrpage2 and automark such that chapter and section are printed to the heading. I now have a special case, where I configure glossaries to print its title to the heading, but In an example I ...
4
votes
1answer
1k views

Customize \chaptermark for \mainmatter

Hey guys it's me again, I tried to add \leftmark to my header, but I want to change it from Chapter 1. Introduction to 1 Introduction. My MWE: \documentclass[12pt, oneside, a4paper]{book} ...
2
votes
1answer
106 views

Different \pagestyle - doesn't accept last one

I'm stuck again. -.- I'm currently creating a template for my projects works, thesis, ... and I tried to structure it with \include what really worked fine till now: ...
0
votes
0answers
29 views

Suppressing page numbers for floating figure [duplicate]

At the end of a manuscript, I have several figures, each of which takes up an entire page. A couple of these figures have long captions that end up overlapping the page number. I'd like to suppress ...
1
vote
1answer
556 views

Setting \pagestyle{fancy} seems into create an error

Calling fancy page style is somehow apparently causing the following condition to test true. \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} \ifcsname chapter\endcsname% ...
4
votes
2answers
209 views

How to display the chapter number in the headers in ConTeXt?

I am using serupheadertexts to define the headers in my document: \setuphead[chapter] [number=yes] \setupheadertexts[{\getmarking[chapter]}][][][] I want to access the chapter ...
3
votes
1answer
143 views

How to place multiple lines of text in the headers in ConTeXt?

I am using this to place headers within my document: \setupheadertexts[{Birds of South America \getmarking[chapter]}][][][] I tried to place the title on a different line, using \\, \crlf, \vskip, ...
1
vote
1answer
96 views

How to place chapter titles in the header only on the first page of each chapter in ConTeXt?

How can I place the chapter titles in the header, but only on the first page of that chapter? This is the opposite of the question, How to prevent chapter titles from appearing in the header on the ...
8
votes
1answer
340 views

a tikzpicture on pages without chapter and index

I would get the result of the output below \documentclass[11pt, a4paper]{book} \usepackage{geometry} \geometry{% papersize={19.7cm,27cm}, centering, textwidth=380pt, textheight=650pt} ...
1
vote
1answer
158 views

Issue with fancyhdr and child documents for KOMA report

I have a strange problem with fancyhdr and report (KOMA) together with child documents. Individually for each child document, the headers are like I want them to be, but when I compile them all ...
4
votes
1answer
113 views

Can I prevent endfloat from changing \leftmark and \rightmark?

I am working on a thesis with floats at the end of each chapter. endfloat lets me keep the figs/tables near their first callouts while writing so the order is correct, but I don't want to use the ...