Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [header-footer]

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

2
votes
1answer
19 views

Add the date in the bottom

With the following codes \documentclass[12pt, reqno]{amsart} \usepackage{amsmath, amsthm, amscd, amsfonts, amssymb, graphicx, color} \usepackage[bookmarksnumbered, colorlinks, plainpages]...
0
votes
1answer
23 views

Repeated section titles clipping / overflowing through page

So I am currently writing a report in Latex, I chose to use the "classicthesis" template in the Overleaf editor. The problem I have is that the repeated section titles (i.e. if I begin a section and ...
3
votes
1answer
70 views

Different font size/position of beamer's navigation symbols template's content depending on regular/plain frames

Let's suppose I'd like to divert the navigation symbols template (e.g. in order replace them by the frame numbers, see this bug report ;) I would be facing troubles regarding the font size/position, ...
1
vote
1answer
15 views

How to change style of header in AMSBook class

Consider the following MWE: \documentclass{amsbook} \begin{document} \chapter{Chapter 1} \section{Section 1} \newpage \section{Section 2} \end{document} It produces on the top of the second page I ...
2
votes
2answers
63 views

Modify the header and footer

I want to obtain in the header like the following And in the footer \documentclass[12pt,a4paper]{report} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{1.pt}% ...
0
votes
1answer
25 views

Beamer Presentation - non devided subbar issue

I want to create the following beamer presentation but unfortunately, I couldn't. I don't know which package I need to use to fix this. I am using pdfpages package. Here's my code: \documentclass{...
1
vote
1answer
35 views

Place object in custom position, but differently for odd and even pages

This is an example page, with a custom footer, containing two different text blocks in the bottom right and bottom left, temporarily using package textpos: \documentclass[12pt,twoside]{article} \...
2
votes
1answer
27 views

Issues with doclicense, both with fancyhdr and with background

This is an attempt to insert the doclicense output in each page of a document, using fancyhdr: \documentclass[12pt]{article} \usepackage[ type={CC}, modifier={by-sa}, version={3.0}]{...
0
votes
0answers
19 views

How to repeat text that is not in a header or footer on every page along with a long table

I am creating a sign-in sheet for a class with many students and would like to repeat certain text on every page. This is my code so far: \usepackage{longtable} \begin{document} \begin{center} \...
2
votes
1answer
47 views

Question related to header

I'm using the following codes \documentclass[12pt,a4paper]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Useful Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %---------------------math--------...
0
votes
1answer
34 views

How to add a footer line above an equation only in one specific page of a two column paper

How can I add a footer line in one page of a double column paper? An example is added here.
1
vote
1answer
35 views

How to update the header and TOC for star marked the sections

I am using the following MWE. I want to define a chapter, with different sections (Prologue, paper 1, paper 2). I want the star marked sections to show up in TOC, for which I am using a user defined ...
1
vote
1answer
35 views

Header with graphical page number outside the body of the text

I am formatting a book using LuaLaTex. I need to obtain headers like and and I am using the titlesec package. I need therefore that the page numbers are outside the standard \textwidth. So far the ...
1
vote
1answer
41 views

Problems with Table of contents and Header/Footer

I really need your help on some following problems. Any help is highly appreciated. Many thanks to you in advanced. I created a report with Part, Chapter, Section,.... But there are some Titles, I ...
2
votes
1answer
16 views

Text over the header with figure

I'm putting a figure in the header of my article, but the text is getting superimposed in the header only on the first page. I think that the problem is with the figure because when I remove it, the ...
1
vote
0answers
49 views

How set the same header / footer fo all pages in LaTeX? [closed]

i want to set the same header in all pages in my LaTeX book. Is it possibile to put draw, tikzpicture or external pictures? Thanks!! I'm using this \usepackage{tikz} \usepackage{verbatim} \...
0
votes
0answers
17 views

How to customize fancyhdr text (alignment and font)

I'm using fancyhdr to make a header with a line and text above it. Currently, the text is right aligned. How can I change it to left aligned? How can I make the font bigger and bold the text? \...
1
vote
0answers
27 views

Distance rectangle - text chapter using fancy header [closed]

but i'm non able to solve some problems: \documentclass[svgnames,12pt,a4paper,oneside]{book} \usepackage[T1]{fontenc} % lettere accentate \usepackage[utf8]{inputenc} ...
2
votes
1answer
39 views

Header is Not Displaying on Title Page

The header is not displaying on the title page for some reason. Here is the code: \documentclass[11pt,addpoints]{exam} \usepackage[top=.25in, bottom=.75in, left=.5in, right=.5in]{geometry} \...
3
votes
2answers
79 views

“Turn to the next page” at the bottom of the page

At the bottom right corner of a two-page document, how to put the phrase Turn to the next page or similar?
0
votes
1answer
49 views

The word ''Bibliography'' with lowercase letters

I'm writing my report in mathematics with the following code \documentclass[12pt,a4paper]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Useful Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %--...
2
votes
1answer
29 views

Center scrlayer-scrpage head-text within header

I have used the power of google + copy/paste to get a header with a look I like, solid band of colour + text. However unfortunately the text isn't centered within the band, and I'm not sure how to ...
2
votes
2answers
64 views

How to get the author and chapter names in header; alternatively using fancyhdr?

I want to set a header/footer which shows: Chapter name on odd numbered page; Author name (different authors in different chapters) in even numbered pages; Page number in central footer. Any help ...
0
votes
1answer
32 views

Modify line in template of head

This is the template http://www.latextemplates.com/template/wenneker-article my code is : \title{\Large Title.} % The article title \author{ \textbf{name} % Authors \newline\newline % Space ...
2
votes
2answers
52 views

Short title in header but not ToC for document class book

I would like to have a short title of chapters and sections in my headers, but in the ToC there should appear the long title. I am using the book document class, and package fancyhdr. \section[...
1
vote
1answer
32 views

Header with Section short title and Chapter short title using KOMA-script

I'm trying to set header with Chapter title on the right and Section title on the left (with appropriate numbers in front of them). Also, I need to use short titles for header and long titles for ToC. ...
0
votes
1answer
28 views

Spacing/align inside table (tabularx, header, footer)

I do not understand the spacing inside the table (before the text and the picture). I use a tabular environment and it's very difficult to remove space at the beginning of the table. One more ...
0
votes
1answer
14 views

Vertical Alignment of text in Titleps

I am trying to create a header with titleps for my document with an image on left and text on center. I was able to successfully put the image on the left. Here is what I do: \documentclass[...
0
votes
0answers
21 views

Positioning a figure in header

I would like to add a logo with text and a rule as shown in the figure. I've inquired and searched some examples here, but they don't add a rule under the short text and next to the image. Please help ...
1
vote
1answer
47 views

Header on LLNCS macro package for Springer Computer Science proceedings

I am currently trying to edit the Header of my Thesis paper. which needs to be written with the LNCS sample paper template, while my Title consist of 16 words which leads to my header on odd pages ...
2
votes
2answers
29 views

How to stretch horizontal lines in header on left side (as on right side)?

\documentclass[10pt,times,a4paper]{letter} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{booktabs, tabularx, colortbl, xcolor} \usepackage[left=0.8in,right=0.8in,top=0.8in,bottom=0.7in,...
1
vote
1answer
20 views

How to use 'includefoot' of 'geometry' only on 'plain.scrheadings' pages and not 'scrheadings' pages?

I have the following layout: \documentclass{scrbook} \usepackage{blindtext} \usepackage[left=1.9cm, right=1.9cm, bottom=2.23cm, top=2.23cm]{geometry}% specific requirements \usepackage[markcase=...
0
votes
1answer
33 views

problem with cross-referencing in section titles / header

I am using the following as a section title in the main body: \documentclass[a4paper,openany]{book} \usepackage{etoolbox} %Patches the "chapter" page numbering \usepackage{fancyhdr} \pagestyle{fancy}...
0
votes
0answers
29 views

KOMA Report: how to set the distance between page border and page number on top of page

Using KOMA Report, I want have the page number in the top center, 1.25 cm away from the top page border, and maintain a top margin of 2.5 cm. I am using \usepackage[top=2.5cm]{geometry} with \...
2
votes
2answers
43 views

When a list is automatically created (e.g. ToC), can the header be formatted based on the page of the list?

I want to preface this question with this is a requirement for the document I am writing to be published and would normally not use this format. I am trying to format the headers of a list (e.g. ...
2
votes
2answers
60 views

TikZ: Font \nullfont has only 7 fontdimen parameters

For the following MWE: \documentclass[a4paper,12pt,addpoints]{exam} \usepackage[]{geometry} \usepackage{lipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,...
1
vote
1answer
51 views

Layout modifing: simple code like this!

I'm new here. I found a code online and I'm working on it to obtain a good layout for my manual. Now I have this code: \documentclass[11pt,a4paper]{book} \usepackage{calc} \usepackage[left=1.5cm, ...
0
votes
0answers
10 views

Writing multiline header in Latex IEEE paper

I'm trying to get a multiline header for one of my IEEE papers but the header is pushed into just single line. \makeatletter \let\old@ps@headings\ps@headings \let\old@ps@IEEEtitlepagestyle\ps@...
2
votes
1answer
27 views

Beamer, customize the headline create an extra blank line on top

I try to use customize headline of footline of Warsaw theme. MWE as the following \documentclass[dvipsnames, aspectratio=169]{beamer} \usepackage{microtype} \hypersetup{colorlinks=true, urlcolor=blue,...
0
votes
2answers
25 views

How to include a header on a ToC page

I am using the following code template by ShareLatex to get a header on every page of my report. \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \rhead{Share\LaTeX} \lhead{Guides and tutorials} \...
2
votes
2answers
36 views

Problem with header, footer and page number

I am using packages fancyhdrand fancyto customize header and footer. ..... \usepackage{fancyhdr} \pagestyle{fancy} \lhead{Team no.} \rhead{Problem no.} \cfoot{Page \thepage} \renewcommand{\...
1
vote
1answer
38 views

What is the functional difference between these two page styles?

I maintain a class file which I inherited and which contained the following page style in the inherited code: \newcommand{\ps@bottom}{% \let\@mkboth\markboth \renewcommand{\@oddhead}{}% \...
0
votes
1answer
26 views

Put Page Number and Title on Margin with Titlesec

I Want to create this layout: With the title in the black box, using titlesec. But I just have got this result: And I can not move down the number page... Here is my code: \documentclass{book} \...
0
votes
2answers
25 views

Not to have titles with broken words neither in the title nor in the header

If have long titles in my document, and I do not want them to present broken words. I saw this topic on How do I manually break a line in the title of my thesis -- using the U of Maine package, but ...
1
vote
1answer
57 views

Adding single line below name in resume template

I am using the latex template found here: http://www.latextemplates.com/template/medium-length-professional-cv Under the name, I would like to add a single line to convey address and other ...
1
vote
1answer
31 views

How to keep image header but remove text header

I have a problem with the headers. I want to keep the image header but remove the text header (small word contents). Below is the code: \documentclass[11pt,a4paper,titlepage]{article} \...
1
vote
1answer
22 views

Fancy Header applies wrong header to all pages following list of tables

I've been at this for well over an hour, trying to track down WHY every page following my list of tables page gets its header from list of tables. Can anyone help me? %-----------------Einrichten-...
2
votes
1answer
30 views

Packages scrpage2 how to force header and footer on every page

I want to have footers and headers on every page of my report (which I do not want to change). But the header does not appear when I start a chapter or for other Chapter like parts (e.g. table of ...
1
vote
1answer
61 views

How to Center IEEE Copyright at the Bottom of the First Page?

I am new in using LaTex and have been preparing my first LaTex paper for a IEEE conference. I have almost completed my document using LaTex but have been dealing a problem for days which I am not able ...
0
votes
1answer
18 views

Footer problem when using exam class with title

I'm using the exam class and I want to have currentPage/totalPages printed in the footer to hopefully avoid students missing a page. The problem is that when using /maketitle the first page always ...