ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars Huttar <lars_huttar@sil.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: question about linespace adjustment
Date: Wed, 25 Sep 2013 17:45:57 -0400	[thread overview]
Message-ID: <52435995.1000706@sil.org> (raw)
In-Reply-To: <C2144909-D966-4FCD-B7B6-4C0607C24045@gmail.com>

Wolfgang, thanks for your response.

On 9/25/2013 5:02 PM, Wolfgang Schuster wrote:
> You can’t expect from \tfa etc. to change the interlinespace because these
> commands can be used in your paragraphs to change the size of certain
> words only and in this case you don’t want a forced change of the interlinespace.

Well... \switchtobodyfont[20pt] can also be used in paragraphs to change
the size of just a few words.
But the above suggests that \switchtobodyfont shouldn't be used for that
purpose, and commands like \tfc should?

> To adapt the interlinespace when you now use \tfa etc. you have to add
> \setupinterlinespace to your code (arguments aren’t needed) to tell context
> to recalculate it.
>

Thank you. What I'm trying to learn now is *why* that's true. Or more
precisely, where is the boundary between the font-changing commands that
automatically adjust interlinespace, and those commands that don't? and
what is the conceptual model that motivates the boundary, and helps
users remember and predict where the boundary lies?

What I think I'm hearing is that \switchtobodyfont is intended for
changes of longer duration, say, at least a paragraph. Whereas \tfa and
so on are intended for brief changes, to set off a phrase, for example.

As an example of "where's the boundary", experimentation shows that
\setsmallbodyfont is in the same category as \switchtobodyfont: it
automatically affects the interlinespace. Nevertheless I can't find
anywhere in the manual or on the wiki that tells me that
\setsmallbodyfont differs from \tx in this way (let alone *why* it
differs). Maybe I should expect that any command that has "bodyfont" in
its name is intended for long-term changes, and other commands aren't?

Sorry if I'm being slow on the uptake.
Documentation like
http://wiki.contextgarden.net/Command/switchtobodyfont just doesn't seem
to explain this difference in intention.

Thanks again. I do hope to use this experience to contribute
clarifications to the manual. I've already done that some on the wiki
(hoping that if I get it wrong, someone will correct my mistakes!)

Lars

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-09-25 21:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 14:36 Lars Huttar
2013-09-24 14:51 ` Aditya Mahajan
2013-09-24 16:01 ` Lars Huttar
2013-09-24 17:45   ` Lars Huttar
2013-09-24 18:18     ` luigi scarso
2013-09-24 21:07       ` Lars Huttar
2013-09-24 21:25         ` Aditya Mahajan
2013-09-25 19:54           ` Lars Huttar
2013-09-25 21:00             ` luigi scarso
2013-09-25 21:02             ` Wolfgang Schuster
2013-09-25 21:45               ` Lars Huttar [this message]
2013-09-26 19:47                 ` Wolfgang Schuster
2013-09-27 15:57                   ` Lars Huttar
2013-09-30 20:22                   ` Lars Huttar

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=52435995.1000706@sil.org \
    --to=lars_huttar@sil.org \
    --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).