[pdftex] draftcopy
Peter Cholak
cholak at nd.edu
Fri Jan 25 10:29:46 CET 2002
Outstanding!!
Would it be possible to also overlay in the top or bottem margin {Printed:
\today}?
I used to use dvips to do this.
Thanks in advance.
-peter
On Fri, 25 Jan 2002, 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
>
--
Peter Cholak <Peter.Cholak.1 at nd.edu>
http://www.nd.edu/~cholak
------------------------------------------------------------------------
Department of Mathematics | Phone: (574) 631-6507
255 Hurley | Fax: (574) 631-6579
Notre Dame, Indiana 46556-4618 | Office: 122 Hayes-Healy
------------------------------------------------------------------------
More information about the pdftex
mailing list