* [NTG-context] Re: \ss (sans serif) not applied inside \framed
[not found] <B8F7315C-B870-48F5-BC96-9CF16219D9C2@labonneheure.ch>
@ 2025-06-26 5:00 ` Duncan Hothersall
0 siblings, 0 replies; only message in thread
From: Duncan Hothersall @ 2025-06-26 5:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1225 bytes --]
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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2559 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-26 5:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <B8F7315C-B870-48F5-BC96-9CF16219D9C2@labonneheure.ch>
2025-06-26 5:00 ` [NTG-context] Re: \ss (sans serif) not applied inside \framed Duncan Hothersall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).