From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91964 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: What is a better way to do this macro? Date: Fri, 17 Jul 2015 06:35:45 +0200 Message-ID: <55A88621.2040202@gmail.com> References: <55A7FFF3.7080205@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1046883596==" X-Trace: ger.gmane.org 1437107804 27137 80.91.229.3 (17 Jul 2015 04:36:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2015 04:36:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 17 06:36:26 2015 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 1ZFxNn-0006TX-SH for gctc-ntg-context-518@m.gmane.org; Fri, 17 Jul 2015 06:36:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 078A71022E for ; Fri, 17 Jul 2015 06:36:23 +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 dAf7cfbnKMwy for ; Fri, 17 Jul 2015 06:36:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A994310230 for ; Fri, 17 Jul 2015 06:36:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99473101F6 for ; Fri, 17 Jul 2015 06:35:55 +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 6Bg1AtYz3bKk for ; Fri, 17 Jul 2015 06:35:54 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id D678D101E6 for ; Fri, 17 Jul 2015 06:35:49 +0200 (CEST) Original-Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by filter3-utr.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t6H4ZmuL011325 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 17 Jul 2015 06:35:49 +0200 Original-Received: by widic2 with SMTP id ic2so30097185wid.0 for ; Thu, 16 Jul 2015 21:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=iYyvC7Wc/xFCK7yRwsewGWDysRGee5vqy/MQ2tSt8o8=; b=FbWQC6i1YQsyMqb5/hvYpny3/lWEBC6PEVeWu6w9iIBfEKvAd+cldADY6v/pMeM4Ie ipEqCY9XlDb2eRyfSBD2hVW6u7nsX64eGLd7dprvT9KESpoLj1ZyL4hpo8VqEF9iI+Dd GsaZu104Nj4I2siOCYL/KgvxynZvwxIdZThKxeWwi0G7fRvWoUUppP5DVBVYYsFjZEhF OkCHhstCpNdaW7aTFsFlO8WbsOXNdMPk/Dh/+ueSvxE29oDVfHhPlJ+4H7N++N8ZuE7E l1/cTkPzysW0Ilaaan724XmgkNgx3xqbPVI1TQI58MKJx5y+yPLpz6E4gPxUkFII6oWv sjug== X-Received: by 10.180.107.70 with SMTP id ha6mr12598529wib.20.1437107748674; Thu, 16 Jul 2015 21:35:48 -0700 (PDT) Original-Received: from keima.localdomain (x2f2a6d7.dyn.telefonica.de. [2.242.166.215]) by smtp.googlemail.com with ESMTPSA id hn2sm16311502wjc.45.2015.07.16.21.35.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jul 2015 21:35:47 -0700 (PDT) User-Agent: Postbox 4.0.1 (Macintosh/20150514) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::233; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08ORgzMlu - 3a6197e3fc06 - 20150717 (trained as not-spam) Received-SPF: pass (filter3-utr.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::233 as permitted sender) receiver=filter3-utr.mf.surf.net; client-ip=2a00:1450:400c:c05::233; envelope-from=; helo=mail-wi0-x233.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:91964 Archived-At: This is a multi-part message in MIME format. --===============1046883596== Content-Type: multipart/alternative; boundary="------------040604040306010304000000" This is a multi-part message in MIME format. --------------040604040306010304000000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Idris Samawi Hamid =D8=A7=D8=AF=D8=B1=D9=8A=D8=B3 =D8=B3=D9=85=D8=A7=D9= =88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF > 16. Juli 2015 22:09 > Hi Wolfgang, all, > > Here is a new test file. Objective: To control the interlinespacing of=20 > the \\ command inside of \framed while keeping the bottom argument y=20 > of {x\\y} on the same baseline as the rest of the sentence. Look=20 > carefully at the examples in the attached pdf and see how the=20 > baselines moves when top is used to control \\. > > A mixture of the parameters top and bottom does the trick, but the use=20 > of bottom is an ugly hack. Is there a better way? See below and attache= d Use the foregroundstyle key to change the interlinespace. Wolfgang --------------040604040306010304000000 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= =20 16. Juli 2015=20 22:09
Hi Wolfgang, all,

Here is a new test file. Objective: To control the interlinespacing=20 of the \\ command inside of \framed while keeping the bottom argument y=20 of {x\\y} on the same baseline as the rest of the sentence. Look=20 carefully at the examples in the attached pdf and see how the baselines=20 moves when top is used to control \\.

A mixture of the parameters top and bottom does the trick, but the=20 use of bottom is an ugly hack. Is there a better way? See below and=20 attached
Use the foregroundstyle key to change the interlinespace.

Wolfgang
--------------040604040306010304000000-- --===============1046883596== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1046883596==--