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
0answers
28 views

Fancy header wrong header width [duplicate]

I'm having some problems with the width of fancyhdr. using this code: \documentclass[twoside]{octavo} \usepackage{lipsum} \usepackage[british]{babel} \usepackage{geometry} \usepackage{fancyhdr} ...
0
votes
0answers
228 views

Last_name et. al in running head using authblk package

I am using authblk package to create to \maketitle with multiple authors and affiliations in an article class document. How can I achieve 'First_Author's_last.name et. al' or 'First_Author's_last.name ...
0
votes
0answers
65 views

First page style change the footer of other pages

I'm writing a class file. In this class, I'm trying to define a style for the first page, and another one for the other pages. The style for the first page is: \fancypagestyle{MECStitlepagestyle}{% ...
0
votes
1answer
368 views

Missing head with page numbers for chapters using fancyhdr [duplicate]

I am working on my thesis, using small parts of the exisiting template of my university. There, the head line is defined like in the MWE. Since I included a table of contents, list of figures and some ...
0
votes
0answers
29 views

I want to write a different footer on the title(first) page and second with these specifics

there has to be a line above the text in the footer. and the text begins with a number and the sentence is almost like a subscript of the number. as shown in the picture.
0
votes
0answers
938 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} \...
0
votes
0answers
23 views

Header: Section on the left, subsection (if existent) on the right [duplicate]

I have got two questions and would be extremely grateful for any help (especially with the first question)! Question 1: I am using the article class and would like the section title (including ...
0
votes
0answers
172 views

Defining new geometry (running arbitrary code) in memoir page styles

Is it even possible? memoir's own documentation about page styles seems to only touch upon the use of different headers and footers and doesn't appear to support adding margin information. Since ...
0
votes
1answer
77 views

Chemical formula in fancyhdr environment [duplicate]

I am using the fancyhdr package to create nice headers for my thesis. I'm running into problems with a chemical formula that appears as a section name. The chemical formula is capitalized when ...
0
votes
0answers
41 views

How do I divide my current headerstyle into two similar headerstyles that I can alter between?

I was thinking of using the fancyhdr package to accomplish this task, according to this question, but I don't yet have the knowledge to get it done. I'm using the following code: \documentclass[...
0
votes
0answers
55 views

Fancyheader placement on first section

I have a problem with fancyheader. The pagestyle is defined like this: \fancypagestyle{companypagestyle}{ \fancyhf{} \fancyhead[R]{ Page \thepage } \fancyhead[L]{ Lorem datasheet } \...
0
votes
1answer
294 views

Italicized small caps words in fancy header? [duplicate]

The following piece of code set the header (chapter names) of my text (report class) in small caps: \fancyhf{} \fancyhead[RE]{\footnotesize\scshape\nouppercase{\leftmark}} \fancyhead[LO]{\...
0
votes
0answers
187 views

Avoid empty headers with fancyhdr in two-side article class

I'm using this configuration for headers: \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\arabic{page}} \fancyhead[LO]{\nouppercase{\rightmark}}% Current section \fancyhead[RE]{\nouppercase{\leftmark}...
0
votes
0answers
223 views

Tall header cuts off the footer when using fancyhdr

For some reason I have to have a pretty tall header and I just noticed, that the footer is cut off. Here is a pretty minimal code to replicate it: \documentclass[a4paper,12pt]{article} \usepackage{...
0
votes
1answer
208 views

Can't apply color inside fancyfoot, setmainfont overwrites it

I'm using fancyhdr package and have this tex file: \documentclass[a4paper]{testcv} \usepackage{fontspec} \usepackage[russian]{babel} \footersection{\today}{Footer text}{} \begin{document} Page text ...
0
votes
0answers
53 views

why usepackage{fancyhdr} does not apply when I use \chapter*{title}?

I have a problem with the fancyhdr package: I use the book documentclass and I have a chapter which is defined like this: \chapter*{Introduction} \addcontentsline{toc}{chapter}{\protect\numberline{}...
0
votes
0answers
338 views

How to have the same top/bottom margins (from the footer/header, if any) and the same left/right margins in the book class

I have the following document. Thanks to the answer https://tex.stackexchange.com/a/272591/ the absolute text-height is 20 cm (text-height+footer+header=20cm). I would that the left and the right ...
0
votes
0answers
167 views

Numbering Chapters and header issue

I am a complete newbie to latex so I apologise if the questions asked are straightforward, I am using the document class with fancyhd, with a documentclass of report. However when producing my report ...
0
votes
0answers
45 views

How can I produce better spacing between header and content when using fancyhdr package?

I am currently using the fancyhdr package with the following setup: %BOOK FORMATTING \usepackage{fancyhdr} % nice header format \fancyhead[RO, LE]{\textbsf{\thepage}} % ...
0
votes
0answers
72 views

how to remove half line in twocolumn in first page? [duplicate]

I want half line in twocolumn article but in first page like this first page second page \documentclass[landscape,12pt]{article} \usepackage[margin=1cm,top=1.3cm,bottom=1.3cm,headsep=5mm] {...
0
votes
0answers
533 views

Can't redefine page style in book class

I have derived a class from the standard book class. I want to redefine the header and footers. But if I use the following code \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} % ...
0
votes
0answers
310 views

Fancyhdr line is too short: How to make it longer? [duplicate]

How can I make the headerline longer? At the moment it looks like this: Minimal Example: \documentclass[a4,12pt]{article} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage[top=1.5in, bottom=1....
0
votes
0answers
187 views

Split a string variable when using fancyhead in Latex

I am using fancyhdr for my reports class. I store the name of the assignment in a variable. Then I place its contents in the top-right of each page except the first one. Besides the top-right I also ...
0
votes
1answer
351 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} \usepackage[left=1.5cm,right=...
0
votes
0answers
120 views

fancyhdr clearing first page of a chapter [duplicate]

Hi have already a working fancyheader, but it is also showing on the chapter beginning which I want to avoid (see attachment). \pagestyle{plain} % reset page numbering to 1,2,3,.. \pagenumbering{...
0
votes
0answers
32 views

pagestyle{fancy} will cause second page to have different alignment [duplicate]

In the below image I copied the second and third page above one another. As you can see the alignment is incorrect. After the third page (including the third page) everything works fine. I am using \...
0
votes
1answer
133 views

Section vertical position is displaced

Here are two pages of the same document, Image 1 shows the 2nd page, where \section{Tareas realizadas} is overlapping the textheight top, while the Image 2 shows the 3rd page (correct behavior). Why ...
0
votes
0answers
45 views

Why do I have to set the pagestyle to fancy before setting it to something else? [duplicate]

I have a minimal example here that creates lowercase headings. \documentclass[12pt, a4paper, oneside, onecolumn]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel}...
0
votes
0answers
54 views

How to put \title in the header? [duplicate]

I am just starting with TeX so please be tolerant for my lack of knowledge. I am using fancyhdr for footers and headers and I would like to put the title from \title into \fancyhead{} How can I do ...
0
votes
1answer
304 views

Using fancyhdr to handle headers of different sizes [duplicate]

I want to use fancyhdr in the letter document class to define a custom header for the first page only. I know that I can use \fancypagestyle to do this (as is discussed here), but the problem is that ...
0
votes
0answers
75 views

Switching between fancy and plain page style [duplicate]

Possible Duplicate: Problem with multiple fancyheader page styles I'm having issues with switching between the fancy and plain page styles. I defined both styles in the preamble but once I have ...
0
votes
0answers
375 views

Rotate one whole page 90degrees in a document including header and footer created with fancyhdr [duplicate]

Possible Duplicate: How to translate and rotate the heading of landscaped pages? I have a thesis with header+footer on each page created using the fancyhdr package. On one page I have an ...
0
votes
1answer
153 views

How to have No fancy header in first page? [duplicate]

I can remove the top bar but not only in the first page. Code \documentclass{article} \usepackage{lipsum} \usepackage{graphicx} \usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr %http://tex....
-1
votes
1answer
717 views

How to remove list of tables (or figure, acronyms) in the abstract or acknowledgements?

I am writing my thesis by using LaTex, and I have the list as below; List of tables List of acronyms Acknowledgements Abstract Howerver, I do not know in the acknowledgements or abstract in the ...
-1
votes
1answer
221 views

How can I remove this line?

How can I remove this line? (The line above the section) I use \pagestyle{fancy}. Is it because of this?
-1
votes
1answer
249 views

Fancy Header: Alternating Centered Headers

How can I can have centered chapter title on odd pages, and centered section title on even pages?
-1
votes
1answer
40 views

How can i change the footer line to dashed line in fancyhdr?

I\m looking for solution that i can change the footer line to dashed line in fancyhdr. I just dont know how can i change the footer line to dashed line, what can i use, please give me a hint or ...
-1
votes
1answer
229 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 ...