Page Layout ⇒ fancyhdr | Headers and Footers
fancyhdr | Headers and Footers
I find no solution for my question: I need in header and footer for my document with image and I want that header and footer was in even page. I try use fancyhdr package, but get not result, may be there are another package for headers and footers?
It'll be cool if you give me example. Thank you for you attention.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
fancyhdr | Headers and Footers

Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
fancyhdr | Headers and Footers
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
fancyhdr | Headers and Footers
Code: Select all
\documentclass[10pt, twoside]{article}
\usepackage[margin=3cm, showframe]{geometry}
\usepackage{fancyhdr}
\usepackage{graphicx}
\renewcommand{\headrulewidth}{0.2mm}
\renewcommand{\footrulewidth}{0.2mm}
\fancyhead{} % Clear all header fields
\fancyfoot{} % Clear all footer fields
\fancyhead[LE]{\thepage}
\fancyhead[RE]{even page \ \includegraphics[scale=0.179]{logos}}
\fancyhead[LO]{\includegraphics[scale=0.179]{logos} \ odd page}
\fancyhead[RO]{\thepage}
\pagestyle{fancy}
\begin{document}
Some text
\newpage
Second page
\newpage
Third page
\newpage
Fourth page
\end{document}