{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
33 views

How can I add a footer to precisely one page such that there is a bar over the footer?

How can I add a footer to precisely one page (namely, to the first page) such that there is a bar over the footer? I see some people say to use the user package fancyheadings. However this changed ...
2
votes
2answers
123 views

How to set a background image for the header

I use IEEE latex file for a conference. The conference has provided a Mircosoft Word template for the paper that matches the IEEE tex file but it has a background on the header as follows, which is ...
1
vote
0answers
52 views

Decrease indentation of header text (fancyhdr) to 0.15 cm (same as \titleformat)

I'm using fancyhdr for the header. I want to decrease the indentation of the text in it (header - italic text): Now is like in the image but I would like to have the same indentation in both ...
2
votes
1answer
39 views

Dictionary Style Fancyhdr Headers with Multiple Entry Commands Defined

So I am trying to create a dictionary, I have mostly everything worked out except for that signature dictionary style header where the first and last word of the page are displayed in the header. I ...
2
votes
1answer
111 views

How to make the page number appear at the bottom of every page after applying the \newpage command

I am looking to see how I can apply \fancyhdr to make the page number appear at the bottom. What I found inside the TEX forum doesn't seem to work because I am using the \newpage command to create new ...
2
votes
1answer
44 views

Getting currenttitle in fancyhdr

The usual way of getting section names in fancyhdr headers is by doing: \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} However, this doesn't get subsections, subsubsections, ...
3
votes
2answers
46 views

Geometry package: Center footer relating to the pagewidth

I'm working on the final layout of my text. I've set some margins with the geometry package: \documentclass[ngerman,12pt]{article} \usepackage{geometry} \usepackage{pagecolor} \usepackage{lipsum} ...
1
vote
0answers
35 views

pt space between left and right sides of frame?

I edit the footline width in beamer. but it not comes what i need solution. i need spaces between left and and right side frame some pt space.
1
vote
0answers
63 views

Do not count back of the title page in Page number in two side book style file

I am writing a thesis in which after the title page, the next page coming back to the title page. If I put \cleardoublepage\null, the next page comes to the right place but the page numbering starts ...
2
votes
1answer
68 views

Header in a box, with dynamic content

I'd like to reproduce this header : I would like it to appear at the top of every page, with the default font, and the date and the page should update dynamically. The "edition" and "reference" ...
1
vote
1answer
34 views

To Display Current Section name as a header in Thesis Writing

Please guide me, what should i used instead of this code, so that the current section name will be displayed instead of the chapter name as a left side of the header in the page. Thank you.
0
votes
0answers
17 views

repair the float package [duplicate]

I'm trying to compile a .tex document, but something is not working. This is the head of the document: \documentclass[aip,reprint,amsmath,amssymb, onecolumn, nofootinbib,showkeys,cha]{revtex4-1} ...
3
votes
1answer
37 views

fancyhdr alphabetical chapter problem in frontmatter of book

Here a not-so MWE: \documentclass{book} \usepackage{a4wide} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{polyglossia} \setmainlanguage[spelling=new,babelshorthands=true]{german} ...
2
votes
1answer
61 views

Force fancyhdr headheight same on all pages

I'm using fancyhdr to create a header with two lines in lhead and two lines in rhead like so, \documentclass[12pt]{article} \usepackage[margin=1.0in]{geometry} \usepackage{lipsum} ...
2
votes
1answer
55 views

Remove “chapter” keyword from header

The current code for my latex document is this: \documentclass[12pt,notitlepage]{report} \usepackage{lipsum} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} ...
2
votes
1answer
46 views

Modify Chapter thumb for Appendix revision 2

Building from the post found here developed by Gonzalo Medina, how can I go about getting the header in the Appendix section to show up like "Appendix A. This is Appendix A", while still keeping the ...
2
votes
1answer
43 views

Appendix header to show like “Appendix A. Chapter name”

In the MWE below, I wanted to get the appendix header to show up like: Appendix A. Chapter name. In the MWE, just the Chapter name shows up. Here is my code: \documentclass{book} ...
0
votes
1answer
48 views

Generate header of sections by keeping the page numbers at the bottom right throughout the whole document

I am using Easy thesis template to write my thesis. I want the page numbers to be at the bottom right in all pages including, \frontmatter, \mainmatter, and \backmatter. (also chapter title page) So ...
1
vote
1answer
30 views

adding logo in report class

Considering the following \documentclass[a4paper]{report} \usepackage{graphicx} \usepackage[affil-it]{authblk} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{lipsum} ...
2
votes
2answers
215 views

Problem with fancy header

I have a problem when using the fancy header (\pagestyle{fancy}). When I include it, the text overlaps in the upper part as shown in this image: I tried to use the geometry package, but it didn't ...
0
votes
2answers
100 views

position the page number of whole document to the bottom right

I am using Easy thesis template to write my thesis. In the Thesis.cls file it is written like \def\baseclass{book} which I guess it uses book class as the basic one. I use single sided page. I have ...
1
vote
1answer
33 views

Customizing header in index to include current index entry

I know that the header can be be customized using various packages; not the least of which is fancyhdr. In the index of my document, I would like to have the current "topic" of the index shown in he ...
1
vote
1answer
45 views

srcheadings shows only the header

I'm trying to include a header/footer in my document with the srcpage2 package. The header works just fine, but the footer is not visible on any page. ...
3
votes
1answer
73 views

AMSART: Adding three-lines note (header) in the upper margin of the first page

I'd like to add a three-lines note in the upper margin of the first page of a document in amsart. How do I do it? For reference, this is the basic structure of the document: ...
3
votes
2answers
86 views

Equation overlapping with body text

In the MWE below, my equation is clashing with the text of the body of the document and also the header. How can I get the equation to not clash/overlap with the document text? Here is my code: ...
0
votes
0answers
65 views

Remove header and Add Custom header to SDAPS latex

I'm using sdaps-1.1.10.tar.gz (development snapshot) I was trying to design my own header in latex for SDAPS which has text along side with index number box like this Instead of this auto ...
3
votes
1answer
158 views

Header and Section Fancy Styles

How can I modify the code generated by Mr. Gonzalo Medina found here, to get the header, section and subsection to look like this: \documentclass[11pt,fleqn]{book} \usepackage[english]{babel} ...
1
vote
0answers
79 views

How to use footer from cleanthesis in moderncv? [closed]

I have written my thesis with the template cleanthesis. Now I want to add a CV to my thesis, and I would like to write the CV with the class modernCV. Since modernCV is a class, I need to copile it ...
1
vote
1answer
108 views

Changing header of Questionnaire sdaps

I am new to sdaps and I want edit below header, which was auto generated by sdaps. I was unable to edit this use using latex. I want Add description along with index number like this in to the ...
1
vote
0answers
108 views

Colored box along side of pages with chapter and section headings (in book class)

In this MWE, that involves a very attractive chapter heading style found here, and also an elegant chapter thumb setting found here, developed by Mr. Gonzalo Medina, I wanted to get the chapter name, ...
1
vote
1answer
33 views

What can I do if I use class “yathesis” and the chapter title is too long?

I use the class yathesis to edit my thesis. There is a problem: the titles of several chapters are very long, so in the page headers, a bad result is produced like this picture: Picture: The text ...
2
votes
1answer
286 views

Undefined control sequence \makecvtitle

I tried to use some Header modifications on my CV, made with moderncv.cls (moderncv 2015/07/28 v2.0.0) All modifications I found here did not work! Here is what I got Undefined controlsequence. ...
1
vote
1answer
46 views

How do I prevent “Contents” from appearing twice in the header when I use \fancyhdr in the book class?

In the TOC page the "Contents" title appears twice, once at the beginning and once at the end of the table of contents. This problem started when I added the "fancyhdr" commands, since headers and ...
2
votes
2answers
58 views

How to make Page X of Y in article document class?

I would like to just have a footer with "Page X of Y", but the following only works half the way for me: \documentclass[a4paper]{article} \setlength{\parskip}{\baselineskip} ...
0
votes
2answers
53 views

Wrong vertical position of index header on some pages

I stumbled across a totally strange behavior by using an index in our document. The vertical positioning of the headings on the first and the last page is fine, but on all intermediate pages the ...
2
votes
0answers
43 views

header is not synchronize with title page [closed]

I am using Easy Thesis to write my thesis. I need to add a page called "List of Scientific Contribution" and I added successfully as described in my earlier post after the Reference page. But now I ...
3
votes
2answers
78 views

Can't renew chapter numbers in header

I have a somewhat complex preamble (because of the particular aesthetics I want), due to which I am using scrpage2 package with the book document class. Everything was working fine, until I introduced ...
2
votes
0answers
34 views

How to remove the header of the first page of the bibligraphy? [closed]

\documentclass[12pt,a4paper,openany]{book} \makeatletter \newenvironment{keeppage}{\let\thispagestyle=\@gobble}{} \makeatother And wrap the table of contents like so: \begin{keeppage} ...
2
votes
0answers
56 views

entries in toc separated by same distances [closed]

I am using Easy Thesis template to write my thesis. I want to add a 'chapter like page' to write a list of conferences and posters I did during studies. So below I explain what I did to create a ...
4
votes
3answers
37 views

Setting headlines with widths which differ from the width of the body text

Using (plain) TeX, I'm trying to set the headline to a different width from that of the body of the text (i.e. hang page numbers to the outside of the text, as seen in the TeX Book).
5
votes
1answer
292 views

Typesetting an infinite page

How would I go about typesetting a document which will end up being printed on a long continuous roll of paper. The paper is 21cm wide (a vertical A4 page width) and infinitely long. Obviously I ...
3
votes
3answers
83 views

Specify distance from page margin to header with geometry

With geometry, the placement of the header is set by specifying the distance from the text body below to the header above with headsep: \documentclass{article} \usepackage[showframe, headsep = ...
2
votes
1answer
70 views

Retaining chapter page headers with chapter*{}

My question is essentially a duplicate of this but for the book class (for which the solution does not work), namely: If I have an un-numbered front-matter chapter (i.e. \chapter*{A chapter}), how ...
0
votes
0answers
48 views

the header of conclusion come also in bibliography

I have a question about my thesis I have seen that the header of conclusion come also in bibliography. \documentclass[twoside,12pt]{Classes/aesm_edspia} \usepackage[latin1]{inputenc} ...
2
votes
1answer
35 views

Same footer on pages

In the WE below, I was attempting to get the same footer on each page of the document (except the first page of the chapter), however, I get the footer appearing only on the odd pages. Can you help ...
0
votes
1answer
66 views

Spacing between Header and Chapter Titles

I have the following template: %Loading in the packages \documentclass[12pt]{report} \usepackage[a4paper, width=150mm, top=25mm, bottom=25mm ,bindingoffset=6mm]{geometry} \usepackage{graphicx} ...
2
votes
1answer
47 views

Suppress footer on first page of chapters

How can I suppress the footer on the first page of the chapters from the code given below? \documentclass{book} \usepackage{lmodern} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
0answers
59 views

Beamerposter missing header with title

I am struggling to create a poster presentation with beamerposter. What I am simply trying to do is to reproduce the examples in the github page; one of which is this one: ...
1
vote
0answers
54 views

Should I turn around header and footer when I use landscape? [closed]

I have a general question about layout, thus I don't deliver a MWE yet (if you want one, please tell me). In my appendix, I use a lot of landscaped pages for longtables. The tables are several pages ...
2
votes
2answers
81 views

Blue box next to header (tikz)

I would like to draw a blue box next to the header but the blue box should be in the margin and not be part of the header it self. In the real document the margins are set with geometry. ...