Skip to main content

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
1 answer
23 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 ...
Nick B's user avatar
  • 937
0 votes
0 answers
26 views

(MLA) Could someone help me know how exactly to edit fancyhdr to fit the correct style that MLA calls for heading and text to be in?

I have the following code that I am trying to get to have the correct format for the header area. \documentclass[12pt, letterpaper]{article} \usepackage[top=1.0in, bottom=1.0in, left=1.0in, right=1....
Felix Maldonado's user avatar
1 vote
1 answer
24 views

Displaying article title in fancyhdr header with conditionals

I use the tip found here How to display article title in fancyhdr header to display article title in fancy header. But I'm not able to make it works within a condition sequence. As an example, this ...
AEgidius's user avatar
0 votes
0 answers
22 views

How to rotate some pages of the document with normal geometry and the page number in the correct direction?

When I edit my docs, I encounter the problem that I want to change some pages in the middle of my docs. Just like this(The pages in pdf-reader is rotate, but the pagefooter didn't shift): I posted ...
Explorer's user avatar
1 vote
2 answers
27 views

overlapping in footer, try tabularx in footer

I have a document (twopage) in which the left field is overlapping with the middle field. One solution is to put an \hspace{...} before the middle field but works for odd pages only. I'm trying to ...
user1850133's user avatar
  • 1,028
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} ...
kissmemiau's user avatar
0 votes
1 answer
34 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 @...
Mycroft_47's user avatar
0 votes
0 answers
36 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 ...
Jonathan Yip's user avatar
0 votes
0 answers
32 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.
Misbah Mushtaq's user avatar
0 votes
1 answer
22 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{...
dumbN00b's user avatar
0 votes
1 answer
29 views

How to dissociate page numbers from the footer on latex beamer BUT keeping it

OK, so i'm having this issue using fancyhdr package: i wanted to do a decorative footer on my beamer presentation, but the page numburing doesn't go where i want . So i tried to do it manually by ...
Tidiane's user avatar
3 votes
2 answers
61 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 ...
Chris Ze Third's user avatar
1 vote
2 answers
34 views

Push footer to extreme bottom with 0 margin

I am using fancyhdr package and the following statement to print a footer : \fancyfoot[LE]{\hspace*{-1.75cm}\vspace{-1.5\baselineskip}ebook for John E Mark - Do not redistribute} I need this footer ...
Priyshrm's user avatar
  • 187
0 votes
1 answer
34 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} \...
ALEX's user avatar
  • 5
0 votes
0 answers
26 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 ...
daniel_ruiz's user avatar
0 votes
1 answer
43 views

Error with header and footer after \AtBeginDocument using custom document class

I am working on a conference paper and need to use a custom document class (see below) I cannot get the header and footer definitions after the first page to work. I am simply trying to add "...
spacegirl1923's user avatar
1 vote
1 answer
43 views

thispagestyle does not respect geometry like pagestyle, how to revert to the fancy style on automatic page breaks?

I have defined two page styles like this: \fancypagestyle{assignmentstart}{ \fancyhf{} \restoregeometry \newgeometry{hmargin=1.5cm,vmargin=1cm,includeheadfoot,headheight=60pt,headsep=20pt} ...
Sujal Singh's user avatar
0 votes
0 answers
30 views

Configuring fancyhdr with a report document class [duplicate]

I am trying to configure the fancyhdr package with a report document and it appears that the first page of each \chapter does not get a footer. I understand the \part section type is not expected to ...
Ritmo2k's user avatar
  • 187
4 votes
1 answer
140 views

How to change shapes and traits of horizontal lines in headers/footers?

I was just browsing through this site, searching for ways to change the shapes of horizontal lines in headers/footers out of curiosity, but I could only find questions relating to changing their color....
Atex's user avatar
  • 210
1 vote
1 answer
89 views

Customizing page styles in custom report class

I would like to create a custom report class (say MyCustomReport) based on the report class, where I can control more precisely the page styles applied throughout the document, so that the document ...
drl's user avatar
  • 464
0 votes
2 answers
34 views

Aligning long section names to the right side in the header

I'm trying to finish my thesis but I face some problems regarding text alignment in the header. I use the fancyhdr package and I want the chapter positioned on the left side and the section on the ...
Johannes's user avatar
0 votes
1 answer
34 views

Fancyhdr doesn't work on first page

Fancyhdr doesn't seem to be working on the first page of my document. My preamble: \pdfminorversion=7 %For the inclusion of pdfs \documentclass[11pt]{amsart} % Packages \usepackage{amssymb, amsmath, ...
Clyde Kertzer's user avatar
0 votes
0 answers
38 views

pagestyle doesn't affect on last page

I use 3 page styles : one for title, 2nd for toc , lof, lot and 3rd for document content. I understood (with many pain) that every chapter/toc/lof/ ... have especial style plain. And if toc spread on ...
ikif's user avatar
  • 39
0 votes
3 answers
59 views

How to set a image in the header via fancyhdr?

I am veeery new to LaTeX but I am encountering a very weird issue, because I need to have the header, on only the first page, as shown in the screenshot. And the Univeristy provided a rectangular ...
ANunzi's user avatar
  • 1
1 vote
1 answer
56 views

Problem placing information at the bottom of the first page

I am working on the development of template and I would like to have something similar like this: I'm working in twocolumn document and I tried to replicate it in \fancyfoot[L]{} (only for the first ...
Guillermo Jiménez's user avatar
1 vote
2 answers
72 views

fancyhead: how to have 1 background image and twovforeground image

with this code: \documentclass{article} \usepackage{graphicx} % Required for inserting images \usepackage{fancyhdr} \title{fancy} \author{xxx} \date{March 2024} \fancyhead[C]{\includegraphics[width=...
RenatoP's user avatar
  • 851
0 votes
1 answer
37 views

Set a fixed width for footer/header with fancyhdr

I'm using the geometry package for settings like textwidth and margins. fancyhdr uses the initial text geometry setting. Through my document I also change the geometry of the text layout (i.e. not the ...
telephone's user avatar
  • 127
0 votes
2 answers
59 views

Chapter and section

I'm writing my thesis (i choose report class) and I'd like to have chapters looking like this: 1 Introduction I mean I want only chapter number and title in one line. Furthermore I'd like the left ...
Michał Szymankiewicz's user avatar
0 votes
1 answer
43 views

Adjust right side text margin and header section alignment [duplicate]

I'm using Rmarkdown to produce a landscape pdf document with xelatex. For my YAML header I'm using output: pdf_document: latex_engine: xelatex keep_tex: true includes: in_header: '...
PhDavey's user avatar
  • 103
0 votes
0 answers
34 views

Automatically setting page style to plain when the page starts with section title

I'm writing a document where I don't use page breaks before starting a new section. This means that sometimes, a section will start in the middle of the page, while other times it will start at the ...
Nickesponja's user avatar
2 votes
1 answer
79 views

Tufte-handout with fancyhdr

I want to add a logo in the top right corner of the first page of a tufte-handout document. The code below works fine except that it puts the logo on every page except the first. What should I do? \...
R Walser's user avatar
  • 163
0 votes
1 answer
21 views

header wrong for first page of bibliography

Here is some sample code partially taken from other examples here. With this code, a page number is erroneously shown in the center footer for the first page of the bibliography. This is not the style ...
crayman9's user avatar
0 votes
0 answers
34 views

Multiple page list of figures with non sequential numbering

Any suggestions on how to automatically make the list of figures exhibit page numbers in non sequential fashion, with a step between each number, as for example: first page of lof: page number => ...
Denner Guilhon's user avatar
3 votes
1 answer
64 views

Adding a dot after section number in the header with fancyhdr

When using the spanish option of the babel package, a dot is added after the section number for each section. However, fancyhdr doesn't. Here's a MWE: \documentclass[11pt]{article} \usepackage[...
Nickesponja's user avatar
0 votes
1 answer
67 views

How to skip enough space between headnotes using fancyhdr?

I've tried many hints however, none of them worked. Would you help me to fix this? Another thing, please, how can I add a rule under every headnote in every page? I am using the preamble below: \...
Francesca's user avatar
0 votes
0 answers
64 views

fancyhdr gets overridden by tocloft

I wanted to change the number and distribution of dots inside my toc so I tried to change this with the tocloft package like that: \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\...
Obscuritas's user avatar
2 votes
1 answer
90 views

How to extend the fancyhdr header rule to take the full paper width

I am learning LaTeX. I am using fancyhdr, in a book document class. I want the horizontal rule to extend so that it takes the full page width. I have tried \fancyheadoffset, but the header content is ...
NemuLumeN's user avatar
0 votes
1 answer
45 views

How to print tikzpicture in the right place when using fancyfoot

I have the following case where I don't know how to correct it and I would like that when using tikz I would like it to print in the correct place, which is the footer. \documentclass{book} \...
royer's user avatar
  • 361
0 votes
0 answers
60 views

How to add a header to an ACM article template

I need to add a header to the first page only on an ACM article template (see the red text on the top of the included image). This is an example code. Plz. can you help me add a header even if ...
None's user avatar
  • 319
0 votes
0 answers
38 views

fancypagestyle(s) for book class

How to redefine headers correctly to get ride with this problem ? \documentclass[twoside, 12pt]{book} \usepackage{mathtools,amssymb} \usepackage{xcolor} \usepackage[nobottomtitles,clearempty]{titlesec}...
Aviroum's user avatar
  • 1,536
3 votes
1 answer
103 views

How to use a consistent language for headers and footers with babel?

I have a Hebrew document with some English parts, and I am using the fancyhdr package to have headers and footers. I am using \begin{otherlanguage}{english} \end{otherlanguage} for my English parts. ...
Shai Avr's user avatar
  • 909
0 votes
1 answer
47 views

How to use natbib package and fancyhdr package together [closed]

Please how can I get to use fancyhdr package with natbib package. It happens that I can't use the two in my document, what can be wrong? and how can I correct that, please? \documentclass[12pt, ...
Memristor's user avatar
  • 119
1 vote
0 answers
42 views

How to fix abntex2 first page in the bibliography?

It seems that the first page in the bibliography when using the abntex2 package puts the page number in the upper right side of the page, how do I correct this so that the page numbering of only the ...
Felipe Dilho's user avatar
0 votes
1 answer
43 views

I don't want fancyheader to display runing header in bold font

I am using the below code, which gives running headers in bold font. But I want normal font. \documentclass[11pt,letterpaper, twoside]{article} \usepackage[english]{babel} \usepackage[margin=1in,...
Martien Lubberink's user avatar
1 vote
0 answers
58 views

Setting and displaying date ranges extracted from filenames in the header

I already asked a related question about this topic some months ago. However, I have a project with this structure: Project: |- main.tex | |- pages |- 20230101.tex |- 20230102.tex |- ...
Lorenzo's user avatar
  • 77
2 votes
2 answers
185 views

Formatting page numbering

I am trying to have the page numbering in my homework file as a fraction. However, when I try to display the fraction in a different colour, the last page does not change its colour. How do I ensure ...
grumpyeconomist's user avatar
0 votes
1 answer
65 views

Quotes on header of each page [closed]

I have this question today: how can I store some quotes pre-hand in a csv file, say "quote 1 statement",author 1,year "quote 2 statement",author 2,year ... "quote n statement,...
n11's user avatar
  • 9
0 votes
1 answer
20 views

How to change fancyheadoffset different for single pages than double digit pages

I'm using fancyhdr to position my page numbers in a document (odd/even pages). \pagestyle{fancy} \fancyhf{}% \renewcommand{\headrulewidth}{0pt}% \setlength\footskip{2.0cm}% \fancyheadoffset[rof,lef]{...
epsilonhalbe's user avatar
  • 1,020
2 votes
1 answer
73 views

How to put frame around each page with white space buffer so that text are do not touch the frame?

I like to put frame around each page. Only around the text area of the page. Not including the header and footer. I am also using fancyhdr. After some struggle, I got the following. But the frame ...
Nasser's user avatar
  • 20.3k
5 votes
2 answers
251 views

Remove page number, if there is only one page in a section

In my current project, I want to create worksheets that I can print out and distribute. To do this, I want to reset the page number for each worksheet, but only display the page number if the ...
Jim Ye's user avatar
  • 85

1
2 3 4 5
38