# PDF letterhead as document background

My institution's letterhead is available as a PDF file. The PDF is not just of the logo (to be placed in a corner), but of the entire page. Is it possible to make this PDF the background of the first page of my document?

-

You can accomplish this with the wallpaper package. It has many options for creating background images that are tiled, centered, and scaled, on every page or only specific ones. In your case if the letterhead is contained in lh.pdf then you simply need

\documentclass{article}
\usepackage{wallpaper}
\ULCornerWallPaper{1}{lh.pdf}
\begin{document}
\end{document}


The key command in this case is of course \ULCornerWallPaper{<scale>}{<file>} that places the image contained in <file> in the upper-left corner, scaled by a factor of <scale>.

-
didn't he say he wants the entire page, rather than just the logo on the corner? –  Vivi Aug 2 '10 at 19:34
Yes, but based on his description it sounded to me as if the file I called lh.pdf is the size of the entire page. So when it's placed in the upper-left corner, it covers the whole page... –  Michael Underwood Aug 2 '10 at 19:59
Thank you Michael for sharing this. Your tip has been extremely useful for some documents that I had to deal with recently. –  mfriedman Nov 5 '11 at 22:17
I have certain PDF's that when used as wallpaper in this way (or eos-pic way) produce final PDF files that can not be opened by Acrobat Reader (but can be opened with Evince). I didn't find the pattern for this problem, any ideas? –  alfC Jan 10 '13 at 0:54
If your output pdf, produced after the use of the wallpaper package, can be opened by Evince but not with Acrobat Reader, you can fix it using ghostscriptL gs -o repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress corrupted.pdf. You can find more details on the SuperUser site. –  Dev Null Nov 21 '14 at 13:48

The package eso-pic allows to include a background image at each page but also on a single page.

Another option is to use the textpos package that can put a box at a position on the page behind the text. It can be used together with \includegraphics and a PDF file.

-

Here is a example with eso-pic, that uses frontpage.pdf for the first page and normalBackground.pdf for the rest.

First create 2 macros that can be used later.

\usepackage{graphicx}
\usepackage{eso-pic}

\newcommand\BackgroundPicFront{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{frontpage}%
\vfill
}
}
}

\newcommand\BackgroundPic{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{normalBackground}%
\vfill
}
}
}


Then use those macros and don't forget to "clear"/"remove" the first background when you add the next background.

\AddToShipoutPicture{\BackgroundPicFront}
\ClearShipoutPicture