I want to use Logo as header in my document. However, I have not figured out how to use fancyhdr package efficiently. Text over wrap the header. Any help will be highly appreciated. Thanks
\documentclass{article}
\usepackage{blindtext}
\usepackage{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm, headheight=3pt, footskip=3pt}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}
\fancyhf{}
\fancyhead[C]{
\vspace*{-1.2cm}
\begin{center}
\makebox[\textwidth]{\includegraphics[width=\textwidth, height=6cm]{LogoUAFMathStat.png}}
\end{center}
}
\pagestyle{fancy}
\begin{document}
\section{Introduction}
\blindtext[25]
\end{document}


widthandheightwithout distorcing the image. Just pass thekeepaspectratiooption! – Guilherme Zanotelli Dec 15 '16 at 20:18widthandheightat the same time. In those cases, it is very likely, that your image will ignore one of your arguments. In this specific case, I would have only set one argument. Either\width=\linewidthto stretch the image to the full line length, or\height=6cmto scale it to a given height ... – Jan Dec 16 '16 at 11:45keepaspectratioyou don't have to worry where the Image is, it will always comply with the specifications. For instance, if your image is placed somewhere wherewidth=\linewidthresult in anheight<6cmthen you'll get a short Image and vice-versa. – Guilherme Zanotelli Dec 16 '16 at 11:50