groff
[Top][All Lists]
Advanced

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

Re: [Groff] Bulleted number - How to do???


From: andlabs
Subject: Re: [Groff] Bulleted number - How to do???
Date: Thu, 2 Aug 2007 16:41:24 -0700 (PDT)

Why do you need it in a circle when you can just use the ms .IP or mm's
built-in numbering along with a normal number?

If you can't work with the above, then get ready, because either you need
graphics commands and absolute placement - which are both HARD (especially
absolute placement).


Ruediger Haertel wrote:
> 
> Hello,
> 
> I am in the need of bulleted numbers, ie. a filled circle with a number in
> it. 
> Imortant to me is, that I can use such a bulleted numer every where in 
> floating text. But it is not necessary to have it in a table for now.
> 
> Three possible solutions came to mind:
> a) a font with special glyphs of this kind
> b) pic
> c) postscript
> 
> a) I only know of fonts that have the numbers 1..10. I need also highr 
> numbers. So, this is not usable in my case.
> 
> b) Pic would work, but always places the figure in the middle. I couldn't 
> workaround this 
> 
> c) Postscript would work, but I cannot figure out how to do the placement 
> right.
> 
> 
> Here is my approach with pic and postscript. Maybe someone knows a way how
> to 
> do it.
> 
> -------8<---------8<----------------
> 
> .NH
> Point in Postscript
> .LP
> blah blah blah
> .de ci
> \X'ps: exec \\$1 \\$2 translate gsave  1 0 0 setrgbcolor 0 0 8 0 360 arc
> fill 
> 1 1 1 setrgbcolor -2 2 moveto (\\$3) show grestore 0 0 translate
> ..
> .ci 50 50 2
> blubb blubb blubb
> .NH
> Point in pic
> .LP
> blah blah blah
> .PS
> .sp -2.4
> move left 4.0
> circle radius 0.1 "\s-2\fB\m[white]2\m[black]\f[]\s+2" shaded "red" 
> outline "red"
> .PE
> blubb blubb blubb
> -------8<---------8<----------------
> 
> 
> 
> Rüdiger
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Bulleted-number---How-to-do----tf4199494.html#a11975061
Sent from the Groff - General mailing list archive at Nabble.com.





reply via email to

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