Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fancyhdr]

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

0
votes
0answers
13 views

Page numbering on chapter pages (fancyhdr) + roman numbering before introduction

I would like to have all of my page numbers on the top right of my pages and for now it does so only for my pages without a ,\part or \chapter. Furthermore, I would like my pages before my in ...
0
votes
1answer
40 views

How to put my page numbers on the right side of the header?

I'm writing a \documentclass[a4paper,twoside,12t]{report} and I would like to get my page numbers on the top right side of my pages (after the table of content) with fancyhdr. Here is the code I'm ...
2
votes
1answer
30 views

Automated header change using fancyhdr environment

I would like to change the fontsize in the right header while employing the \pagestyle{fancy} layout using the automated section title change provided by fancyhdr package. MWE \documentclass[12pt,...
0
votes
0answers
119 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 ...
0
votes
0answers
27 views

Package Fancyhdr warning [duplicate]

I use the TexMaker compiler but I'm getting this warning: Package Fancyhdr Warning: \headheight is too small (52.5pt): Make it at least 74.90376pt. How to solve?
2
votes
0answers
21 views

Why does \fancyput affect the head of the first page?

Here is my code \documentclass[UTF8,a4paper,10.5pt,landscape]{ctexart} \usepackage[bottom=3.2cm,top=2.6cm,left=3cm,right=1cm]{geometry} \usepackage{fancyhdr} \usepackage{fancybox} \usepackage{tikz} \...
0
votes
0answers
21 views

How to show the subsection within the header on every page starting with a specific page?

I want to write the name of my subsection on every page header. However, I only want the header to contain the name of the subsection once the regular text starts, i.e. after the table of contents, ...
0
votes
0answers
48 views

Modifying content of existing headers

I am using a document class that sets up some headers (using fancyhdr), and I would like to modify (not overwrite) these headers. For example: The document class creates a right-side header saying "...
2
votes
1answer
34 views

Header of the first pages, which are different from the rest of the document

Hopefully someone can help :) This is my document: \documentclass[12pt,a4paper,twoside]{report} %Layout \usepackage[top=2.5cm, bottom=3cm, left=2.5cm, right=2.5cm,paper=a4paper]{geometry} %Header \...
0
votes
0answers
47 views

Can page heading marks work with paracol?

Problem summary: Neither the standard marks nor extramarks work as desired when using paracol because LaTeX treats each column as a separate page. In my application, each page on paper consists of ...
0
votes
1answer
30 views

Customizing header in fancyhdr

I am trying to make my chapter titles show in the document's header. I know of the \rightmark and \leftmark commands, but I wish to customize the look of the header while still showing the chapter ...
0
votes
1answer
22 views

How to move header to extreme top of page?

Using page geometry as follows: \geometry{a4paper,inner=12mm,outer=10mm,top=15mm,bottom=15mm,footskip=5mm}% Header Code: \rhead{\color{green(munsell)}\normalsize{Visit Summary}}% \lhead{\color{...
1
vote
0answers
29 views

Class newlfm letter does not have bottom margin for the second page [duplicate]

I'm writing a letter with class newlfm and I have a somewhat big issue, the second page does not seem to have the bottom margin. First page bottom: Second page bottom: This is my code: \...
2
votes
1answer
27 views

Change color of page numbering for single pages or a period of pages

I used tikz and fancyhdr to have my pagenumbering in colored circles. Now I want to change the color of the circle for one page. For example the 2nd page should have a blue color. Would it also be ...
0
votes
0answers
20 views

Problems in footer pagenumbers in fancy footer

I'm writing a book with latex. i have the fancy footer code as follows. I am editing on The Legrand Orange Book for making my custom book. \usepackage{fancyhdr} % Required for header and footer ...
0
votes
0answers
49 views

\thispagestyle affects all pages

I have a problem withe the \thispagestyle command: If I use it on the first page of my article, not only the style of this page changes, but all following pages are also affected. It seems that all ...
1
vote
1answer
54 views

How to type a book which is “oneside” in wide margins (all left) but “twoside” for page numbers (odd page numbers on right, even page numbers on left)

I want to type a book which has a relatively wide margin always on left, which is "oneside". However the page numbers are "twoside" that means even page numbers on left and odd page numbers on right. ...
1
vote
2answers
43 views

How to get rid of blank page after title+ get the page number for chapter 2+ even on left and odd on right pages numbers

I need 3 events happening together: get rid of blank page after title get the page number for chapter 2 in header with fancyhdr even on left and odd on right pages numbers for all the pages after ...
2
votes
2answers
44 views

Adjusting layout of footer using fancyhdr

Here is a minimal working example of what I'm trying to achieve in my footer. I'm trying to get the footer rule to be roughly in line with the top of the example-image-a. The lfoot text (which ...
1
vote
1answer
31 views

How to put page number on very left on even pages and on very right on odd pages using fancyhdr

I am using \fancyhead[EL,OR]to put page number on very left on even pages and on very right on odd pages using fancyhdr but it does not work. \documentclass[10pt,openany,oneside]{book} \usepackage{...
0
votes
0answers
28 views

How do I set the actual section in fancyhdr?

I have the following code: \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\sectionmark}[1]{\markright{#1}{}} \fancyhf{} \fancyhead[L]{\leftmark} \fancyhead[R]{\...
2
votes
2answers
31 views

Customize header in class scrreport with fancyhdr

In the example below a header is displayed on each page with a line underneath it. How can I get rid of it and italicize the header? \documentclass[ french, ]{scrreprt} \usepackage[french]{babel}...
0
votes
1answer
39 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: ...
1
vote
1answer
57 views

fancyhdr package does not put my page number all the way to the right for table of content

I am using fancyhdr package to put all the page numbers on the top right corners of the pages as below: \documentclass[10pt,openany,oneside]{book} \usepackage{fancyhdr} \pagestyle{fancyplain}% <- ...
1
vote
2answers
34 views

\fancyhead Even vs Odd pages failing

I am creating worksheets in which odd pages should say "Exercises" in the header while even pages should say "Solutions" in the header using documentclass article, printed twosided. Why does this ...
0
votes
1answer
50 views

A TikZ image set to the width of the entire paper, without changing the header and footer positions and widths

I'm attempting to fit a TikZ image on a page, and would like to make the image as large as possible, without distorting its dimensions. However, at the same time I would also like to be able to ...
0
votes
0answers
26 views

Changing only the header for Table of Contents pages

I want to make my Table of Contents pages show "Table of Contents" in their headers. Right now, according to the MWE below, this is what it shows: And this is what I want it to show: The header, in ...
2
votes
1answer
31 views

Spacing above/below decorative line in fancy header in a two-column document

I'm trying to use a slightly adapted version of the "real 'decorative line'" example from the fancyhdr documentation (p. 17, bottom) in a two-column book document. However, straight from the pdf, the ...
1
vote
1answer
27 views

Prevent overhanging of header on included PDF

I have a headrule which overhangs the text, whereas I would like it to be the same length as the text and aligned with the text. The misalignment seems to come when including a PDF rather than having ...
1
vote
0answers
20 views

\thispagestyle{plain} does not work for the 3rd page from list of figures

I'm trying to create a plain page style for list of figures using the \thispagestyle{plain} command but it only works for the first 2 pages. On the third page, it uses the \pagestyle{fancy}, with ...
0
votes
0answers
34 views

Non-rectangular footers in Latex with page text flowing around logo

How can I generate a page footer on every page of a document that is not rectangular, i.e. that has a larger logo with the page text flowing around it? I'm trying to replicate a page layout ...
0
votes
1answer
33 views

Move numbers to the bottom

I am new in LaTeX. I started a project with an overleaf template. Now I am trying to move the numbers of the page to the bottom to avoid them to overlap with the headings, to do that I has been ...
0
votes
0answers
39 views

Remove numbering in header for certain sections - Fancyhdr

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
0
votes
0answers
60 views

Having problems with LaTeX coding in Rmarkdown (fancyhdr, \headheight)

I'm currently having an issue with latex in Rmarkdown (using fancyhdr package). I am trying to make a data report with a certain template style. This is a screenshot of the pdf at its current stage ...
0
votes
0answers
25 views

Remove chapter and section numbering in header for only select sections

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
2
votes
2answers
148 views

How to set page number in right side in chapter title page?

I need to setup page number right side of the footer. It's ok in the second page of a chapter. But in chapter title page, page number showing in the center of that page. This is my MWE: \...
0
votes
0answers
27 views

How to set top margin for fancyhead?

I need 1in top margin for every page. I have used \usepackage[left=1.5in,right=1in,bottom=1in,top=1in,includefoot, heightrounded]{geometry} But, there for fancyhead does not look good. It takes ...
0
votes
0answers
68 views

Mimic InDesign Chapter Style

In our attempts to convince friends to use (La)TeX, one of them asked if it is possible to create a document like this one : The code for boxes has been discussed in this page and the result is ...
0
votes
1answer
37 views

Problem with the header at using fancyhdr

I'm new in LaTeX and I have a problem creating my header at using fancyhdr package. When I include it, the text overlaps in the upper part of the header, and I've tried to fix with the command \...
0
votes
1answer
34 views

Footnote with fancy page style

i have a problem with footnote and the pagestyle fancy. I tryed to use some commands as \usepackage[bottom]{footmisc}, \interfootnotelinepenalty=10000 or with geometry package but i did not find a ...
1
vote
1answer
14 views

Failing to add customized header

I'm trying to add a customized header as follows, but nothing changes in the file (I'm using overleaf): \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
0
votes
0answers
33 views

Wrong orientation of body box

I am using the fancyhdr package to create a specific headline and footline. My code: \begin{document} \renewcommand\headrule{\textcolor{gray!60}{\rule{\textwidth}{.5pt}}}% \renewcommand{\...
0
votes
1answer
51 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{\...
2
votes
1answer
57 views

After \cfoot command every page is getting the same footer despite of specifying \thispagestyle

I am using fancyhdr package, I want some pages of my document to have a specific footer which I managed to do with the help of \cfoot. I'm using font Marathi. But after that page every page has got ...
3
votes
2answers
26 views

Bibliography as chapter (in ToC, fancyhdr) in book document class

I want my bibliography to be treated as a chapter with class book, but right now it's being treated as a section of the previous chapter (the LE header is of the previous chapter, and it's not bolded /...
1
vote
1answer
65 views

Centering Fancyhdr leftmark and right mark

I would like to know how it was possible to center the chapters and sections marks (I don't know if they call it that) with this (MWE) code \documentclass[10pt,twoside]{book} \usepackage{lipsum} ...
4
votes
1answer
72 views

Change the color of the header line

The answer to the question fancyhdr - Change horizontal line color on top of footer is not completely satisfactory, because it changes the position of the header line, for example with this example. \...
1
vote
1answer
25 views

Capitalization of acronym in header

I'm using the short form of an acronym defined using the glossaries package in a section title. To properly capitalize the title, I'm using the \Acs macro. This works fine for the actual section name. ...
0
votes
0answers
24 views

titlesec makes fancyhdr mistreating the document class

MWE is pretty simple: \documentclass[twoside]{article} %\usepackage{titlesec} \usepackage{fancyhdr} \begin{document} \pagestyle{fancy} \section{tist1} \subsection{a} \newpage \subsection{b} \end{...
3
votes
2answers
56 views

Is there a way to make fancyhdr with pagestyle fancy to be compatible with Chinese language?

I successfully can compile with Chinese characters in my documents using CJKutf8. However it makes all my files, that use fancyhdr with pagestyle fanc to throw encoding related errors during ...