[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Bulleted number - How to do???
From: |
Rüdiger Härtel |
Subject: |
Re: [Groff] Bulleted number - How to do??? |
Date: |
Fri, 3 Aug 2007 08:44:00 +0200 |
User-agent: |
KMail/1.9.7 |
Am Freitag 03 August 2007 01:41:24 schrieb andlabs:
> 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?
I used the numbers in a circle in a screenshot to highlight some points. I
thought, using the same numbers in circles in text would simplify the
understanding for the reader.
I will think about something else if it is not easily possible.
> 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
--
with best regards / salutations distinguées / Cordiali Saluti /
med vänliga hälsningar / mit freundlichen Gruessen
Ruediger Haertel
+===========================================================
| port GmbH phone +49 345 77755-0
| D-06132 Halle/Saale mailto:address@hidden
| Germany http://www.port.de
| CAN Wiki http://www.CAN-Wiki.info/
| Ethernet Powerlink http://www.epl-tools.com
| Newsletter: http://www.port.de/register.html
+===========================================================
port Gesellschaft für computergestützte Automation mbH;
Geschäftsführer: Heinz-Jürgen Oertel;
Sitz der Gesellschaft: Halle/Saale;
Registergericht Sachsen-Anhalt Stendal HRB 212667