Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!ub!acsu.buffalo.edu From: xiaofei@acsu.buffalo.edu (Xiaofei Wang) Newsgroups: comp.text.tex Subject: One Stone, Three Birds: Another sample file Message-ID: <72834@eerie.acsu.Buffalo.EDU> Date: 24 Apr 91 19:50:28 GMT Sender: news@acsu.Buffalo.EDU Organization: SUNY Buffalo Lines: 34 Nntp-Posting-Host: lictor.acsu.buffalo.edu \documentstyle{slides} \begin{document} \special{!userdict begin /bop-hook{ 10 20 moveto 570 0 rlineto 0 750 rlineto -570 0 rlineto 0 -750 rlineto stroke 72 144 moveto /Helvetica-Bold findfont 100 scalefont setfont 0.9 setgray (DRAFT) show 0.0 setgray 10 10 moveto /Helvetica-Bold findfont 10 scalefont setfont (date, project name, author, etc) show }def end} After my ``one stone three birds'' post, some users asked me further questions so I decided to put all of the three birds here:a box, a ``DRAFT'' in 0.9 graylevel in the middle and a tiny footnote down in the bottom. All of these are basic of postscript language. Users who know nothing about postscript can just play with numbers in this example. There are questions that I can not answer myself. I don't know how to turn down the box, etc. for certain pages [Why should one need to do that in the first place? ] execpt editing the final postscript [deleting the bop's for certain pages]. I don't know if postscript can print current date automatically. I myself is new to postscript. People are really getting lazy. I feel that sometimes \TeX\ is right tool, sometimes it isn't. I feel that picTeX is not easy to use. I don't feel comfortable to stretch TeX beyond its designed capability. \end{document} -- xiaofei@acsu.buffalo.edu / rutgers!ub!xiaofei / v118raqa@ubvms.bitnet