% A simple style file to provide a draft marking in the background of
% a file
% Thank you to Will Uther who provided the base code that I rolled
% into this package
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{draftstamp}
          [2002/12/27 v1.0i Package to provide a draft mark]



\RequirePackage{graphicx}
\RequirePackage{eso-pic}
\RequirePackage{color}

%Got this from Will (will@cs.cmu.edu)
%usage: \draftstamp{date}{label}
\newcommand{\draftstamp}[2]{\definecolor{DraftGrey}{gray}{0.7}
  \ClearShipoutPicture\AddToShipoutPicture{
    \begin{minipage}[b][\paperheight][t]{\paperwidth}
        \centering
        \resizebox{!}{1in}{
            \textcolor{DraftGrey}{
                \begin{tabular}{c}
                    #1 \\
                    #2
                \end{tabular}
            }
        }
    \end{minipage}
}}

\endinput