Pod:

On Fri, May 23, 2008 at 08:23:12PM +0200, pod wrote:
> Hi all
> Here is a short pic example
> .PS
> box height 0.3 "foofoo";
> arrow arrowwid 1;
> box width 3 height 3;
> {"foofoo" at last box .n + (0,-0.1);}
> box  width 1.8 height 1.5 at last box .w + (1.5,0);
> .ps 8
> {"\fBfoofoo()\fR" at last box .n + (0,-0.3);}
> .PE
> 
> I just wanna know how I can make e.g. a box gray?
> I know I can use e.g. box color "yellow" width 3 height 3;
> but not e.g. box fill 0.5 width 3 height 3;
> 
> I use this command groff -p file | ps2pdf - file.pdf
> How can I define own colors?

Try the following:

.PS
box height 0.3 color "black" "foofoo" shaded "yellow" ;
arrow arrowwid 1;
box width 3 height 3 shaded "grey98";
{"foofoo" at last box .n + (0,-0.1);}
box  width 1.8 height 1.5 shaded "pink" at last box .w + (1.5,0);
.ps 8
{"\fBfoofoo()\fR" at last box .n + (0,-0.3);}
.PE

Dean
-- 
                           Dean Provins, P. Geoph.
                         [EMAIL PROTECTED]
                  KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65
          Fingerprint: 9B79 75FB 5C2B 22D0 6C8C 5A87 D579 9BE5 9643 AE65


Reply via email to