[NTG-context] Extending the black circled numbers

nico nicolas.marsgui at libertysurf.fr
Wed Apr 5 00:13:41 CEST 2006


On Tue, 04 Apr 2006 22:50:58 +0200, Hans Hagen <pragma at wxs.nl> wrote:

> nico wrote:
>> On Tue, 04 Apr 2006 14:44:28 +0200, Hans Hagen <pragma at wxs.nl> wrote:
>>
>>
>>> nico wrote:
>>>
>>>> Hello,
>>>>
>>>> Typically the numbers are rendered white in black
>>>> circle. I could use the Dingbats numbers, but it is limited to 10, so
>>>> that
>>>> I emulated them with the following code to be able to go up to 99.
>>>>
>>>> The questions I have:
>>>> - Is it the right way to do it in context (do I really need metafont?
>>>> Simpler, smarter method?)
>>>>
>>
>>
>>> \setupcolors[state=start]
>>>
>>> \startuniqueMPgraphic{CoCircle}
>>>    fill fullcircle xysized (OverlayWidth,OverlayHeight) withcolor
>>> OverlayColor ;
>>> \stopuniqueMPgraphic
>>>
>>
>> I see here the Hans touch again: it's better and I don't really  
>> understand
>> how it works :-)
>> But there's something strange: the first circle is greater than the  
>> others
>> (but the numbers have all the same size). Tracing a bit I see that the
>> first circle has a width=16.5333pt, the others 13.19997pt. What's the
>> reason for this?
>>
> what os the exact code that you use?how many mp runs do yuo have?

It's exactly the one you gave. I attach the file I compile. Two mpruns; I  
attach the log too.

Regards,
BG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cotest.tex
Type: application/x-tex
Size: 799 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20060405/e2264a83/attachment.tex 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cotest.log
Type: application/octet-stream
Size: 5063 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20060405/e2264a83/attachment.obj 


More information about the ntg-context mailing list