🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #659

Re: DRAFT using bop-hook

#659
From: William Gilbert
Date: Sun, 05 Apr 1992 14:04
35 lines
1908 bytes
In article <1992Apr1.112741.11527@monu6.cc.monash.edu.au> ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) writes:
>How do I get latex to print DRAFT at the top of the page, preferable in a rectangle.
>
>I am using C-TeX on a next and the local manual says this.
>
>\special{!userdict begin /bop-hook{gsave 200 300 translate
>65 rotate /Times-Roman findfont 216 scalefont setfont
>0 0 moveto 0.7 setgray (DRAFT) show grestore}def end
>
>Note the non matched pairs { }.
>
Match the braces by adding } at the end.  I have the following style file
that I keep in /LocalLibrary/TeX/inputs/draftcopy.sty.  For some reason,
labelling it draft.sty did not work.  Note the the DRAFT will not appear
in TeXview.
----------------------draftcopy.sty-----------------------------

% To use:  Use an an option to the \documentstyle command in LaTeX
% e.g.  \documentstyle[11pt,draftcopy]{article} 

% Prints a large "DRAFT" diagonally across each page
% Does not show up in TeXview 

\typeout{Prints "DRAFT" on each page; does not show in TeXView}


\special{!userdict begin /bop-hook{gsave 200 30 translate
65 rotate /Times-Roman findfont 216 scalefont setfont
0 0 moveto 0.85 setgray (DRAFT) show grestore}def end}

----------------------------------------------------------------

William Gilbert,  Pure Math Dept,  University of Waterloo
wgilbert@fatou.UWaterloo.ca  [NeXT mail welcome]
wgilbert@math.UWaterloo.ca
Technical Details
Message-ID: <1992Apr5.140419.28167@watserv1.waterloo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!watserv1!fatou!wgilbert
References: <1992Apr1.112741.11527@monu6.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex,comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!watserv1!fatou!wgilbert
From: wgilbert@fatou.uwaterloo.ca (William Gilbert)
Subject: Re: DRAFT using bop-hook
Message-ID: <1992Apr5.140419.28167@watserv1.waterloo.edu>
Sender: news@watserv1.waterloo.edu
Organization: Pure Math Dept, University of Waterloo, Canada
References: <1992Apr1.112741.11527@monu6.cc.monash.edu.au>
Date: Sun, 5 Apr 1992 14:04:19 GMT
Lines: 35