[comp.text] grey backgrounds in LaTeX

salzman@randvax.UUCP (Isaac Salzman) (01/25/89)

Anyone have any brilliant ideas on how to do this? Someone here is
interested in taking a region of text (or PicTeX graphics) and putting a
grey background behind it (for figures, etc.).  An obvious method would be
to use a \special for some dvi driver, but this needs to be portable to
various printers (HP LJ+, LaserWriter) and dvi previewers (texx, xdvi,
texsun). A grey font of some sort would suffice (in fact, the current method
is to draw a bunch of periods in that region, not exactly adequate). 
LaTeX or PicTeX source would be nice, and/or some PK/GF font files (for
300dpi devices). Thanks!!

--
* Isaac J. Salzman                                            ----     
* The RAND Corporation - Information Sciences Dept.          /o o/  /  
* 1700 Main St., PO Box 2138, Santa Monica, CA 90406-2138    | v |  |  
* AT&T: +1 213-393-0411 x6421 or x7923 (ISL lab)            _|   |_/   
* ARPA: salzman@RAND.ORG or salzman@rand-unix.ARPA         / |   |
* UUCP: ...!{cbosgd,decvax,sdcrdcf}!randvax!salzman        | |   |     

rokicki@polya.Stanford.EDU (Tomas G. Rokicki) (01/27/89)

> putting a grey background behind it

Should be fairly easy.  Don't use a on-off-on-off type grey, though,
as this will print badly on various printers.  Instead choose a screen
of say 80 dots per inch and an angle of 45 degrees.  At that resolution
(300 dpi) the grey can actually impair the legibility of the fonts
quite dramatically, so be careful and experiment!

-tom