From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91840 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Math alignment Date: Tue, 07 Jul 2015 16:47:24 +0200 Message-ID: <559BE67C.2030609@gmail.com> References: <0427DE7E-9FB7-46EA-930E-95349134A831@telia.com> <559B3D6D.1040607@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2108743119==" X-Trace: ger.gmane.org 1436280496 3692 80.91.229.3 (7 Jul 2015 14:48:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2015 14:48:16 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Aberg Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 07 16:48:04 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 1ZCUAG-0002za-5q for gctc-ntg-context-518@m.gmane.org; Tue, 07 Jul 2015 16:48:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B78710263 for ; Tue, 7 Jul 2015 16:48:03 +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 eBu5lJgrv72K for ; Tue, 7 Jul 2015 16:48:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 634FD1026B for ; Tue, 7 Jul 2015 16:47:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4EC8910224 for ; Tue, 7 Jul 2015 16:47:33 +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 SAJpcomlObrY for ; Tue, 7 Jul 2015 16:47:32 +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 999BD10200 for ; Tue, 7 Jul 2015 16:47:32 +0200 (CEST) Original-Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by filter4-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t67ElRke011725 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 7 Jul 2015 16:47:27 +0200 Original-Received: by wiclp1 with SMTP id lp1so53276274wic.0 for ; Tue, 07 Jul 2015 07:47:27 -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:cc:subject :references:in-reply-to:content-type; bh=Vn/gH+VEOgbVmuY1fJ0C5zZRQ6Lw2gzWp06esV47HXw=; b=g/iHeyfPG3118YrvwQiYbJC8wgciaN/pUn6n8k1S2DIIp3ugc4++l1rpt3p+he7PzE 0cP1wScFW3mbzu55A//OL1k4Fz7nh4ydbcpPHcC8ILA4DLPI3CzsKVGxD2YXilsHI/wF zM+umrBkG9wluYUdMJDx5W52PXyRc+1lDngXq53f8ebxz3QxTYUM4XwauqLbKNsIMprL McKrkol9TnkqSpQ6dZhgTLcPWtmRSjRDTn53XxisvI+ztphb05W2FZhs0758t+6iO6Ds qZJpcKobZPaTaezRe9Gd2qlhfcIw1Plwk+vjUmMDhZHwQP7TxW4TAzkjxQOEbsvzcKqP 6miQ== X-Received: by 10.181.13.241 with SMTP id fb17mr105451281wid.13.1436280447134; Tue, 07 Jul 2015 07:47:27 -0700 (PDT) Original-Received: from keima.localdomain (x2f26f31.dyn.telefonica.de. [2.242.111.49]) by smtp.googlemail.com with ESMTPSA id az1sm34335144wib.0.2015.07.07.07.47.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jul 2015 07:47:26 -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::22b; 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: 01ONqLrHw - bf6e7ee6a30b - 20150707 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22b as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22b; envelope-from=; helo=mail-wi0-x22b.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:91840 Archived-At: This is a multi-part message in MIME format. --===============2108743119== Content-Type: multipart/alternative; boundary="------------080800090002080104090101" This is a multi-part message in MIME format. --------------080800090002080104090101 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Hans Aberg > 7. Juli 2015 10:30 >> On 7 Jul 2015, at 04:46, Wolfgang Schuster wrote: >> >>> The spacing is different in cases - TeX also has such a variation. Sp= ecifically, there is extra space before the conditionals. >>> >>> In addition, it seems \startmathcases ... \stopmathcases is not worki= ng with UTF-8: in the example below, the =CF=89=E2=80=99s on the second l= ine, after the arrows, disappear in my PDF. >> This is explained in section 8 of the document: > > FYI, the TeX Live 2015 version from 2007 called context-latex-math.pdf = does not have ch. 8. > >> There are two ways of specifying the second column =E2=80=94 \MC = (Math Column) >> and \NC (New Column). If \MC is used, the second column is in \ma= th mode, >> with \NC it is in =E2=80=98text mode=E2=80=99. > > I get errors when using \MC - see example below. The \NR before \stopmathcases is missing in all your examples. > But the spacing is wrong: too much between the two components. These ar= e not cases, but aligned formulas: one might have a number of alignments,= not just one. And I just happen to use left braces on them. > Take a look at my previous example where I changed the distance between=20 both columns with the distance key. Wolfgang --------------080800090002080104090101 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= =20 7. Juli 2015=20 10:30
On 7 Jul 2015, at 04:46, Wolfgang Schuster =
<schuster.wolfgang@gmail.com> wrote:

The spacing is different i=
n cases - TeX also has such a variation. Specifically, there is extra spa=
ce before the conditionals.

In addition, it seems \startmathcases ... \stopmathcases is not working w=
ith UTF-8: in the example below, the =CF=89=E2=80=99s on the second line,=
 after the arrows, disappear in my PDF.=20
This is explained in section 8 of the d=
ocument:

FYI, the TeX Live 2015 version from 2007 called context-latex-math.pdf do=
es not have ch. 8.

    There are two ways of specif=
ying the second column =E2=80=94 \MC (Math Column)
    and \NC (New Column). If \MC is used, the second column is in \math m=
ode,
    with \NC it is in =E2=80=98text mode=E2=80=99.

I get errors when using \MC - see example below.
The \NR before \stopmathcases is missing in all your examples.
But the spacing is wrong: too much between the two components. These are =
not cases, but aligned formulas: one might have a number of alignments, n=
ot just one. And I just happen to use left braces on them.

Take a look at my previous example where I changed the distance between=20 both columns with the distance key.

Wolfgang
--------------080800090002080104090101-- --===============2108743119== 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= --===============2108743119==--