if you don't want to use metapost you can also use svg for background
for example:

\startuniqueMPgraphic{centered_svg}
  draw lmt_svg [
    filename = "badge.svg",
    width  = OverlayWidth,
    y      = OverlayHeight/2,  ] ;
\stopuniqueMPgraphic

\defineoverlay
  [svgback]
  [\useMPgraphic{centered_svg}]

\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]

\starttext
this is a sample \Sback{1} text
\stoptext

On Mon, May 27, 2024 at 12:38 AM Kip Warner <k...@thevertigo.com> wrote:

> Hello list,
>
> I would like to typeset a number in a circle. Nothing fancy. No special
> colours, transforms, or complex metapost magic (which I am not familiar
> with).
>
> I have tried \circled{3} and \textcircled{3}, but ConTeXt does not
> appear to recognize these commands. Any help appreciated.
>
> --
> Kip Warner
> OpenPGP signed/encrypted mail preferred
> https://www.thevertigo.com
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

Attachment: test.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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