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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10362
- 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}