I want to have a letterhead format with the corporate logo at the very top of the paper. I have figured out how the fill the graphics with the full breadth of the page with the information on this webpage- How to have a figure touch the edge of the page?.
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\begin{document}
%
\newcommand{\dimtorightedge}{%
\dimexpr\paperwidth-1in-\hoffset-\oddsidemargin\relax}
%
\begin{flushleft}
\mbox
{%
\makebox[\dimtorightedge]{}%
\makebox[0pt][r]
{\includegraphics[width=\paperwidth]{logo}}%
}
\end{flushleft}
\section{A test section}
\lipsum[4]
\end{document}
However I'm still struggling to align the top side of the graphics (logo) with the top edge of the paper.
Appreciate any help!

