groff
[Top][All Lists]
Advanced

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

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


From: Rüdiger Härtel
Subject: [Groff] Bulleted number - How to do???
Date: Wed, 1 Aug 2007 13:22:10 +0200
User-agent: KMail/1.9.7

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







reply via email to

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