All Questions
22
questions
1
vote
1
answer
25
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 ...
3
votes
1
answer
1k
views
Move fancy header down without moving body of article
I am using the fancy header package in an article class (see preamble snippet):
\documentclass[11pt]{article}
\usepackage[left=15mm, right=15mm, top=15mm, bottom=16mm]{geometry}
\usepackage{fancyhdr}
...
0
votes
2
answers
101
views
Fancyhdr not working for articles more than 10 pages long
I am writing a chapter in article class. Please consider the following MWE:
\documentclass{article}
\usepackage{lipsum}
\usepackage{lastpage,refcount}
\usepackage[english]{babel}
\usepackage{fancyhdr}
...
1
vote
1
answer
495
views
Fancyhdr - Get only section name in header of custom pagestyle
So many questions around dealing with fancyhdr, but none works for me...
I have an article where I want my document title and ONLY THE SECTION NAME in the header, not the subsection, not the section ...
1
vote
1
answer
1k
views
Best packages to improve formatting of LaTex document
Best packages to improve formatting of LaTex document
Context
There are many packages designed to improve the styling of a LaTex document, making it look different and clearer from the typical slabs ...
0
votes
1
answer
601
views
Customize fancyhdr footers with background
I'm trying to customize the background of footers using fancyhdr package.
This is what I have now:
\documentclass{article}
\usepackage{fancyhdr}
\usepackage{calc}
\fancypagestyle{plain}{%
\...
1
vote
2
answers
132
views
Bad rendering of a cell [duplicate]
I'm trying to visualize a table inside a fancyhead.
This table has only the yellow central column. The problem is that when I go to compile and open the document with Acrobat DC, I don't see the top ...
1
vote
1
answer
378
views
How to make section* appear in header
I am using the article class and a custom package where I use the fancyhdr package. I define my header using :
\fancyhead[CO,CE]{}
\fancyhead[RO,RE]{\scshape\leftmark}
The problem is that I have ...
0
votes
0
answers
119
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{...
0
votes
0
answers
28
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
1
answer
9k
views
Fancyhead and subsections
I just started to use fancyhead.
I have encountered a problem that my subsection titles are placed on the same row as the header. If the subsection title is too long, the two shunks of text will be ...
1
vote
3
answers
3k
views
Fancyhdr header and footer disappear
Just as it says in the title, my header and footer randomly disappear after my second numbered page.
This is my preamble:
% !TeX spellcheck = hr_HR
\documentclass[12pt,a4paper]{article}
\usepackage[...
3
votes
1
answer
3k
views
How to get author name in header et al?
Currently I am making a template file for our conference, in which we need to write author names in the header.
If the number of authors is two then list those authors in
If the number of authors is ...
0
votes
0
answers
339
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}...
4
votes
3
answers
3k
views
Put the section and subsection in headers using fancyhdr
I would like have the next headers in the two-side article class :
-if the page is odd: "X.The name of the section" at the left (inner) and "number page" at right (outer)
-if the page is even: "page ...