[Tex/LaTex] Using fancyhdr to create an image based header and footer


I'm trying to generate a latex report (via Sweave and R) where the header of the document is an image that covers everything (including the top/left/right page margin) and the footer covers everything (including the bottom/left/right page margin) such that the graphics for header and footer are flush to the page edges.

Kind of like this:

enter image description here

I've been playing around with fancyhdr but I can't seem to get it to do anything but stick out in the middle of the page. Additionally, I can't seem to get the header/footer to show up on ALL pages.

Help would be appreciated, here's where I am so far:


\title{Example Document}
\author{Author Name}
\date {\today}
\section{This is a good example}
Example text goes here \\
Repeat me to force a new page \\ 

Best Answer

I found a better solution using the wallpaper package, replacing foo and bar produces the desired result.

\usepackage{lipsum}% http://ctan.org/pkg/lipsum

Related Question