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

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

fancy header not quite working

I'm trying to format the header in the table to contents for my university's dissertation formatting. I have two files. The first file is dis.tex and the second is asudis.sty, both pasted below. The ...
user avatar
0 votes
1 answer
25 views

Remove top page number and section name in LegrandOrangeBook

Am using LegrandOrangeBook book template. I would like to know how to remove the page numbers on the top headers and their corresponding section names. I want to have the page number in the centre of ...
user avatar
0 votes
0 answers
15 views

Issues with footline in Beamer

\documentclass[xcolor=dvipsnames,envcountsect]{beamer} \usetheme{Madrid} \definecolor{crimsonred}{RGB}{153,0,0} \setbeamercolor{block body example}{bg=white} \setbeamercolor{block title example}{...
user avatar
0 votes
1 answer
44 views

Different header offset for even and odd pages in exam class

I need to insert a fairly tall header on every sheet of paper (a table where the students can write their name and some other stuff) of a multiple-page exam, but I only need them to do it on one side ...
user avatar
0 votes
2 answers
35 views

Header image for every page with same margins as main document

I have a header image which is exactly 7 inches in width. I made it 7 inches because I saw that the default latex margins were 1.25 inches on both sides, and I subtracted that from the default 8.25 ...
user avatar
0 votes
1 answer
85 views

How can I add a custom color to every page header

Here is a typical page from my notes I would like to add a side coloring unique to every section. For example, for the 3rd section I want to have a blue colour as Ideally I would also want to be ...
user avatar
0 votes
1 answer
23 views

How to put a table into a header using exam class

I want to put a table into the header. I have copied the table on to every page in the past, but wastes a lot of time. I have tried \lhead \chead \rhead, and various combinations. I need the college ...
user avatar
  • 163
0 votes
1 answer
46 views

Simple macros for book page headers

This is a repost of yesterday's question. Forgot to box code; my apologies! Objective: build simple macros to specify page headers for my first LaTeX book. Task 1: retrieve chapter, section and ...
user avatar
0 votes
0 answers
38 views

Customizing header with simple macros [duplicate]

For my first LaTeX book I need to access chapter, section and subsection titles. Following an old posting (7/12) I wrote \documentclass[a4paper,11pt]{book} \usepackage{amsmath} \pagestyle{plain} % for ...
user avatar
0 votes
0 answers
53 views

Different lontblr header in different pages

I am currently writing a document where I would like to have a multi-page table which is divided in sections by some headers and I would like the section header to be printed as the first line of each ...
user avatar
0 votes
2 answers
43 views

Headers: Chapter number on evens, chapter name on odds

I'm trying to create a header in LaTeX, using the memoir class. If Chapter 3 is called "Nonlinear Dynamics", then even pages should have the page number on the upper left, and "Chapter ...
user avatar
0 votes
1 answer
32 views

Footer with page numbers

I have to write an exam for my administration. They want a footer on each page containing the following information: The only element that has to change is in the lower right: page number and the ...
user avatar
0 votes
1 answer
30 views

Can't reposition picture in template to top edge of page

I'm using this template to create a CV and I can't move the picture that's on the right to be as I want. I want to move the picture to be closer to the top edge of the page. I tried all possible ...
user avatar
0 votes
0 answers
25 views

Center page number in a custom style footer

I'm trying to create a custom footer with some oranaments on the edges and the page number centered in the middle. This is an example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
user avatar
  • 123
2 votes
1 answer
70 views

How to resume the page number at the footer after the `pdflscape` in LaTeX?

I use pdflscape to contain a table. After this page, the page number which should be at the bottom of that page is missing. How should I resume it? There is no page number at the bottom of the page. \...
user avatar
  • 633
0 votes
0 answers
16 views

Beamer: How to place the mini frames at the bottom?

I am trying to add mini frames to help with navigation in my beamer presentation, but I would very much like them to be placed at the bottom of slides, and not the top as it's done by \useoutertheme{...
user avatar
0 votes
0 answers
21 views

Customization of footline in beamer

I'm struggling at customizing the footline of my beamer slides. I want them to be symetric with the title bar (rounded with inversed horizontal shading). So far, my footline has most of the properties ...
user avatar
  • 309
0 votes
0 answers
39 views

How to fix header spacing

I want to move all headers and text closer to the top of the page, eliminating the empty space above every header. I have tried \vspace but I don't think this is the correct solution to the problem. ...
user avatar
  • 3
0 votes
0 answers
8 views

Supressing header rows over tablenotes with Threeparttablex and xltabular

I'm having trouble with threeparttablex / xltabular, because it sets up a header row when there are only tablenotes on the page (see image). I've searched for quite a while, and couldn't find an ...
user avatar
0 votes
2 answers
29 views

Place beamergotobutton next to title

I'd like to place beamergotobutton in the head of beamer slides, next the to the title. If I just put them inside the title, then this changes the format of the buttons. Any other way of doing this? ...
user avatar
  • 289
0 votes
0 answers
21 views

Issue with formatting headers that automatically include section titles

I am using a template for an assignment. it's supposed to put the section title and the subsection titles in the header, but they're overlapping, and it looks dreadful. These are the bits of the ...
user avatar
0 votes
0 answers
25 views

Mixing main Myanmar unicode fonts with other English fonts and achieving consistency across title, headers, and ToC

I am trying XeLaTex to write a book on programming in Myanmar. So far the result is pretty satisfying. But I have a few concerns regarding mixing Myanmar fonts and English fonts in the following area. ...
user avatar
  • 21
1 vote
1 answer
23 views

Header is lost when the new chapter starts at the same page

In order to save pages (there is an upper page limit for our books) i want (1) to start a new chapter immediately after the end of the previous chapter (namely in the same page) and furthermore (2) to ...
user avatar
3 votes
1 answer
27 views

Formula with superscript cut from header in Beamer

I am using Beamer and have a formula in the subsection headers. It contains a superscript but it is partly cut from the headers. I am using the seagull theme. What can I do to show the superscripted ...
user avatar
  • 51
0 votes
2 answers
46 views

Header not displayed for table of contents

The headline of my pages should look like this: And it is working as suppost for all pages, just not for table of content, table of tabels and the table of pictures. In this cases it looks like this: ...
user avatar
1 vote
2 answers
85 views

Remove the heading of the page where the figure is?

I need to insert a very large figure which will occupy the whole page, so I need to remove the heading of the page where the figure is. I do this with code: \documentclass[a4paper,12pt,twoside]{book} \...
user avatar
  • 633
0 votes
2 answers
83 views

Change the font size of chapters and sections in the header

I want to change the font size of chapters and sections in the page header, so that they are different from the font size of the text. What should I do? Below my file packages and commands: \...
user avatar
  • 1
0 votes
1 answer
21 views

What is making the headers to disappear in my document config?

I have the following config before the beginning of the document, however the chapter name headers are simply not there. There is no error message. \documentclass[12pt,twoside,leftblank]{mitthesis} \...
user avatar
  • 105
0 votes
1 answer
25 views

Problem formatting header and footer with fancyhdr

I am writing my thesis using \documentclass[12pt, oneside]{book} Using the document class 'book', I am automatically getting 'Chapter #' headlines which I don't want and have removed using titlesec ...
user avatar
0 votes
1 answer
52 views

Changing the Header

I want my header to look like this: How can I attach a short section title to a section? Is there a way to only display the title or the number of a section? My header code so far: \documentclass[...
user avatar
  • 1
0 votes
1 answer
49 views

Even and odd headers without fancyhdr

I just started to learn latex and I found these headers (I didn't manage to make them with fancyhdr) but I don't understand how to set even and odd pages here. Please help. I figured out how to change ...
user avatar
  • 3
0 votes
0 answers
22 views

The figure/(table name) is on the page header by use fancyhdr, How to solve it?

The is black line is page header line. \usepackage{fancyhdr} \usepackage{cctbook} in the preamble. \pagestyle{fancy} \fancyhead[CE]{\songti 一维二维}\fancyhead[CO]{\songti 为了部落} I insert the figure or ...
user avatar
0 votes
1 answer
27 views

Text header with background

I would like to draw the following image for my resume: How to draw this?
user avatar
  • 2,081
0 votes
1 answer
19 views

Set page numbering on specific pages

I have an article in which I'm using fancyhdr to make a header with section names and a footer on the right side of the pages. However I want to remove the header on some specific pages while keeping ...
user avatar
  • 1
0 votes
1 answer
41 views

Koma Classes: Add to Header

The running headers for my document appear too high on the page. The manual isn't clear as to where the switch should go (after scrlayer-scrpage? or as a class option? \documentclass[twocolumn,a4paper,...
user avatar
  • 1,689
0 votes
0 answers
53 views

Fancyhdr and Two Columns

Is there a conflict between the [twocolumn] option and the \fancyhdr package? The running header on the right side of the page throws the letter 'I' instead of a running header consistent with the ...
user avatar
  • 1,689
0 votes
0 answers
28 views

unnumbered Section* in Header without using chapter

\documentclass{article} \documentclass[12pt,twoside]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper, left=2cm, right=2cm, top=2cm]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \...
user avatar
0 votes
1 answer
23 views

Running Headers Too Long

The running headers are occasionally too long, I tried using \sectionmark but it doesn't work... MWE: \documentclass[twocolumn,a4paper,10pt]{book} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{...
user avatar
  • 1,689
0 votes
1 answer
39 views

change the position of the beamer page numbering

I used \setbeamertemplate{footline}[frame number] in my beamer template but it destroys my original foot line. So, upon my search I found the following to add before the \begin{document}. It is what I ...
user avatar
  • 101
0 votes
2 answers
47 views

Section names in the header

I am writing my thesis report and I want to keep the section names in the header of the pages. Right now, the page number is at the center in the footer and I want to keep it in the same way. I have ...
user avatar
1 vote
1 answer
37 views

\@abspage@last fails to typeset number in header

I tried to typeset the total pages number in right header by \@abspage@last under pagestyle fancy. Instead of number, the text abspage@last is printed. Why? And how to deal with it? MWE: \...
user avatar
  • 2,321
3 votes
1 answer
59 views

How to center lines of text using fancyhdr

Illustrating a minimal example: \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} \lhead{Short Name \\ Really long Name} \chead{Title} \rhead{Date} \begin{document} | \end{document} ...
user avatar
  • 363
2 votes
2 answers
48 views

Headers not aligned with the text frame

I have the following preamble that tried to customize the headers and footers. However, I found that the package babel seems to cause the headers on the left page not aligned with the text frame. How ...
user avatar
  • 305
3 votes
1 answer
58 views

Formatting \pagemark with LaTeX

I am customizing my headers and footers with the document class scrbook. Now everything works fine except that the \pagemark doesn't get formatted as intended (i.e., gray color, letter-spaced, etc.). ...
user avatar
  • 305
0 votes
1 answer
24 views

Footer spacing inconsistency with fancyhdr

I'm using the fancyhdr package with multiple columns. As you can see from the image bellow, the text spacing is inconsistent. I've tried to use \footskip in the geometry package and looking online, ...
user avatar
1 vote
2 answers
100 views

Formatting headers with LaTeX

I came across a document on the Internet and found the headers used in this document are very appealing to me. How to make a header with the format: <chpater-name> | <page-number> and ...
user avatar
  • 305
0 votes
1 answer
25 views

Why changing page footer content draws a line to the top of the page

I wanted to change my footer content so it would be a text I chose instead of the page number. But making this change draws a line to the top of the page. How to get rid of it? Here is the code: \...
user avatar
  • 27
1 vote
0 answers
44 views

Wrap text around an image (logo) placed in every page

I'm trying to help out the founders of a new open access journal called Seeds of Science to translate their article template from Word to LaTex. The top of every page should look like this: My rough ...
user avatar
  • 11
1 vote
1 answer
55 views

Format full header with figure and plain background

I want to configure my page header such as I've tried using the eso-pic package suggested in this answer, but it seems like it doesn't allow add images or text too. \documentclass[letterpaper,12pt,...
user avatar
  • 13
1 vote
1 answer
47 views

TOC not compatible with automark on two-sided document

I am trying to make a two-sided document with section names in the header of even numbered pages, and subsection names on odd numbered pages. The odd numbered pages on which my sections start shall ...
user avatar
  • 11

1
2 3 4 5
78