groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Cascading boxes with pic?


From: Jeronimo Pellegrini
Subject: Re: [Groff] Cascading boxes with pic?
Date: Sat, 17 Apr 2010 23:41:37 -0300
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Apr 17, 2010 at 10:04:17PM +0100, Ted Harding wrote:
> Yes, you can -- use 'shaded "white"' as in:
> (...)
>
> So, to answer your description (if I have understood correctly,
> i.e. A is the top one and should overlay B which should overlay C)
> you would need to change the signs of the relative positions,
> and the reference point to "w" instead of "e":
> 
> .PS
> A:box wid 0.7i ht 1i
> B:box wid 0.7i ht 1i at (A.w.x+0.1i, A.w.y+0.1i) shaded "white"
> C:box wid 0.7i ht 1i at (B.w.x+0.1i, B.w.y+0.1i) shaded "white"
> .PE

That's perfect!

> 
> Since "white" is at one end of the range of greys given by 'fill x',
> where x is a number between 0 (white) and 1 (black), you can also
> use this (and its simpler for your case):
> (...)
> 
> The use of 'shaded', however, gives you the option of useing other
> colours, not just greys.
> 
> Hoping this helps,

Absolutely! Thank you!

Is there a complete reference for pic somewhere? The most extensive
text on pic I found so far is a chapter of "Unix Text Processing"
by Dougherty and O'Reilly, but it doesn't seem to be extensive.

J.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]