Am 04.09.2025 um 20:35 schrieb Kip Warner:
On Thu, 2025-09-04 at 18:13 +0200, Wolfgang Schuster wrote:
\starttext
\doloopoverlist
{bonum,cambria,concrete,dejavu,ebgaramond,erewhon,kpfonts,
libertinus,lucida,modern,pagella,schola,stixtwo,termes,xcharter}
{\switchtobodyfont[\recursestring]
\recursestring: \im{\reals \mb \reals}\par}
\stoptext
Thanks Wolfgang. That's quite long though. I managed to reduce it to:
\im{\mb \reals}
This does work, but I'm trying to understand what \im and \mb do here,
neither of which appear to be documented:
https://wiki.contextgarden.net/Command/im
The two commands \im and \dm can be used two force either textstyle or
displaystyle for math content.
\starttext
text \im{\frac{2}{3}} text \dm{\frac{2}{3}} text
\stoptext
https://wiki.contextgarden.net/Command/mb
With \mb you switch to the bold math font, don't confuse it with bold
symbols because the bold font can have its own bold style. Be aware even
when a math font has a bold variant it sometimes lacks bold styles.
\starttext
normal: \im{a \bf b}
bold: \im{\mb a \bf b}
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________