ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Braslau <braslau.list@comcast.net>
To: Aditya Mahajan <adityam@umich.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to scale math with text?
Date: Tue, 5 Jun 2018 15:05:22 -0600	[thread overview]
Message-ID: <20180605150522.379b45a6@poo.hsd1.co.comcast.net> (raw)
In-Reply-To: <nycvar.YAK.7.76.44.1806051255010.31180@ervasbepr.pvz.zptvyy.pn>

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 <adityam@umich.edu> wrote:

> On Mon, 4 Jun 2018, Alan Braslau wrote:
> 
> > On Tue, 5 Jun 2018 10:37:12 +1200
> > Henri Menke <henrimenke@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	other threads:[~2018-06-05 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 22:37 Henri Menke
2018-06-05  0:18 ` Alan Braslau
2018-06-05 16:57   ` Aditya Mahajan
2018-06-05 21:05     ` Alan Braslau [this message]
2018-06-06 15:06       ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180605150522.379b45a6@poo.hsd1.co.comcast.net \
    --to=braslau.list@comcast.net \
    --cc=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).