{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
2answers
62 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. ...
2
votes
1answer
41 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}{} ...
2
votes
2answers
104 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
0answers
18 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
30 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
87 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
62 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, ...
1
vote
1answer
166 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
56 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
82 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
28 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
101 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 ...
2
votes
2answers
69 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
138 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} ...
2
votes
1answer
58 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
107 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 ...
1
vote
0answers
36 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
119 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
57 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
107 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
73 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
45 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
28 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
196 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
45 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
51 views

Reduce spacing in header footnote [closed]

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
105 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
148 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
82 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
113 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
37 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
52 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
272 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
95 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
62 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
123 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
97 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
97 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
127 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
70 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
106 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
166 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
85 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
57 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
104 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
74 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
97 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
51 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
103 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" ...