ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars Huttar <lars_huttar@sil.org>
To: Wolfgang Schuster <schuster.wolfgang@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: question about linespace adjustment
Date: Fri, 27 Sep 2013 11:57:10 -0400	[thread overview]
Message-ID: <5245AAD6.7070204@sil.org> (raw)
In-Reply-To: <09C77DBA-53B8-4040-971E-B649D2545473@gmail.com>

On 9/26/2013 3:47 PM, Wolfgang Schuster wrote:
> Am 25.09.2013 um 23:45 schrieb Lars Huttar <lars_huttar@sil.org>:
>
>> 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?
> You can use \switchtobodyfont to change the size for certain parts of a text
> but it’s best to keep this to a minimum because \tfa etc. are a  lot faster.
>
> The reason why you don’t need \setupinterlinespace when you use
> \switchtobodyfont is that \setupinterlinespace is already called by
> \switchtobodyfont.

OK, good to know.

> Another thing which shouldn’t be forgotten is that \switchtobodyfont
> controls and changes the sizes for \tfa etc.

Can you elaborate on that?
A few days ago, Luigi wrote,

> \tfc augment the fontsize of a factor of 1.728
> It's relative to the default font size not to the current fontsize

So when he says "relative to the default font size", does that mean the
same thing as "relative to the current body font size"? I think so. The
following example shows that the function of \tfc is relative to the
size set by \switchtobodyfont:

{\tfc tfc \tfc tfc}


{\switchtobodyfont[20pt] 20pt \tfc tfc}


{\switchtobodyfont[6pt] 6pt \tfc tfc}


Here the text after \tfc appears in three different sizes, proportional
to (and larger than) the \switchtobodyfont setting in effect. However,
the first line shows us that \tfc is *not* affected by previous effects
of \tfc. So as Luigi said, there is a distinction between the current
font size (which is affected by \tfc), and the "default font size" -- or
maybe it should be described as "the current body font size" -- which is
not affected by \tfc.
Is that correct?

So does \tfc mean "set the current font size to be three steps up from
the current body font size"?

Thanks. I'm contributing clarifications into the manual as I come to
understand how things are designed to work.

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-27 15:57 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
2013-09-26 19:47                 ` Wolfgang Schuster
2013-09-27 15:57                   ` Lars Huttar [this message]
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=5245AAD6.7070204@sil.org \
    --to=lars_huttar@sil.org \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@gmail.com \
    /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).