From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84424 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: question about linespace adjustment Date: Wed, 25 Sep 2013 23:02:35 +0200 Message-ID: References: <5241A380.8050608@sil.org> <5241B74E.3030403@sil.org> <5241CFD3.4020008@sil.org> <5241FF01.1020604@sil.org> <52433F76.30905@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380142966 32702 80.91.229.3 (25 Sep 2013 21:02:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2013 21:02:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 25 23:02:50 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 1VOwEU-0000ry-D0 for gctc-ntg-context-518@m.gmane.org; Wed, 25 Sep 2013 23:02:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82762101DE; Wed, 25 Sep 2013 23:00:41 +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 cb+kY70chr1h; Wed, 25 Sep 2013 23:00:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 62F45101E5; Wed, 25 Sep 2013 23:00:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D25F101E5 for ; Wed, 25 Sep 2013 23:00:38 +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 ZbrtWNCqIBre for ; Wed, 25 Sep 2013 23:00:35 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 8E5E4101DE for ; Wed, 25 Sep 2013 23:00:35 +0200 (CEST) Original-Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8PL2enn006319 for ; Wed, 25 Sep 2013 23:02:40 +0200 Original-Received: by mail-ea0-f178.google.com with SMTP id a15so102418eae.23 for ; Wed, 25 Sep 2013 14:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=OH9Lm0tQp56GSm4M28KODbdxtZ7QpAzedoWWQsCL9Go=; b=YB9cDaeHDYLLulz247JFLYsuFF4J9XiouX6YTxEOnwtnvGXpKLkzXLQohX+ywb9DM5 myHp4155PldB7h3PkFHOErTJvwwx83N8PtuxE/GX3vX08Onfrl0eM0aPEUufc/jt29+u ARirjWzSTFQzWnMDPChATGVBzcE+aL3ccwmENDFjbrSQ3pVFuMuuitvO3JCxLQeMfrLl YZUnvhqbSZh8ztRICShLv+WsMMfG4k985WQMK94QVGs+8Oe8aBIFTxQ29wPbF1fTYImW NpZjrl+H2N9FZONdYUQ/lRk4k9RQduylfGLif+GuIzXhPipN3pWGF5QPUCHDtIWuKMfp p4OA== X-Received: by 10.14.109.201 with SMTP id s49mr6809892eeg.54.1380142960690; Wed, 25 Sep 2013 14:02:40 -0700 (PDT) Original-Received: from [192.168.1.114] (105.157.broadband12.iol.cz. [90.179.157.105]) by mx.google.com with ESMTPSA id i1sm69747454eeg.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Sep 2013 14:02:40 -0700 (PDT) In-Reply-To: <52433F76.30905@sil.org> X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0031 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TKtx2ExI - ee37692aaeb4 - 20130925 (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:84424 Archived-At: Am 25.09.2013 um 21:54 schrieb Lars Huttar : > On 9/24/2013 5:25 PM, Aditya Mahajan wrote: >> On Tue, 24 Sep 2013, Lars Huttar wrote: >> = >>> environment), and the second category only affects the "font" (and I'm >>> still not clear on how the "body font" differs from the current font). >> = >> (Sorry for the terse replies...) >> = >> {\switchtobodyfont[14pt] Text $math$ \sans{Sans} \endgraf} >> = >> {\tfc Text $math$ \sans{Sans} \endgraf} >> = >> Aditya > = > I don't know how this answers the above question. Can anybody explain? > = > Clearly you're drawing a comparison between \switchtobodyfont[14pt] and > \tfc. > I've run the sample, and I see that, as in other samples earlier in this > thread, \switchtobodyfont causes the interlinespace to be adjusted > accordingly, and \tfc doesn't. > = > Is that intended to be an answer to 'how the "body font" differs from > the current font'? And is the answer that the bodyfont is a conglomerate > of more properties than just the font, including interlinespace? You can=92t 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=92t want a forced change of the interli= nespace. To adapt the interlinespace when you now use \tfa etc. you have to add \setupinterlinespace to your code (arguments aren=92t needed) to tell conte= xt to recalculate it. \setuppapersize[A3] \starttext % Standard text size \begingroup \input ward \endgroup \blank % Bigger font size with standard linespacing \begingroup \tfd \the\bodyfontsize \input ward \endgroup \blank % Bigger font size with adapted linespacing \begingroup \tfd \setupinterlinespace \input ward \endgroup \blank % Larger bodyfont \begingroup \switchtobodyfont[25pt] \input ward \endgroup \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________