{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}, {scrpage2}, and {titleps}.

learn more… | top users | synonyms (2)

3
votes
1answer
55 views

It doesn't displayed \section name, number… at header in \tcolorbox

I am trying about section's in tcolorbox. My code is \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=6cm,marginparsep=.5cm, ...
8
votes
0answers
61 views

Beamer : editing partly the header

MWE : Considering the following minimal working example : \documentclass{beamer} \usetheme{CambridgeUS} \begin{document} \section{Section1} \subsection{Subsection1} \begin{frame} \end{frame} ...
0
votes
1answer
21 views

Bad pagenumber display in head and footline

I'm just writing my thesis in Latex and I am having a problem with the pagenumber display. I want the headline to contain chapternumber, chaptername and pagenumber. The footline should be empty. An ...
1
vote
1answer
38 views

Non numbered chapter* header issue

I have a problem with the headers on the second page of my non-numbered chapter. Below is my minimal working example. Everything works but in my Introduction chapter (if I put it without a number as ...
2
votes
0answers
73 views

How to get rid of the page number

I customized my footer so that the page number will be on the right side of the footer instead of its default location which is the center of the footer. When I generated my file, the page number ...
1
vote
0answers
20 views

Different fnmark style in footer and text

I'm using the memoir document class and redefining fnmark like this in my preamble: \documentclass{memoir} \usepackage{footnote} \usepackage[bottom,hang]{footmisc} \usepackage{xcolor} ...
0
votes
0answers
32 views

Using ornaments from pgfornament in KOMA Script as headsepline

I want to use an ornament from the pgfornaments package as the headsepline in a KOMA-Script scrbook. A minimal working example of my document would be something like: ...
0
votes
0answers
22 views

How can I get unnumbered chapters in the center of headers?

With titlesec, how can I include unnumbered chapter titles in the center of headers?
0
votes
0answers
14 views

Should the date of the newspaper I mention be emphasized as the name of newspaper? [on hold]

Maybe this question is off-topic but I really don't know which SE site I should choose to post it. Sorry about that. The question is that, when I mention the origin of an article in the footnote: ...
0
votes
3answers
38 views

header rule margin with boxes

I'm creating a document with a box in the header and an other one in the footer. But I would like to have the same space between the bottom of the top box and header rule and between the top of the ...
1
vote
1answer
35 views

Add the title 'Appendices' to the top of the page containing appendices

I want to have the word 'Appendices' at the top of the page containing appendices. I have two columns of text, and there are various appendices labelled 'A title here', 'B title here', etc. I ...
1
vote
1answer
26 views

Glossaries and custom section headings broken

I've a document, where I use the glossaries to manage acronyms for me. Sometimes, I use a \gls{} command inside a section heading, and I have defined page headers to have the current section heading. ...
0
votes
2answers
44 views

scrheadings: no pagemark in the list of contents

everything works fine with my pagenumbers and headers. There is one problem: How Can I exclude the first pages (list of contents, glossar ...) from the page numbers? The numbers should start at the ...
0
votes
1answer
34 views

section header with markboth

I have used \markboth to specify specific text in certain sections of my document. Now in the middle part of the documents (the real chapters), I want to chapter name left and the section name right. ...
0
votes
1answer
64 views

Adding header to all pages, removing TOC and double entries in header and costum pagenumbering

I'm setting up my thesis in memoir class. Questions [Those that have been answer are marked with (!) and the code has been amended to reflect the answers]: How do I make my headers and footers ...
1
vote
2answers
65 views

Book(standard class), headings for chapter* sections not all caps - urgent help needed

I have a 400 page document in Lyx 2.1, book(standard class), using default settings. The \chapter headings appear in all caps in the header, but the \chapter* headings (which I manually add to the TOC ...
1
vote
1answer
43 views

Two problems with my homework template: overlapping text in footer, and large fbox minipages

I begrudgingly used this template for homework through undergrad, ignoring or working around its minor issues. I would like to finally figure out how to fix some of the problems I have with it, and ...
3
votes
2answers
65 views

Horizontal lines

In my header of a page in documentclass scrbook there should be two horizontal lines with text in between. This was my idea: \begin{minipage}{12cm} {\color{black}\rule{12cm}{0.7mm}} \begin{center} ...
1
vote
1answer
17 views

Section gets included in header

I wrote a header for my notes in class.For the header i just wanted "My notes" in the center.So i used "My notes" in the \chead.After quick build i get the name of a section on every page included in ...
1
vote
1answer
116 views

How to add a table in footer

How can I add a table in the footer in LaTeX? I was trying to add a table that has three rows and 2 columns. In the left column, text is left-aligned, and In the right side column, text is ...
0
votes
0answers
33 views

Page Numbering and Header Problem, with Margin and Multicols

1) The chapter page with margin, page numbering is not in the center. My code is, \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
2
votes
1answer
34 views

Header disappears on pages with a figure

I noticed that my header (see MWE below) does not show in pages where the figures take up the whole page. Actually, an "irrelevant" header appears which is the section name. In addition, the page ...
3
votes
3answers
45 views

How to write a footer for a table with multiple images

I am trying to add a footer to a centered table with three images. When I add the footer, the last image disappear and the footer which does not fit in one line is not using more than one line. The ...
2
votes
1answer
71 views

How to change \headsepline color in KOMA-Scriptclasses

At the moment I am working on a rather big project in which I typeset a lecture note for a professor of mine. I want to use the headsepline the KOMA Script Class offers, but I want it to have the same ...
3
votes
1answer
64 views

Latex - Headlines with Chapter (left = even page) and Section + Subsection (right = odd page)

I would like to format my headlines like that: left page: left side: Chapter x, right side: name of chapter rigt page: left side: subsection, right side: name of subsubsection but only if there is ...
1
vote
0answers
21 views

I need help for putting the chapters (and their number) in the header. I've the command for the page number

% ********* Header and Footer ********** % This is something to play with forever. I use here the advanced settings of the KOMA script \usepackage{scrpage2} %header and footer using the options for ...
0
votes
2answers
84 views

Insert footer on chapter page but NOT header

this may or may not seem to be a weird thing to want, but I would like to have a customized header on all my pages, except the first one of each chapter, ToC, ..... Furthermore, I would like to have a ...
0
votes
0answers
18 views

avoid \headrulewidth appearing at chapter beginning

I am using the following code set my headers. \fancypagestyle{plain} \fancyhf{} \pagestyle{fancy} \fancyhead{} ...
1
vote
0answers
37 views

Beamer: split header in two lines

I have a lot of sections in my beamer presentation. Because of that I cannot see all of them in the header. Since I'm using the Darmstadt theme, it seems that the header has enough space two write ...
1
vote
2answers
59 views

Change link target of \insertshorttitle

I want to change the following small thing in my custom beamer template. In my footline the title of my presentation is printed using \insertshorttitle, like in many standard templates. Normally the ...
0
votes
0answers
40 views

nextfoot in scrlttr2

I do not understand some of the features the nextfoot variable has in the scrlttr2 KOMA-script class. \documentclass[]{scrlttr2} \pagestyle{headings} \usepackage{fontspec} \setmainfont{Linux ...
1
vote
1answer
77 views

Problem with headings

I have some problems with the headers for some of my chapters within my Latex document. I’m using a password secured template so I’m a bit afraid to post every detail below. Just considering the ...
0
votes
1answer
44 views

How to have footer in first page? (Table of contents is also in the first page)

I have footer in my article file, but the footer does not show in the first page. The Table of Contents is in the first page too, there is a page number in the bottom of the page, but I do not need ...
1
vote
1answer
45 views

how to put header (and footer) on title page with correct positioning?

I tried to use fancyhdr package and the result I have with the output is as shown here. The screenshot shows the junction between pages (bottom of) 3 and (top of) 4 (both header and footer being the ...
0
votes
2answers
50 views

Help regarding heading and page numbers

I want to place the heading in the middle and the page number below in Latex. Please suggest how to do it. I am using the following coding. \chapter{$\Lambda$-Modules}\ref{ch:prili} ...
5
votes
1answer
204 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
14
votes
2answers
15k views

How to remove footline on the title page of beamer slides

I am using the default theme, and use the following to customize the footline, \useoutertheme{infolines} \setbeamertemplate{footline}{\hspace*{.5cm}\scriptsize{\insertshorttitle \hspace*{50pt} ...
0
votes
0answers
40 views

scrlttr2: make second page footer match first page footer

I'm trying do my cover letter in scrlttr2. I'm working from a template which I found online and I want the same footer for the second page as for the first. I really have no idea how to do this and ...
14
votes
1answer
346 views

Different image in every page's footer

I found Using fancyhdr to create an image based header and footer which is helpful and gave some ideas but I want to basically put in the bottom right or center of the footer a different image file ...
1
vote
1answer
72 views

Need Help in formatting my Book - Chapter headings - Headers

I am a Chemical Engineering graduate and I am helping my mentor in typesetting his book. He has given me the text and equations in MS Word and I have to convert the same in LaTeX. I used Adobe ...
0
votes
0answers
51 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} ...
0
votes
1answer
48 views

Landscape and header formatting [duplicate]

Hello I am really new at this. I am trying to represent a .pdf with the following specifications: -a4 papper -orientation: landscape -Special header with three divisions -after header divide in 4 ...
3
votes
2answers
34 views

Footer/Header for first page of two column article

How can I add a footer and header just on the first page of a two column scientific article of type \documentclass[conference]{IEEEtran} and/or \documentclass{article}?
1
vote
0answers
56 views

Help with a footer/header/pagenumbering in a greater project in LaTeX documentclass book

I just wanna make a nice template for some greater work e.g. thesis. But I have a lot of trouble. I tried to make the pagenumbering start after the table of contents. But for some reason it doesn't ...
7
votes
1answer
43 views

include document title in memoir class header

Using memoir class on a (lengthy) document, I want to customise headers, however (having spent several hours of trial and error) I'm presently stumped when it comes to the nuances required. Can anyone ...
13
votes
2answers
691 views

Automatically remove page number if document has only one page (but not if two)

I write a lot of documents (agreements) based on memoir with the article option. Normal pagestyleis plain (page number centered in the footer). Sometimes a document is only one page long, and a page ...
1
vote
2answers
65 views

Taking notes for class in Latex, and changing parts of fancy header across include

I am beginning grad school in the fall and I wanted to try and take (or copy over after class) all my notes in LaTeX. I wrote a python script that looks at my calendar for all occurrences of classes. ...
1
vote
0answers
13 views

TeXmacs page header alignment and page numbering

I am trying to create a header like "Document ABC (Page xxx of xxx)" which is center-aligned on my TeXmacs document. However, I could not get set-header content to be center-aligned, they always ...
7
votes
1answer
808 views

Tables as Header and footer

I've been struggling with my .tex for quite some time now, and decided its time to look for help. This is the situation: all docs here (my office) need to bring, as header, a table (3 columns) which ...
2
votes
1answer
3k views

Beamer: changing footline background color

I would like to make the footline color black and the text white. I found this: Beamer: Background Color for Footline but didn't understand how it applied to my example. \documentclass{beamer} ...