You're mixing up two different syntaxes. It's either

\startframed[...]
Content
\stopframed

or

\framed[...]{Content}

Duncan

On Thu, 26 Jun 2025, 05:21 Emanuel Han via ntg-context, <ntg-context@ntg.nl>
wrote:

> I want to have sans serif for the text inside the frame.
>
> While the first example is showing the text with serifs,
> the second example is typeset in sans serif indeed, but unfortunately
> without the first letter (m here).
>
> \starttext
>
> %first example
>
> \framed[frame=on, corner=round, radius=.3em, location=low]
> \ss mmk
> \stopframed
>
> %second example
> {\ss
> \framed[frame=on, corner=round, radius=.3em, location=low]
> mmk
> \stopframed
> }
>
> \stoptext
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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