From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84935 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: \mframed not aligned in mkiv Date: Tue, 22 Oct 2013 02:20:59 +0800 Message-ID: References: <8C10B533-95E0-4EFB-B024-490322A55C09@gmail.com> 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 1382379675 9019 80.91.229.3 (21 Oct 2013 18:21:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 18:21:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 21 20:21:20 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 1VYK6Q-0005YT-Nw for gctc-ntg-context-518@m.gmane.org; Mon, 21 Oct 2013 20:21:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2808C1020A; Mon, 21 Oct 2013 20:18:25 +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 6Hnuc-sDX83v; Mon, 21 Oct 2013 20:18:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 07AB410201; Mon, 21 Oct 2013 20:18:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC5FB10201 for ; Mon, 21 Oct 2013 20:18:21 +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 T1oRTWBk6ExJ for ; Mon, 21 Oct 2013 20:18:20 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2A898101FE for ; Mon, 21 Oct 2013 20:18:20 +0200 (CEST) Original-Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9LIQ7jN010572 for ; Mon, 21 Oct 2013 20:26:07 +0200 Original-Received: by mail-pa0-f53.google.com with SMTP id kq14so8426264pab.40 for ; Mon, 21 Oct 2013 11:21:11 -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=N8GqSimv3He2DcQlDHztpMxvml9NSwDycHgHlfPSuEY=; b=zM6/Lve8491rW7DCWSbBas4CEXC1fyT5P7Cd0Tx3GNV/9RXvzkEeCKCXLHH2gp7MlH /1UMQb8ofVFhtL6t4PZh0ximEESrrfxo8iRV1/YXJZ7FnuLy8VwTJffBvrydJeD+Slc/ R4VbaCd0hW9pMB/5t3sS/IElRzbpVKav7PTcMchto1rGGeJlM5J3yK4koW6LO1Tm1qHV CGcsG/Z862C4BxrBESwdUDCrZuy2F0obvXLKoz+dSHHQECG//kK5va0X0FsHdD9KxvP+ EAQClqFLw4ckXEJEcCPH/eFD3hpencsUxsWJCu2EbX02T7pMmhYxT0JRMr91cqEXyrvi DoSg== X-Received: by 10.66.164.136 with SMTP id yq8mr18986288pab.67.1382379670685; Mon, 21 Oct 2013 11:21:10 -0700 (PDT) Original-Received: from [10.150.11.182] ([42.62.1.185]) by mx.google.com with ESMTPSA id tz3sm22406336pbc.20.2013.10.21.11.21.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Oct 2013 11:21:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400e:c03::235; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KDSq7rK - 3b1cf23ccada - 20131021 (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:84935 Archived-At: Thanks Aditya! I overlooked this change in mkiv=85 Best regards: OK On 21 oct. 2013, at 22:18, Aditya Mahajan wrote: > On Mon, 21 Oct 2013, Otared Kavian wrote: > = >> Dear Hans, >> = >> I noticed a difference between mkii and mkiv in the behavior of \mframed= : it seems that in mkiv the frame is not vertically aligned with the the + = sign in the following example (or rather it is not vertically centered, ple= ase see the attached PDF produced with ConTeXt ver: 2013.10.15 13:52 MKIV). >> Does one have to use now a new key to require this sort of alignment? >> = >> Best regard: OK >> = >> %%%% begin mframed-example.tex >> \setupcolors[state=3Dstart] >> = >> \def\graymath{\mframed[frame=3Doff, >> background=3Dcolor, >> backgroundcolor=3Dlightgray, >> backgroundoffset=3D2pt >> ]} >> = >> \starttext >> = >> Since for $|x| < 1$ we have >> \startformula >> \log(1+x) =3D \graymath{x- \displaystyle{x^2\over2}} + {x^3 \over 3} + \= cdots >> \stopformula >> we may write $\log(1+x) =3D x + O(x^2)$. >> = >> \stoptext >> %%%% end mframed-example.tex > = > Search for "Alignment in inmframed" in the mailing list archives. > = > % The next statement is part of the core. Included it here for % illustra= tion. > = > \definemathframed[mcframed] [location=3Dmathematics] > = > \starttext > = > \startformula > \ln (1+x) =3D \mcframed[background=3Dcolor,backgroundcolor=3Dred,foreg= roundcolor=3Dwhite,frame=3Doff]{x - {\frac {x^2}{\frac{x^3}{\frac{x^3}{3}}}= }} + > \frac{x^3}{3}-\cdots. > \stopformula > = > \startformula > \ln (1+x) =3D \mcframed{x - {\frac {x^2}{\frac{x^3}{\frac{x^3}{3}}}}} = + \frac{x^3}{3}-\cdots. > \stopformula > = > \stoptext > = > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________