Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Luke Huang
Hey, this looks not so ``official'', but smart;) cheers Luke > How about:- > > .PS > r=1 > > circle rad r "\s-2A\s+2" shaded "red" outline "green" invisible > > .PE > > Cheers > > Deri

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Deri James
On Friday 10 October 2008 13:43:26 Werner LEMBERG wrote: > > how to draw a circle with red shade and red edge, while the text is > > green? > How about:- .PS r=1 circle rad r "\s-2A\s+2" shaded "red" outline "green" invisible .PE Cheers Deri

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Ralph Corderoy
Hi Gaius, > here is another solution: > > .LP > .PS > r=0.1 > circle rad r "\m[green]\s-2A\s+2\m[]" shaded "red" outline "red" > .PE Yes, much better. And I see from the fine manual that the two can be combined. .PS circle "\s-2\m[green]A\m[]\s+2" colour "red" .PE Cheers, Ralph

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Luke Huang
Hey, Both works. I prefer to the one from Gaius. Anyway, thanks a lot to you all. Luke > > Quick and very dirty, and I'd hope there was a better way that someone > > points out. Over-print: > > > > .PS > > r=0.1 > > { circle rad r "\s-2A\s+2" shaded "red" outline "green" } > >

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Werner LEMBERG
> how to draw a circle with red shade and red edge, while the text is > green? .PS r=0.1 circle rad r "\s[-2]\m[green]A\m[]\s[0]" color "red" .PE Werner

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Gaius Mulley
Ralph Corderoy <[EMAIL PROTECTED]> writes: > Hi Luke, > > > This works, but is not satisfying enough for me. In this case, it > > draws a circle with green text (what I need) and green edge (*NOT* > > what I need). My question is: how to draw a circle with red shade and > > red edge, while t

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Ralph Corderoy
Hi Luke, > This works, but is not satisfying enough for me. In this case, it > draws a circle with green text (what I need) and green edge (*NOT* > what I need). My question is: how to draw a circle with red shade and > red edge, while the text is green? Quick and very dirty, and I'd hope t

[Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Luke Huang
>From the manual, I learn a way like this, .PS r=0.1 circle rad r "\s-2A\s+2" shaded "red" outline "green" .PE This works, but is not satisfying enough for me. In this case, it draws a circle with green text (what I need) and green edge (*NOT* what I need). My question is: how to draw a c