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

What to change in longtable.sty in order to avoid confusing marks? [closed]

I have a document with hundreds of longtables throuhout it. While checking the final document it turned out that the headers are putting wrong section names just as described here. A possible solution ...
1
vote
1answer
110 views

Myheadings, markboth and page number

I assume I'm not understanding something about myheadings and markboth. Here is my MWE (I'm running this on MikTeX 2.9 on a Win10 box): \documentclass{article} \begin{document} ...
1
vote
0answers
56 views

How to make the running head display the first section on the page, not the last? [closed]

For some reason my header produces a wrong description of the current section. Instead of the first section, the name of the last one is printed. After a lot of trying I figured out that this is ...
5
votes
1answer
99 views

Problem with scrlayer-scrpage's headers

I somehow miss some headers and it's not due to the page style being wrong. Here is an example: \documentclass[twoside]{scrartcl} \usepackage[headsepline]{scrlayer-scrpage} ...
5
votes
2answers
72 views

Header only for the first page

The header is printed on the first page only as I need, but the header box (empty) still present on other pages. How to get rid of it? \documentclass[a4paper,10pt,twoside,titlepage]{article} ...
1
vote
1answer
43 views

Can I tighten up the white space with this custom fancy chapter code?

I found this lovely formatting code for thesis chapter epigraphs posted by @Pluton. I REALLY like how this appears, but it is rather `chunky' and takes up a lot of white space. I also don't like the ...
1
vote
0answers
27 views

How to create command that associates pieces of content to keep them on same page?

I've pieced together a class for my preferred format of Cornell notes, and it allows for floating a summary to the bottom of a page. But, it requires manually choosing the page that will host the ...
0
votes
2answers
168 views

Text on background-image footer and header

I'm trying to create a template for my article, which has an image on the header, and on on the footer. I also want to put text on these images. The result would look like this : (Blue and green ...
3
votes
0answers
43 views

\csvreader combined with pagestyle

I am trying to print tests for 1200 students, each of them with their name and some other information in the heading and watermark. Therefore I must combine a loop a csvreader command and the ...
0
votes
0answers
46 views

Reduce spacing in header footnote

I have a footnote in the title of my bachelor thesis. Unfortunately the line spacing is too large, but perfekt for the rest of the text. I want to reduce it ONLY for the two footnotes in the title. ...
1
vote
1answer
99 views

Page Number Disappearing with openright

I am using such a document class \documentclass[11pt% ,a4paper% ,headsepline% ,headinclude=false% ,footinclude=false% ,twoside=true% ,cleardoublepage=empty% ,appendixprefix% ,numbers=noenddot% ...
8
votes
2answers
136 views

How to have two lines in fancyhdr

Sometimes I have long chapter and section names. Having them written in a header causes overlapping problems. So what I would like to have is two lines in my header. I want to have chapter number and ...
3
votes
1answer
77 views

Page numbers on first page and no logo on second page in newlfm

I am trying to write a cover letter with a header and footer on the first page, but no header on the consecutive pages. I also am having trouble adding a page number to the first page. Any help would ...
2
votes
1answer
95 views

Fancyheader cfoot overlaps with main content

UPDATED question. Here is an MWE - finally I could produce one. \documentclass{article} \usepackage{geometry} \usepackage{graphicx} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} ...
2
votes
0answers
35 views

Include \part* in header with memoir class

When using \createmark it doesn't seem possible to make a mark for an unnumbered part (\part*): \part*{Part} and \createmark {part}{both}{nonumber}{}{. \ } - does not create an unnumbered part ...
3
votes
1answer
49 views

One line header for two line section [duplicate]

In my code I have two line sections. But I want it in 1 line in header . What can I do? \documentclass{biditufte-handout} \usepackage{ptext} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
2
votes
2answers
249 views

Reduce space between footnotes and footer without geometry

I have the problem that I am not able to set the correct space between the footnotes and the footline. There is way too much space yet. Here is an example what it looks like: I found an example ...
2
votes
1answer
86 views

Insert part title in footnote in beamer presentation

I have a presentation made using beamer. I would like to have a part title in the footer. I have succeeded in putting the part number with \thepart, but haven't been able to put the title. Is this ...
2
votes
2answers
60 views

Hiding headline when page contains \section

I use the {scrlayer-scrpage} package for headlines and footlines and want to hide the headline and headsepline when my page contains \section. I found a similar question here: Suppress headers when ...
2
votes
1answer
107 views

Why do these page numbers get partially cut off at bottom of page?

I have recently come upon this paper, and for some reason the page numbers on the bottom of the page get partially cut off after page one. Does anyone have an explanation for this? Here is the code: ...
3
votes
1answer
91 views

Fix “CONTENTS” in header using etoc

I use etoc package for local TOCs to be inserted after each chaper title via \localtableofcontents command. It works fine, but it changes all chapter titles in headers into "CONTENTS" title. However ...
2
votes
1answer
96 views

Problem with utf8 adding color headers with fancyhdr

I'm making a book of poems and I'd like to add some specif style to the pages. So I use fancyhdr And everything goes right until I add \usepackage[utf8]{inputenc} This is the code I use ...
0
votes
2answers
126 views

Numbering of pages on LaTeX document

I have the preamble below, and I want to modify it to obtain: the numeration of pages with 1,2, ...etc., not with x,xi, ...etc. a line at the top of the page with the right name of the section and ...
0
votes
0answers
19 views

Header does not show up in scrreprt document class [duplicate]

I want to have section name on the top outer and page number on bottom outer parts of the page. I am working with KOMA-script bundle. This is my preamble: ...
2
votes
2answers
69 views

latex code suggestion

I want to this footer "978-1-4673-6540-6/15/\$31.00~\copyright 2015 IEEE" to appear only in the first page of the article. Please give me a latex code. I tried few code but it is appearing in all ...
3
votes
1answer
87 views

How to add part title to headers in memoir

I want to add the unnumbered part title into the headers in memoir, but \thepart command produces only the part number without the title. How would I redefine \thepart command to get the desired ...
2
votes
1answer
147 views

Pagenumbers / Headers with vertical lines style

I'm just writing my thesis and this board has proven very very helpful with a lot of issues I've had with Latex, thank you :) I'm almost done now and would like to make my thesis visually appealing. I ...
3
votes
3answers
80 views

How can I customize the plain side header with the renewcommand if parameters cause in an error

Minimal working example: \documentclass[12pt, a4paper, oneside, parskip=half]{scrbook} \usepackage{fancyhdr} \usepackage[english]{babel} \usepackage{blindtext} \pagestyle{fancy} \fancyhead{} ...
0
votes
0answers
56 views

How to have the same top/bottom margins (from the footer/header, if any) and the same left/right margins in the book class

I have the following document. Thanks to the answer http://tex.stackexchange.com/a/272591/ the absolute text-height is 20 cm (text-height+footer+header=20cm). I would that the left and the right ...
2
votes
2answers
92 views

Change page number position with \pagestyle{myheadings}

I am using \pagestyle{myheadings} in a LaTeX document, which by default shows the page number in the top right corner of the page. How can I change the position of the page number to bottom right?
4
votes
1answer
64 views

How to adjust the `absolute text-height` including the header/footer/footnote (if any)

I would like to have a document of a given absolute text-height (say 20cm) (from the header to last line, including footer/footnote, if any). Currently the settings are as in the following document. ...
4
votes
1answer
88 views

In memoir: section title in odd header, subsection title in even header

I am currently using memoir for a longer document with only sections and subsections (and subsubsections and paragraphs). If I wanted chapter title and section title to appear alternately in the ...
2
votes
1answer
50 views

\leftmark header: decreasing the distance between the chapter name and the chapter-number

After compiling the following document, it seems that there are at least two white-spaces between chapter 1 and blablabla in the header of page 3. How I can control this distance? Increasing or ...
0
votes
2answers
94 views

How to Specify left-side running headers in Koma class Scrbook

When compiling a document using the scrbook Koma class, the running headers on the left side of the page do not vary with the content on the page and instead uniformly read simply, "Content" ...
1
vote
1answer
83 views

Beamer's slide without footer

Goood morning. I'd like to make a slide of title without footer and it's mentioned in the others slides. Thank you for your answers.
0
votes
1answer
62 views

Get rid of the dot at the end of cventry and of the pagenumber in komacv

I want to get rid of the dot after \cventry. I found the section in the cls-file but if I copy that in my preamble and remove the dot it still doesn’t work. Only if I remove the dot temporarily in the ...
4
votes
1answer
41 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
203 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
58 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
43 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
144 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
52 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
60 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
41 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
80 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
74 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
36 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
19 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
46 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
77 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} ...