[pdftex] draftcopy

Hans Hagen pragma at wxs.nl
Fri Jan 25 15:39:55 CET 2002


At 11:14 AM 1/25/2002 +0000, Kester Clegg wrote:
>Very impressive!
>k.
>
>On Friday 25 January 2002 10:57 am, Martin Schroeder wrote:
> > On 2002-01-24 18:08:16 -0500, Peter Cholak wrote:
> > > Is there anyway to get the functionality of the package draftcopy
> > > using pdflatex?  (Draftcopy uses postscript to watermark each
> > > page with "draft" or other words.)
> >
> > This can all be done with the help of eso-pic, color and graphicx:
> > --------------------
> > \documentclass{article}
> > \usepackage{eso-pic}
> > \usepackage{graphicx}
> > \usepackage{color}
> > \usepackage{type1cm}
> >
> > \makeatletter
> >   \AddToShipoutPicture{%
> >     \setlength{\@tempdimb}{.5\paperwidth}%
> >     \setlength{\@tempdimc}{.5\paperheight}%
> >     \setlength{\unitlength}{1pt}%
> >     \put(\strip at pt\@tempdimb,\strip at pt\@tempdimc){%
> >
> > \makebox(0,0){\rotatebox{45}{\textcolor[gray]{0.75}{\fontsize{5cm}{
> >5cm}\selectfont{Draft}}}} }
> > }
> > \makeatother
> >
> > \begin{document}
> > Text
> > \end{document}
> > --------------------
> >
> > Now if somebody would please update the draftcopy package... :-)
> >
> > Best regards
> >         Martin

for context users:

\setuptexttexts
   [{\setupcolors
       [state=start]%
     \rotate[90]
       {\gray[.85]
          {\scale[width=1.2\vsize,height=1.2\hsize]
             {\definedfont[Mono at 60pt]DRAFT}}}}]

hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma at wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------




More information about the pdftex mailing list