Questions tagged [fancyhdr]

{fancyhdr} is a package which allows the creation of custom page headers and footers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Changing font size of contentsname without changing it font size in fancyhdr

How to change the font size of the content title without changing its size in the header For example, I write in code "\renewcommand{\contentsname}{\huge Table of contents}" and I receive ...
Fatima  Bogatyreva's user avatar
0 votes
0 answers
19 views

Warning message using fancyhdr in Overleaf [duplicate]

To whom it may concern: I get the following warning message in Overleaf for the following lines of code: Line 125 \fancyhead[RO,RE]{\thepage} Line 126 \fancyhead[LO,LE]{\leftmark} The package is ...
GS76's user avatar
  • 1
0 votes
0 answers
26 views

How to create a Footer with two rows of content

I'm trying to create a footer that has an lfoot section, rfoot section, and then a full width section below that. Can someone point me in the right direction?
aeu's user avatar
  • 1
0 votes
1 answer
63 views
+50

How do I add a background behind my page number with fancyhdr?

I currently try to set my page number via: \fancyhf{}% \fancyfoot[RO]{\begin{picture}(0,0)\put(1.5cm,-0.9cm){\includegraphics[width = 1cm]{page-number}}}\put(1.5cm,-0.9cm){\makebox[0pt]{\...
Christian's user avatar
  • 329
0 votes
0 answers
27 views

Enumerate splitted by pages does not work with \restoregeometry or \afterpage

I have a document used for worksheets. When I use an enumerate and it flows from one page to the other, the pagestyle of the second page (\pagestyle{fancy}) does not apply, and instead, I am left with ...
chrisinacio's user avatar
0 votes
1 answer
31 views

Latex header spanning full page width

I am preparing a document for bookbinding. I want to add a colored header which spans the whole width of the page so that I can trim the book later. I currently found an option which achieves almost ...
Kosio Varbenov's user avatar
0 votes
1 answer
45 views

How to apply different fancyhdr pagestyles across multiple pages

I have the following file structure: my_doc ├── Pages │ ├── blankPage.tex │ ├── Page1.tex │ └── Page2.tex ├── customPreamble.sty └── main_file.tex I have placed all the \usepackage{} calls in ...
anurag's user avatar
  • 101
0 votes
1 answer
39 views

fancyhdr and extramarks packages: incorrect header when chapter ends page

I have an encountered a problem with the \fancyhdr and \extramarks packages. When a chapter ends on a page, it puts the wrong chapter number. However, if a new chapter starts on that page, it renders ...
ceramicquasar88's user avatar
0 votes
1 answer
49 views

Fancyhdr Book Class

I have created a file with a running header. Right now, it only captures the last occurrence of each item. I would like for the left hand side to show the first occurrence, and the right hand side to ...
ceramicquasar88's user avatar
0 votes
0 answers
24 views

Running Custom Marks in FancyHdr

I have created a document that contains a book of the bible with chapter and verses. I have developed a header for the document, but it is not updating correctly. At the moment, it recognizes only the ...
ceramicquasar88's user avatar
0 votes
1 answer
34 views

Move anchor text in fancy header

In the code below, if the Chapter number is 2 characters or more, it clashes with the chapter name. How to go about moving JUST the chapter number closer to the edge of the document as shown in the ...
Joe's user avatar
  • 9,002
0 votes
1 answer
26 views

Apply fancyhdr pagestyle to title page

I'm trying to apply a pagestyle to the front page of my thesis (because it's required by my institution), but I can't get a way to make it. I have tried with \pagestyle{style} after and before my \...
JJP's user avatar
  • 49
0 votes
0 answers
10 views

Fancyhdr - Missing number treated as zero in chapter [duplicate]

I tried to setup a fresh LaTeX template for my thesis. I wanted to display the chapter number and name as well as the section number and name in the header using fancyhdr following the convention . ...
delta_impulse's user avatar
0 votes
0 answers
14 views

Moving text from left to middle and putting logo on the left to align with text in CV header

In the below code, I want to move the text from the left to the middle and put a logo on the left. The logo should align properly with the text. \documentclass[a4paper,20pt]{article} \usepackage{...
Priyam's user avatar
  • 49
1 vote
0 answers
25 views

Missing hyperlinks and wrong page numbering while including pdf files in table of contents

I am creating a dynamic table of contents by adding pdf files. Following are the problems Original pdf files have hyper links which disappear after putting together with table of contents. How to ...
Yogesh Sharma's user avatar
0 votes
1 answer
45 views

two pages aside with headers and footers

I want to make a document that looks like this: as you can see it's like having 2 A5 sheets side by side. Yes, I can do it, but the problem is how to do separate headers and footers. When I set up a ...
Daniel Neskorodov's user avatar
4 votes
2 answers
137 views

New date for every section using fancyhdr

I'm using the report format and would like to a new date to appear on the right header of each section (I can input these dates manually). My knowledge is very basic, so far I have managed to set this ...
Lauren S's user avatar
  • 147
0 votes
0 answers
17 views

Fancyheader section doesn't call unnumbered section name after reference section [duplicate]

Objective Create a header for an unnumbered section after the references. I've succeeded in doing this by manually adding {\titlefont\titleshape\nouppercase\markboth{\color{title}Supplemental}{\color{...
mcv's user avatar
  • 13
1 vote
1 answer
33 views

Getting page number on top of two-lined header

Objective: I need to get the page number of the left even pages (LE) on the left top corner: this fails when the header contains multiple lines (it is then printed on the second line). When I add \...
mcv's user avatar
  • 13
1 vote
1 answer
64 views

Custom footnote outside tcolorbox

PROBLEM I have a custom footnote style done with tikz, and inside tcolorboxes this footnote doesn't fit, so I tried that all footnotes inside a tcolorbox environment get out of it with Bernard ...
Agente 156's user avatar
4 votes
0 answers
81 views

\pagestyle{fancy} from fancyhdr seems to break \label-\ref if \label happens to be placed close to the upper edge of a page

I am using \label inside a \begin{theorem} ... \end{theorem} environment. If it happens so that the theorem statement begins close to a natural page break AND \pagestyle{fancy} from fancyhdr is ...
Linear Christmas's user avatar
4 votes
3 answers
138 views

Have something appear in the footer only if section isn't over

I'm writing a gamebook. My text is divided into a lot of little paragraphs, with length varying from a couple of lines to a page and a half. Readers/players will start from paragraph 1 and then move ...
il mietitore's user avatar
0 votes
1 answer
93 views

How to set the same header in the ToC?

I want to set the same header of my book in the table of contents (ToC), list of figures, liste of tables, .... I have a problem with fancyhdr package. The header chosen in this example is not set at ...
Gallagher's user avatar
  • 213
1 vote
0 answers
29 views

Text in fancyhdr header moves up or down when multiple languages are used with relsize

I am using LuaLaTeX to typeset a Hindi-English dictionary. The Devanagari font I am using for Hindi needs to be scaled to match the heights of a normal glyph in the Devanagari script with that in the ...
user22209's user avatar
  • 921
0 votes
2 answers
65 views

How to make footer move to just below the body of text

If you will please examine pages 20, 25, 26, 31, 32, 37, and 41 of the MWE below, then you will find that considerable space intervenes between the body of text and the page number (in the footer). In ...
Noah J's user avatar
  • 443
1 vote
1 answer
21 views

Author's name in header not displaying

In this MWE I'm not getting the author's name in the header.. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amssymb} \usepackage{amsmath} \usepackage{txfonts} \usepackage{mathdots} ...
Rui Campozinhos's user avatar
2 votes
1 answer
40 views

Why is \thispagestyle{empty} being ignored? Eliminate heading on page with figure

\thispagestyle{empty} is being ignored, that is, I still see the heading (partially obscured on the pages with images; not obscured at all on the pages with captions). Any ideas why? I would guess ...
Noah J's user avatar
  • 443
2 votes
2 answers
100 views

The Page Numbers Position is not getting fixed in centre

I am using fancyhdr package but the page number are shifting right on odd number pages and shifted left on even. Code: \documentclass[a4paper,12pt]{book} \usepackage{amssymb} \usepackage{amsfonts} \...
Piyush Baweja's user avatar
2 votes
1 answer
24 views

Why the footer page number is not being removed with `fancyhdr`

I want to remove the footer from my document but the page number won't disappear. I tried to follow some suggestions from other questions, and it should work but it doesn't. What am I doing wrong? ...
Eduardo Fernandes's user avatar
0 votes
1 answer
58 views

How do I make the chapter title in the heading different from the chapter title in the TOC?

I'm setting a document using the octavo class and including the packages tocloft and fancyhdr. Here are my fancyhdr settings: \fancyhead[CE]{\itshape\booktitle} \fancyhead[CO]{\itshape\leftmark} \...
Joel Derfner's user avatar
1 vote
0 answers
32 views

`fancyhdr` header not showing correctly on chapter page [duplicate]

In my LaTeX document, I've used a customized heading. The code shows accordingly in every page of the document except one. I've copied the exact code I used and inserted it after writing \newpage, but ...
Karolína Unčovská's user avatar
0 votes
1 answer
56 views

Page footer with unicode characters not shown using fancyhdr [closed]

I'm using fancyhdr at overleaf, but the page footer is not shown: \documentclass[12pt]{article} \usepackage[document]{ragged2e} \usepackage{graphicx} \graphicspath{{LATEX Image/}} \usepackage{...
Lokesh Rajput's user avatar
1 vote
2 answers
36 views

Suppres fancy header on one specific page

I have a wide table for which I use the landscape environment from pdflscape. Combined with the fancy header I use in the rest of the document, this looks a bit weird. Is there a way to have no ...
debsim's user avatar
  • 139
0 votes
1 answer
25 views

How to modify only the style of the first page of the bibliography?

I have been using my own style for the text that I am writing, this with the use of the fancyhdr package, with the following commands: \titleformat{\chapter}[display] {\centering \normalfont\huge\...
Felipe Dilho's user avatar
0 votes
1 answer
25 views

Problem with the header of the ToC and following page using \fancyhdr

Let me start of by saying I'm pretty new to LaTeX. I'm writing my master's thesis and the following problem has popped up: I'm writing in XeLaTeX. As I'm setting my chapters to get the general outline ...
StanS's user avatar
  • 1
1 vote
1 answer
48 views

Supposed missing brackets

I don't understand Overleaf's two complaints with the following code. It says that it has inserted a missing { and a missing }. Would someone please explain? %%%%% Preamble %%% Document class, ...
Noah J's user avatar
  • 443
0 votes
0 answers
25 views

Page header style question

I am curious of how I can make this header style as shown in the picture? It looks nice to me. Thank you so much! The following is my code: \documentclass[a4paper, 12pt]{article} \usepackage{geometry}...
Andrew Leung's user avatar
0 votes
1 answer
118 views

Page number missing specifically on second page and only that page

For some reason the page number on the second page (page after titlepage) is missing. I am working with two different page styles. It is counted but not shown. \documentclass{report} \usepackage[utf8]...
wardz's user avatar
  • 53
1 vote
1 answer
33 views

Page setup not working with document class report [duplicate]

I'm trying to personalise my page setup using fancyhdr, but it only works for the document class book. I read the fancyhdr documentation and I didn’t find any specific difference between the two ...
Giacomo Recine's user avatar
0 votes
1 answer
40 views

Fixed margin in header and footer

I'm creating a template for a project. In it, I've created a command to create a summary page, but I need to change the geometry to be wider than the rest of the document. I've used the geometry ...
Clem's user avatar
  • 45
1 vote
1 answer
62 views

text height is inconsistent across pages

I am trying to typeset a document where the page numbers are flush with the bottom of the text. I discovered, however, that not every block of text has the same height. The presence of sectioning ...
mbert's user avatar
  • 2,615
0 votes
0 answers
46 views

Why is my cross-linking system interfering with the TOC?

\documentclass{book} %\usepackage[fontsize=13.5pt]{fontsize} \usepackage{fontspec} % compile w/XeLaTeX \usepackage{appendix} \usepackage{kantlipsum} \usepackage{fancyhdr} \setmainfont{Perpetua} \...
BlueIris's user avatar
  • 331
3 votes
1 answer
88 views

How do I set my page numbers to the same size through the whole document?

\documentclass{book} \usepackage{kantlipsum} \usepackage{appendix} \usepackage{fontspec} % compile w/XeLaTeX \setmainfont{Perpetua} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all ...
BlueIris's user avatar
  • 331
1 vote
1 answer
53 views

page numbering for chapters in front matter of report class

[![chap 2 page 3, hide page number][8]][8] [![chap 2 page 4, pagenumber must be displayed][9]][9] What else can be done to hide first page of ToC, first page of Introduction, chapter one and chapter ...
Nandy's user avatar
  • 33
0 votes
0 answers
26 views

Conflict/overlap between header fancyhdr and table of contents

The second page of the table of contents is conflicting with the header of the page. \documentclass[letterpaper, xcolor=table]{report} \usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry} \...
Biorix's user avatar
  • 1
0 votes
0 answers
28 views

How to add a picture beside the page number

I was wondering if anyone could help me with this: I want to add a picture just to the side of the page number. I’ve tried using the fancyhdr usepackage, but as far as i can tell, it will only allow ...
emil's user avatar
  • 1
1 vote
1 answer
92 views

How can I add horizontal lines after the header and before the footer in koma-script classes?

Consider this simple document. \documentclass{scrbook} \usepackage{scrlayer-scrpage} \pagestyle{scrheadings} \usepackage{amsmath} \usepackage{blindtext} \begin{document} \title{\Huge Me} \author{...
Eva's user avatar
  • 127
3 votes
3 answers
96 views

Change page numbering in preamble - latex counter modification - hexadecimal conversion

EDIT2: Sorry for this real time updates, but I am really going crazy. I added at the bottom the new code that is compiling correctly with showhexapagesStepOne I edited the question trying to give ...
AlessandroParma's user avatar
0 votes
1 answer
54 views

How do I apply appendix-only page-numbering: A1 (first page, first appendix), B6 (page six, app B)?

I am trying to get my appendices to be page-numbered with the letter of their chapter and then the page we are at relative to how far into the particular appendix. For instance the third page of the ...
BlueIris's user avatar
  • 331
0 votes
0 answers
14 views

Creating Headers to match Content on Page (but not always pulling \section etc. name and formatting directly)

I have read the fancyhdr documentation, and I'm still stuck. My work essentially centers on creating newly-typeset books of Gregorian chant (and related things) for use in the Roman Catholic liturgy (...
DomMocquereau's user avatar

1
2 3 4 5
36