The "style=" use is, in general, preferable for tagging (and
exporting). For less than paragraph switching, the use of
\definehighlight for example could be used.

Quick and dirty font switching is almost always poor usage...

Alan

On Tue, 5 Jun 2018 12:57:59 -0400 (EDT)
Aditya Mahajan <adit...@umich.edu> wrote:

> On Mon, 4 Jun 2018, Alan Braslau wrote:
> 
> > On Tue, 5 Jun 2018 10:37:12 +1200
> > Henri Menke <henrime...@gmail.com> wrote:
> >  
> >> Dear list,
> >> 
> >> probably I'm just missing something obvious.  How can I scale the
> >> math font size to match the text font size locally?  In the
> >> following MWE text is scaled to 10pt but math still appears at
> >> 12pt.
> >> 
> >> \starttext
> >> {\tfx ABC $DEF$ GHI\par}
> >> \stoptext  
> >
> > I believe that the "proper" way would be:
> >
> > \starttext
> >
> > \startparagraph [style=small]
> > ABC $DEF$ GHI
> > \stopparagraph
> >
> > \stoptext  
> 
> Or, \switchtobodyfotn[small] etc. This is what I had written in the 
> tugboat article on font switching (wikified at 
> http://wiki.contextgarden.net/Font_Switching)
> 
> "These quick font switches are meant for changing the font style, 
> alternative, or size of a few words: they do not change the bodyfont,
> so they don't affect interline spacing or math font sizes. So, if you
> want to change the font size of an entire paragraph, use
> \switchtobodyfont described below in Complete Font Change. However,
> it is fine to use them as style directives in setup commands, that
> is, using them as an option for style=... in any setup command that
> accepts style option. "
> 
> Please feel free to change the phrasing if it is not clear.
> 
> Aditya
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an
> entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://context.aanhet.net archive  :
> https://bitbucket.org/phg/context-mirror/commits/ wiki     :
> http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to