Questions tagged [fancyhdr]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
26 views

Removing the header without removing page numbering

I'm using documentclass article. I want the page number to appear on top-right corner and and heading on top-left corner. Though, I want page numbering in every page, I don't want the heading on very ...
0
votes
0answers
12 views

bibliography showing chapter 1 as footnote

The following is my thesis \documentclass[12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} \graphicspath{{images/}} \usepackage{caption} %\usepackage{subcaption} \...
0
votes
0answers
29 views

The footnote shows chapter 0

My thesis preamble is documentclass[12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} \graphicspath{{images/}} \usepackage{caption} %\usepackage{subcaption} \usepackage{...
1
vote
2answers
30 views

Doublecounters in header, first and last combination

For a > 2000 page book with topics and verses, I want to show on the header, for the left page, the first verse # and the corresponding topic #. For the right page, I want to show the last topic # ...
0
votes
0answers
25 views

Package Fancyhdr Warning: \headheight is too small (12.0pt) [duplicate]

I used the following \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} \fancyhead[RO,LE]{Systemic Crisis: ...
0
votes
0answers
1k views

Inserting footnote under the footrule in fancyhdr

I want my footnotes to appear under the footer. My MWE \documentclass[11pt,a4paper,oneside]{memoir} \usepackage[utf8]{inputenc} \usepackage{blindtext} \usepackage{fancyhdr} \pagestyle{fancy} \...
4
votes
1answer
1k views

Fancyhdr problems with regular footnote!

I am using fancyhdr package. I want a fancy footer but, also want regular footnote to come...is there some way to do both? My code is as follows: \documentclass{article} \usepackage{fancyhdr} \...
1
vote
0answers
32 views

fancyhdr does nothing

I am trying to move the page number to the topic right corner of the page and remove it from the bottom center using fancyhdr. After reading the fancyhdr syntax it seems fairly intuitive, yet when I ...
0
votes
0answers
39 views

if condition to remove chapter name from bibliography

I'm using the "fancy" package combined with the "biblatex" package. Unfortunately in my introduction (an unnumbered chapter) appeared at the top of the page, the chapter number ie 0. I solved this ...
2
votes
1answer
59 views

Layout with two columns, a center margin with references between them, and footnotes, Bible-style: Possible?

I would really like to create a book with the same layout I see in the Bible pictured below, having two columns, a center margin with reference notes that correspond to the numbered verses in those ...
0
votes
0answers
32 views

fancyhdr.sty not found

I have been trying to add fancyhdr.sty to my LaTex using \usepackage, but it will not work. The installation appears to be successful, but the second I try to run the package, I get a message saying ...
0
votes
1answer
33 views

Right align in fancyhdr not working

I am writing a class template for some documents and would like the \rhead{...} to be right aligned (as it normally is). However with the setup i currently have, the header not on the far right; it ...
1
vote
0answers
30 views

Fill a column in multicol with horizontal lines

I'm trying to make a notebook for my classes with adding my slide pictures and putting some horizontal lines as places to write some notes on. I've used multicol package to separate the page into two ...
2
votes
2answers
82 views

Tikzmark Annotations Overlapping with Footer

Currently, my tikzmark annotations overlap with my footer defined by the fancyhdr package. Currently I have my equation with the annotation defined like \begin{equation} \tikzmarknode{A}{2} \end{...
0
votes
1answer
58 views

Define a custom floating environment in page margins?

I am using fancyhdr and tikz to create custom sidebars on the left-even and right-odd sides of my pages (for a book, so documentstyle book). Is there a way to make a new "floating area" and ...
1
vote
1answer
37 views

Fancyhdr for reports

I want to use fancyhdr for the document class report. I want the page number to be on the left side for even page numbers and on the right for odd numbers. On the other side I want the chapter number. ...
0
votes
1answer
54 views

Headers not appearing as expected

apologies if this is a simple fix or obvious! I am relatively new to latex, learning it as I go and using the internet and places like this almost exclusively. I am writing my thesis and would like ...
1
vote
0answers
37 views

Formal Letter with distinct header - footer look depending on page length

I am trying to write a formal letter. The issue I am having is utilising fancyhdr properly. I would like to achieve the following: If only a single page: The header and footer only - without page ...
0
votes
0answers
55 views

Add a logo to tikz fancyhead and footer

USING OverLeaf I would like to add a Logo at right top corner in the header. 1 cm from the right edge. And a text in the footer 1 cm from the left edge. I tried using rhead. But I am very new to ...
0
votes
1answer
49 views

How to set margins, header and footer with fancy hdr?

This is a document template with header and footer, but I have no idea how to make a broken line and that the header look like this (all at the top is the header) Someone can help me?
0
votes
1answer
114 views

Inner Spacing within Footer (fancyhdr)

How can I create exactly the following spaces/distances? Margin from bottom to footerrule: 22mm Distance from footerule to text: 5mm Distance from Footerrule to top of footertext: 7mm Current state: ...
0
votes
1answer
41 views

LaTeX, fancyhdr how to add section name to header

I am using fancyhdr package and unfortunately i am not able to put section name in header inside a mini page in my own defined \pagestyle. For most pages i use \pagestyle{fancy}, but i have one page ...
0
votes
0answers
23 views

How to set fancyhdr subsection to first subsection name on page?

Consider the following MWE: \documentclass[a4paper]{article} \usepackage{fancyhdr} \pagestyle{fancy} \let\Sectionmark\sectionmark \def\sectionmark#1{\def\Sectionname{#1}\Sectionmark{#1}} \let\...
3
votes
1answer
230 views

Multiple page number positions in one document

I'm working on a document with multiple page number styles. The introduction consists of Roman (I, II, III,...) page numbers, the actual text consists of page numbers in Arabic style (1, 2, 3,...), ...
0
votes
1answer
27 views

Two images in different corners of the header

I am writing a document in LaTex however I have an issue with the header. I need to insert two images in the header of the file along with some lines of text. So far my code : \documentclass{article}...
4
votes
3answers
15k views

Different header and footer on the title page (first page)

I have been racking my brains over how in bloody hell can you have a different header for the title (or first) page of a document. I am not asking here how I can not have a header by clearing the ...
0
votes
2answers
84 views

how to make different header & footer setup for first page & rest of the pages in same document

I need to bring different header & footer contents in first page. what package can i use for this process. \documentclass[twocolumn, 9pt, a4paper]{extarticle} \usepackage{titlesec} \titlelabel{\...
3
votes
1answer
869 views

What has changed in LaTeX that means the RSC template no longer works

I've been having an issue with the RSC Article template that causes the first page to render fine, but every subsequent page to render incorrectly, with a large blank area at the top, and the rest of ...
-1
votes
2answers
334 views

RSC template fancyhdr doesn't respond well!

I am using RSC latex template (https://www.latextemplates.com/template/royal-society-of-chemistry) to write my research article using Texliv and the margin at bottom is not well aligned (see image ...
0
votes
1answer
30 views

Set Section name as a mark for Fancyhdr header

I am using the fancyhdr package in my code and the preamble looks like this \fancyhf{} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \fancyhead[LE,RO]{\thepage} \fancyhead[RE]{\...
1
vote
1answer
37 views

How to set header, with `\leftmark` not set by `\chapter*` environment, and manual setting cleared by `\printacronyms`?

\leftmark and \rightmark aren't being set, so I manually do this: \chapter*{Acknowledgements} \fancyhf[HRE,HLO]{\nouppercase{Acknowledgements}} \phantomsection \input{Acknowledgements} \fancyhf[HRE,...
0
votes
1answer
30 views

Costume Template with header and a line over the entire page

I am trying to replicate a template on MS word using LaTeX. The template is as shown in the below picture and must be applied to the entire document. So far I succeeded to either have the text in the ...
0
votes
1answer
41 views

Avoid different format of Title page using fancyhdr

I've been trying to learn some LaTeX formatting and I got stuck on something that should be quite simple but it seems that I only find quite complicated ways to solve it online. When I use the \...
4
votes
1answer
665 views

How to display current section title in the header when a new chapter begins just on an odd page

I am using package fancyhdr to help me construct the headers of my book. The Editor want to me to add the chapter title to the header if the new chapter begins on a page whose number is even, and to ...
0
votes
0answers
29 views

Move page number location on the first page of index to top right

I am using heading page style for my thesis. As a requirement, the page numbers must be consistently at top-right for all pages. My thesis has an index at the end. The page number on the first page ...
5
votes
3answers
2k views

Colored headrule - fancyhdr

Using the provided line of code here changes successfully the header color but creates a gap between the headertext/colorbox(lheadtext, rheadtext) and the header: Is there a way to color the header ...
2
votes
3answers
45 views

How to a create a taller header on the first page?

On the first page of an article I want to create a much taller header than on the rest of the pages. Problem is that the first page overflows at the bottom if I use the solution below. How can I ...
0
votes
1answer
33 views

change header style of bibliography page

My LaTeX looks as follows (I omit somethings): \documentclass{amsbook} \usepackage{fancyhdr,etoolbox} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\thepage} \fancyhead[LO]{\nouppercase\rightmark} ...
0
votes
2answers
474 views

Putting footnote below footer

Hello, using \footnote{insert footnote}looks weird with my footer defined as follows. Is there a method to put the footnote below the footer line? Or any other presentation that looks good \...
0
votes
1answer
35 views

Remove the page number at the bottom center of each new chapter start page

I am making a thesis in LaTeX with \documentclass{scrreprt}. The \usepackage{fancyhdr} is loaded and customized. Default settings of page number I think is \pagestyle{plain} by report, which ...
3
votes
3answers
342 views

How to write rhead only on the first page?

How to write rhead only on the first page? The other rheads should be nothing. Thank you \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} \begin{center} text \...
0
votes
1answer
106 views

Distance between top (or bottom) margin and header (or footer)

I am preparing a camera-ready book. My publisher has given me a stylesheet that is based on a Microsoft Word template. I am having trouble setting the exact measurements of the sheet with the geometry ...
1
vote
1answer
62 views

Problems with page header on Table of contents page

My LaTeX looks as follows (I omit a lot of \usepackage and some fancy settings, e.g. open at odd pages): \documentclass[9pt,a4paper,reqno]{amsbook} \usepackage{fancyhdr,etoolbox} \pagestyle{fancy} \...
0
votes
1answer
32 views

fancyhdr \leftmark, \rightmark entry for \section*

I have the following latex document and I want to include a section "List of Abbreviations" without a numbering. This should appear in the table of contents as well (it should look similar to the List ...
24
votes
4answers
38k views

Page number position

I am working on a long document in LaTeX with documentclass book. I need the page number to always be in the upper right corner of each page, even if that page is the first page of a chapter (right ...
2
votes
2answers
158 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[...
0
votes
1answer
28 views

fancyhdr: Suppress header at the beginning of each chapter

There are questions on this topic but I am still confused (because I still do not understand how the given answers work). How do I suppress the header at the beginning of each chapter? \documentclass{...
1
vote
1answer
44 views

Page number is not placed at the right position

I'm trying to place my page numbers on the left on even pages and on the right on odd ones. As far as I understand the following code should do exactly this, but my page numbers are all on the right ...
1
vote
1answer
28 views

Fancyhdr: Centered header and page number between the rule

\documentclass[10pt]{book} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{lipsum} \usepackage{fancyhdr} \title{My Book} \author{Me} \begin{document} \maketitle \chapter{My Chapter} \...
0
votes
1answer
58 views

My header changes color on pages that start with a section

Im writing a report (in LaTeX) for which a made a header using fancyhdr. The text in my header is suppose to be black and the line is colored. However at some pages my headertext is colored as well, ...

1 2 3 4 5 28