Path: utzoo!attcan!uunet!mcsun!ukc!icdoc!sot-ecs!spqr From: spqr@ecs.soton.ac.uk (Sebastian Rahtz) Newsgroups: comp.text.tex Subject: Re: windows in LaTeX Message-ID: Date: 19 Jul 90 16:11:54 GMT References: <9007181350.AA22847@ucbvax.Berkeley.EDU> Sender: spqr@ecs.soton.ac.uk Organization: Southampton University Computer Science Lines: 26 In-reply-to: MMAC@vax.oxford.ac.uk's message of 17 Jul 90 09:51:00 GMT In article <9007181350.AA22847@ucbvax.Berkeley.EDU> MMAC@vax.oxford.ac.uk (The_Edible_Dormouse) writes: needs to be measured up. Its effect? Draws a window (shaded box with darker shadow) over a table, area of text etc below the \special command. Anyone out there really clever want ot work out a way to make it automatically scale? :-) thats not very tricky.... just put the text in a box, get the size of the box, then rewrite your PS so that the dimensions are parameterized. another solution is to put a TeX rule over the top of your box, and put specials around that to change the gray level. incidentally, I strongly recommend James Clark's dvitops to anyone who likes a good interface for their PostScript \specials. It provides some useful builtins, like changing gray level or color sebastian -- 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)