I am having problems inserting images in the header, using the package fancyhdr. The problem is that the images are getting bigger in everypage by itself. This is a small example code that ilustrates the problem:
Code: Select all
\usepackage[top=2cm, bottom=3cm, left=3cm, right=3cm]{geometry}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\setlength{\headheight}{40pt}
\fancyhf{}
\lhead{\includegraphics[height=\headheight , width=5in]{img/degradadoEncabezado.PNG}}
\chead{}
\rhead{\includegraphics[height=\headheight]{img/logoEncabezado.PNG}}
\rfoot{}
\cfoot{\thepage}
\lfoot{}
\begin{document}
\lipsum[1-50]
\end{document}
Thanks in advance