Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!icdoc!sot-ecs!spqr From: spqr@ecs.soton.ac.uk (Sebastian Rahtz) Newsgroups: comp.text.tex Subject: Re: LaTeX Inquiries: Invisible Fonts + EndNotes Message-ID: Date: 13 Jan 91 16:30:49 GMT References: <775@mara.cognet.ucla.edu> <009428FE.C1A1FCC0@BINAH.CC.BRANDEIS.EDU> Sender: news@ecs.soton.ac.uk Organization: Southampton University Computer Science Lines: 48 In-reply-to: sommer@BINAH.CC.BRANDEIS.EDU's message of 11 Jan 91 23:58:38 GMT FIn article <009428FE.C1A1FCC0@BINAH.CC.BRANDEIS.EDU> sommer@BINAH.CC.BRANDEIS.EDU writes: *** *** While I'm here, does anybody know where I can find the style file to print a large light gray diagonal ``DRAFT'' or ``CONFIDENTIAL'' across pages? I'm using Tom Rokicki's dvips to generate my output. *** *** `the' style file? I can offer _a_ solution: I just include the following as a new header file when I run dvips. We have a shell script with a -draft option, which allows other words to be used: -draft) shift; if test $# = 1 ; then DVIFLAGS="$DVIFLAGS -h draft.pro" else case $1 in -*) DVIFLAGS="$DVIFLAGS -h draft.pro" ;; *) WORD=$1 DVIFLAGS="$DVIFLAGS -h /usr/tmp/dr$$.pro" sed "s/(DRAFT)/($WORD)/" < $TEX_HOME/tex/PSery/draft.pro > /usr/tmp/dr$$.pro shift;; esac fi;; %% Put the word "DRAFT" (or a specified word) on each page of a postscript %% document. %% %% Author: Spencer W. Thomas %% Computer Science Dept. %% University of Utah %% thomas@cs.utah.edu %% Modified by LA Carr and S Rahtz /DRAFTSTRING { (DRAFT) } def /bop-hook { gsave initmatrix /Helvetica-Bold findfont setfont DRAFTSTRING dup stringwidth pop 8.875 exch div dup 72 mul dup scale 52.3 rotate 2.5 exch div -.35 translate 0.95 setgray 0 0 moveto show grestore } def -- Sebastian Rahtz S.Rahtz@uk.ac.soton.ecs (JANET) Computer Science S.Rahtz@ecs.soton.ac.uk (Bitnet) Southampton S09 5NH, UK S.Rahtz@sot-ecs.uucp (uucp)