[pdftex] draftcopy

Kester Clegg kester at cs.york.ac.uk
Fri Jan 25 11:14:09 CET 2002


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

-- 
*****************************************************
Kester Clegg
Research Associate (UTC )
Department of Computer Science
University of York

Tel (01904) 432749
*****************************************************



More information about the pdftex mailing list