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}, {scrlayer-scrpage}, and {titleps}.
4,206
questions
0
votes
1
answer
25
views
Removing chapter number in novel class template
I am writing a document using a template that uses the novel class:
https://www.overleaf.com/latex/templates/lix-novel-template/shnjdvjrpjtd
The template adds "CHAPTER 1" (2, 3, 4...) before ...
0
votes
0
answers
13
views
Creating a Multi-Page Invoice with Running Subtotal in Header
Problem Description
I'm trying to create a multi-page invoice using LaTeX with a specific requirement: every page (except the first) should display the subtotal of all previous pages in its header. ...
0
votes
0
answers
31
views
Adding custom decorative shapes to Header and And Sections
I am trying to implementing the following header and section styles in latex but I am stuck.
I have tried implementing it using the fancyhdr and tikz packages. I was able to implement the line ...
1
vote
2
answers
54
views
dealing with long titles
I create a variable \theme that contains the theme of a document. However, sometimes it can be a bit long (for e.g. like in MWE). My theme appears in a header where it is written using a smaller size ...
1
vote
0
answers
42
views
Headers on alternating pages
Compiling this code doesn't put headers
on alternating pages for the entire paper.
It seems the problem is from the following: notice that in \begin{proof} environment we have
\par
\ \\
\noindent\rule{...
1
vote
1
answer
31
views
How to add margin below the miniframe?
I want to add some margins below the miniframe, how can I do it?
As is:
To be:
\documentclass{beamer}
\useinnertheme[shadow=true]{rounded}
\setbeamertemplate{mini frame}[box]
\setbeamertemplate{mini ...
1
vote
1
answer
24
views
Customizing Title Bullets in the Frankfurt Theme to 2 or 3 rows
I am using the Frankfurt theme in Beamer and I want to customize the title bullets. Currently, they appear in a single row, but I would like to know if it is possible to set them to appear in 2 or 3 ...
1
vote
0
answers
16
views
The headers that should say Figure and Page individually both say LIST OF FIGURES
My first page of my List of Figures looks correct. It has the single header with "List of Figures" and then the sub headers of "Figure" and "Page".
However, on the ...
0
votes
0
answers
9
views
Remove the footline on a specific slide in beamer from within a theme [duplicate]
I'm trying to create my own beamer theme, which has a custom footline. The problem I'm having that I want to remove the footline on specific slides (mainly the title page, (sub)section page and part ...
0
votes
2
answers
75
views
How to Correctly Format Page Numbers with Parentheses and lines in KOMA-Script [closed]
How can I format the page number as shown in the pictures, because I tried several times and did not succeed, noting that the code I use is:
\documentclass[
11pt,
a4paper,
oneside,
...
1
vote
2
answers
37
views
In Pandoc + Beamer how to remove red box from internal link in footer?
Making slides using markdown in Pandoc with Beamer. In the Madrid and Dresden Beamer themes a hyperlink to the title page is created in the slide footer. On some PDF viewers (e.g. qpdfview) this ...
0
votes
1
answer
30
views
Text with multiple lines on top left of page (without fancyhdr)
I would like to add text to the top left of my document (without fancyhdr!) and be able to create different lines in the text.
My current MWE does not allow new lines (\ and \newline do not work ...
0
votes
1
answer
39
views
Three-section header
Consider the following (simplified) Latex code to generate a document.
\documentclass[a4paper,11pt]{article}
\usepackage[inner=2cm,outer=2cm,bottom=1.5cm,top=1.5cm]{geometry}
\usepackage{setspace}
\...
0
votes
1
answer
21
views
Set beamer header background color
I'm using the Madrid theme for beamer and I want to put my logo inside the header. Is there a way to change the header background color? I've tried to do as following, but nothing changed.
\...
0
votes
0
answers
34
views
formmating my paper{the frame}
I hope you all right. so my problem is I want to make a frame for my paper like that:
if anyone know the full step-by-step Please, reply to me. And Thank You!
0
votes
0
answers
13
views
change font style of numbers from footer and main text in cleanthesis
I am using cleanthesis template and using these commands in preamble:
\usepackage[english]{babel} % babel system, adjust the language of the content
\usepackage[ % clean thesis ...
3
votes
3
answers
183
views
Moving the content up and down in header and footer
I try to align things in my header&footer. Here's what I have:
\documentclass{extarticle}
\usepackage{fancyhdr}
\usepackage{lipsum}
\usepackage{geometry}
\usepackage{graphicx}
\geometry{a4paper}
\...
0
votes
1
answer
20
views
Modify beamer CambridgeUS theme to move logo to footline
I would like to place the (scaled down) logo to the right of "frame # / total frames" in the CambridgeUS beamer theme. How could that be done?
0
votes
0
answers
20
views
Fancyhdr + biblatex : page after \printbibliography keep the bibliography header
as the MWE shows, i would like to add some text (basicly an abstract) after the bibliography. I would like the page to be without any header, but here the header of the bibliography section is still ...
0
votes
0
answers
27
views
Trouble with header with \chapter*{} [duplicate]
UPDATE: edit the question and the code, as I've been asked to do.
How can I set it up so "Anexos" or "Tablas" appears in my header, whith this code?
\begin{document}
\chapter{...
0
votes
0
answers
31
views
How to treat with a long title of a chapter in a book so that it can fit into one line in the header and not to break into 2 lines
I'm writing my thesis and I'm facing a trouble. The trouble is that the title of a certain chapter in my thesis is too long and it breaks into two lines in the header of the pages of the chapter (next ...
2
votes
1
answer
65
views
Fancyhdr automatic header height
I am trying to write a simple document with a header and a footer on each page. I may decide to change the header/footer later or even use different styles on different pages, so I am looking for a ...
0
votes
1
answer
39
views
Getting rid of "CHAPTER" in the header
I can't seem to get rid of it saying "Chapter" in the header. I asked my LLM a dozen times, I even tried yelling at it.
\documentclass[12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[...
0
votes
0
answers
29
views
Memoir header marks are blank when page style is changed within the document
I copied from the Memoir documentation some very simple and working code to modify headings. It seems like \rightmark and \leftmark fail to resolve if the page style is set temporarily or changed in ...
0
votes
2
answers
26
views
Add a custom header above an unnumbered chapter title (report document class)
I am using the report document class. When I create a (numbered) chapter, a chapter header appears above the actual chapter title. For example, \chapter{Some Title} leads to:
However, unnumbered ...
0
votes
1
answer
30
views
FancyHeader Right Header Location
I am trying to move only the text that says "Name:" to the left so that students will be able to right their name. I tried to add \hspace{2in} to my right header, but it did not work. I also ...
1
vote
0
answers
66
views
Create margin notes in the header and footer area
For a historically accurate liturgical Gospel book, I am trying to create top and bottom margin notes that appear within the header and footer that display rubrical information for the given section ...
0
votes
2
answers
52
views
How can I suppress the word 'Chapter' (book) and have number and title in one line? [duplicate]
I am using the book class and I want the title of the chapters to be printed without the word 'Chapter' or 'Kapitel', respectively. I already succeeded in suppressing the word itself with the help of ...
0
votes
0
answers
28
views
Header and footer with landscape [duplicate]
I try to apply fancyhdr package with landscape pages, but it works incorrect.
Need some help to figure things out.
\documentclass[a4paper, 12pt]{article}
\usepackage[hmargin=3cm,vmargin=5cm]{geometry}
...
0
votes
1
answer
40
views
titleps package: How to make boxed page number and header line appear as one element?
I'm trying to refine a document design I've pieced together from various TeX.SE answers. I'm using titleps for page styles and headers, with the page number in a colored box. I've adapted code from @...
0
votes
0
answers
46
views
Bilingual two-page parallel typesetting with bilingual headers drawn from section and chapter names
The book I'm trying to typeset is a bilingual parallel liturgical text (a lectionary). As such, I'll need the chapters and sections to be in both languages, on facing pages. Only the chapters and ...
0
votes
0
answers
33
views
How can I have this type of style? (Bottom extended from main text, and a sidebar on left)
I want to have this kind of styling in which bottom extends from the main text, and there is a sidebar.
3
votes
0
answers
78
views
Catchwords not working with multicols
Now I'm facing the next hurdle.
I want to have Catchwords in my document as shown here:
It works fine with the package fwlw (First Word Last Word) as long as I do not use multicols.
W/o multicols:
...
0
votes
0
answers
29
views
How to get a footline as show in the image
How to get such a footline in my article
1
vote
1
answer
33
views
Listings over multiple pages affects header style
I am currently using titlesec (which includes titleps) for my page formatting, and listings to format code.
Things worked out well until I entered a long piece of code which spans through multiple ...
0
votes
1
answer
28
views
Why the difference in headwidth of header/footer in the bibliography page?
I am trying to write a document in latex. Document class is report, using fancyhdr for header and footer. The geometry seems to be wrong because the header/footer width where the \begin{...
1
vote
2
answers
208
views
Custom chapter numbering and format with vertical line
I am currently formatting my thesis and need a specific format for my chapters. I want all my chapters to be in sans serif font, with each chapter beginning with a vertical line followed by the ...
2
votes
2
answers
64
views
Siunitx package - NiceTabular environment - Preserve header from formatting
Simple issue that I cannot figure out.
I use a lot of table in my report and like the NiceTabular environment.
I also use Siunitx package in that environment to format numbers from my raw data. Very ...
1
vote
1
answer
37
views
Automatically display chapter title on the header when no section is started
I like to set the page header to show only the chapter title on the pages where the sections are absent or have not been started.
Here is my MWE. I am doing it by the \markright command.
\...
1
vote
1
answer
31
views
Extending the header to cover the entire width of the pdf
I'm stuck in a process that is seemingly trivial but I cant find an easy solution to it.
I want to replicate the following docx header
Imagine the black and white rectangles are a pdf and png figures....
5
votes
1
answer
128
views
How to create the guide-words in a dictionary
I want to make a dictionary which is based on an old print version from the 18th century.
The style is to have a two column layout and on top of each page
on the left side the page number plus the ...
0
votes
1
answer
77
views
How to redefine chapter*
I would like to save the name of the chapter* sections to a variable and to achieve this I am trying to redefine the chapter* command, how could I do this? Any help would be greatly appreciated.
\...
3
votes
2
answers
72
views
Can't remove header from specific page
I know this question was asked countless times here. But I can't find a way to completely remove my header from the Acknowledgements page, the ToC and Introduction (both will have 'Contents' in the ...
2
votes
0
answers
52
views
Problem with new LaTeX marks with \twocolumn
I try to use the new LaTeX marks mechanism with \twocolumn, but I don't get the expected result. I want the first section title and the first subsection title of each page in the header, but it doesn'...
0
votes
1
answer
52
views
Customization of page numbering
I am aware that I can change the number manually using the \setcounter{page}{n} command for the page number n. What I am looking for is a way to change the font of the counter.
This is specifically ...
0
votes
1
answer
37
views
I want to put the chapter name on top of a titlerule
I would like to put the title name on top of the 2 rules, such as the chapter number.
Here's a MWE, i've put everything just to make sure
\documentclass[a4paper, 12pt, twoside]{report}
\...
0
votes
0
answers
29
views
Solving interaction between glossaries-extra and fancyhdr
I'm writing a PhD thesis in Spanish using LaTeX, and I have encountered an unexpected issue. I tried to add the chapter title in the header (using fancyhdr) in lowercase. I also have some sections ...
0
votes
1
answer
37
views
Why is Tocloft shifting my ToC-title?
In my report I increased the margins with the geometry package.
Afterwards i implemented Tocloft into my document to create dots between Chapter/section-title and pagenumber. This works fine.
But by ...
2
votes
1
answer
37
views
Having page numbering with total for every chapter in footer of KOMA-scrreprt with scrlayer-scrpage
I'm using KOMA-class "scrreprt" for creating a long and complicated document, consisting of different separate documents like contracts and information. So far, everything worked out well. I'...
0
votes
1
answer
24
views
Beamer changing footline
I'd like to change footline in beamer presentation. Now I am using this code to change it:
\makeatother
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
{\small \hspace*{.15cm}\...