From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84405 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: question about linespace adjustment Date: Tue, 24 Sep 2013 20:18:28 +0200 Message-ID: References: <5241A380.8050608@sil.org> <5241B74E.3030403@sil.org> <5241CFD3.4020008@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1327276666==" X-Trace: ger.gmane.org 1380046719 23544 80.91.229.3 (24 Sep 2013 18:18:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2013 18:18:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 24 20:18:43 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VOXC7-0003A2-7N for gctc-ntg-context-518@m.gmane.org; Tue, 24 Sep 2013 20:18:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0AC8F101DE; Tue, 24 Sep 2013 20:16:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xCSLFVPTKZVc; Tue, 24 Sep 2013 20:16:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A476C101E5; Tue, 24 Sep 2013 20:16:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54AA3101E5 for ; Tue, 24 Sep 2013 20:16:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ySmTXC6N5L4G for ; Tue, 24 Sep 2013 20:16:29 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 864F5101DE for ; Tue, 24 Sep 2013 20:16:24 +0200 (CEST) Original-Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8OIITZa001398 for ; Tue, 24 Sep 2013 20:18:29 +0200 Original-Received: by mail-qc0-f181.google.com with SMTP id q4so3341264qcx.26 for ; Tue, 24 Sep 2013 11:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vgqwtQObFjauCnEUDzCgJLWtcjUi4cH1EmsTzenPVJk=; b=Nb+uDKiGu9EbPzObxxI+13i/nvK5E8Yn7i02adK73KgPX+55yejRUnCa2eN5gyeYH6 MbAHL3C8b61Z7/WL3LwcMJc3O+muwxA++X+Hs86sh4YAq+/U1fq/TlYoWuKv88NnzgCe twGStJ7X6p2gIHLEyhTbOZC2Wp0ZyY9JbmASvEEPKvjaKBuG+W2fYNUUbz4MKOORnLEj Rgj1gR7K+j+l1+Df+tQ0ecj13nsSEw3RsQde0IINGRjrjLlb6ySJVhn1s32bveG9h/so s7c2Wzc4dpR04BHdpwiCeA/N2/ElUfG78zj5hKzA8K6EcvF4M5sCO4Zb8AAmdx87WtId PRcA== X-Received: by 10.224.41.10 with SMTP id m10mr31038934qae.16.1380046708781; Tue, 24 Sep 2013 11:18:28 -0700 (PDT) Original-Received: by 10.140.27.164 with HTTP; Tue, 24 Sep 2013 11:18:28 -0700 (PDT) In-Reply-To: <5241CFD3.4020008@sil.org> X-Bayes-Prob: 0.0017 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c01::235; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Kt6itdA - 6c42049c743a - 20130924 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84405 Archived-At: --===============1327276666== Content-Type: multipart/alternative; boundary=047d7b6760ded9bc2904e7252940 --047d7b6760ded9bc2904e7252940 Content-Type: text/plain; charset=UTF-8 On Tue, Sep 24, 2013 at 7:45 PM, Lars Huttar wrote: > On 9/24/2013 12:01 PM, Lars Huttar wrote: > > > > Can you explain how/why the two ways of increasing the font size should > > have such different effects? (I have read section 5.8 and 5.9 about > > selecting bodyfonts and interlinespace but still don't get it.) > > \tfc is described as a "font selector" command (5.3.2). It seems to me > > that both \tfc and \switchtobodyfont[20pt] simply attempt to switch to a > > different size of whatever bodyfont is currently in effect. But there > > must be something I'm missing. (Or else it's just an arbitrary > > distinction, but that seems unlikely.) > > > > > > Is it that \switchdobodyfont changes the *body* font, which engages the > associated bodyfont environment... > whereas \tfc changes the *font*, not the *body* font? > > Lars > > You can look into font-pre.mkiv \tfc augment the fontsize of a factor of 1.728 It's relative to the default fount size not to the current fontsize: {\tfc foo {\tfc foo}} both foo have the same size But interlinespace is not modified, so we need to reset \starttext OK: \input knuth\blank{\tfx WRONG: \input knuth\blank \tfc WRONG: \input knuth\relax} \page OK: \input knuth\blank{\tfx\setupinterlinespace OK: \input knuth\blank \tfc WRONG: \input knuth\blank} \page OK: \input knuth\blank{\tfx\setupinterlinespace OK: \input knuth\blank \tfc\setupinterlinespace OK: \input knuth\blank} \stoptext -- luigi --047d7b6760ded9bc2904e7252940 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Tue, Sep 24, 2013 at 7:45 PM, Lars Huttar <= lars_huttar@sil.or= g> wrote:
On 9/24= /2013 12:01 PM, Lars Huttar wrote:
>
> Can you explain how/why the two ways of increasing the font size shoul= d
> have such different effects? (I have read section 5.8 and 5.9 about > selecting bodyfonts and interlinespace but still don't get it.) > \tfc is described as a "font selector" command (5.3.2). It s= eems to me
> that both \tfc and \switchtobodyfont[20pt] simply attempt to switch to= a
> different size of whatever bodyfont is currently in effect. But there<= br> > must be something I'm missing. (Or else it's just an arbitrary=
> distinction, but that seems unlikely.)
>
>

Is it that \switchdobodyfont changes the *body* font, which engages t= he
associated bodyfont environment...
whereas \tfc changes the *font*, not the *body* font?

Lars

You can look into
=C2=A0f= ont-pre.mkiv=C2=A0
\tfc augment the fontsize of = a factor of 1.728
It's relative to the defa= ult fount size not to the current fontsize:
{\tfc foo {\tfc foo}} both foo have the same size

But interlinespace is not modified, so we need to= reset
\starttext
OK: \input knuth\blank{\tfx WRONG: \input knuth\blank \tfc W= RONG: \input knuth\relax} \page
OK: \input knuth\blank{\tfx\setupinterli= nespace OK: \input knuth\blank \tfc WRONG: \input knuth\blank} \page
OK: \input knuth\blank{\tfx\setupinterlinespace OK: \input knuth\blank \tfc= \setupinterlinespace OK: \input knuth\blank}
\stoptext


--luigi
--047d7b6760ded9bc2904e7252940-- --===============1327276666== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1327276666==--