On Mon, 2024-05-27 at 19:28 +0200, Wolfgang Schuster wrote:
> TeX complains about the value ".5fw" for the radius key. Hans added
> last year the function to add new units to ConTeXt and I used it to
> set the radius to half of the width of the framed box.
> 
> Use the following version of the setup for the frame which works with
> older ConTeXt installations because it doesn't use the feature.
> 
> \defineframed
>    [textcircled]
>    [   width=1.5em,
>       height=1.5em,
>     location=low,
>       corner=round,
>      %radius=.5fw,
>       radius=\dimexpr\framedwidth/2\relax,
>       offset=none]
> 
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext

Thank you kindly, Wolfgang. That worked perfectly.

-- 
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to