From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116391 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Otared Kavian via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Bug in math alignment Date: Wed, 2 Nov 2022 21:19:00 +0100 Message-ID: <3696ADCD-6F9A-4E72-9444-0461DDCFE08E@gmail.com> References: <01708223-DF86-4A26-9C75-AEE3E2536B7C@mac.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/mixed; boundary="===============6693460535990275271==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32471"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Otared Kavian To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 02 21:19:36 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqKD1-0008Ge-56 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 02 Nov 2022 21:19:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9893C2A48FA; Wed, 2 Nov 2022 21:19:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YPxZomwlVJrA; Wed, 2 Nov 2022 21:19:07 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 340E42A48C3; Wed, 2 Nov 2022 21:19:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 62C4B2A48C3 for ; Wed, 2 Nov 2022 21:19:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38kwq8JuCMuA for ; Wed, 2 Nov 2022 21:19:04 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.53; helo=mail-wr1-f53.google.com; envelope-from=otared@gmail.com; receiver= Original-Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 116342A4886 for ; Wed, 2 Nov 2022 21:19:03 +0100 (CET) Original-Received: by mail-wr1-f53.google.com with SMTP id w14so26121974wru.8 for ; Wed, 02 Nov 2022 13:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :from:to:cc:subject:date:message-id:reply-to; bh=YqP23U3ty6kQ+H6AGWenQOW5qDuZ8Vuxg8KSNZ4YoU4=; b=LOJBIwA6R+6Dzuqk2Tw+AjEWT8tThZRofBfvcd4wOOcbT0BYhs7TRNLl7YQMwOngM4 dhq8e9IU8Z9F5DuF/oWgHnrlZ6TG3ux6uPCcmfhuCr61oz49+7/L37SMnEPmHpWlZRb/ FNz1lnMj0OhY7RYc4cskD0twJFYgUloGAj724ZFrMpzrjTqvpMHwMgZMRGWZZP7UC5DN Yu9AWstOVqmFSidqZZIcCd7DHKQQ/K2heoD1YFXkY1760qLQr9HO/EDMUn3wqsqqPpZW VqI/+OKLL99kLmUi9itW/W1gsz4YnoqcPLZdY6EV8LkfA0PC9wmG5za04tNZzWwWUKND iMPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YqP23U3ty6kQ+H6AGWenQOW5qDuZ8Vuxg8KSNZ4YoU4=; b=NuYzCX8g8NiTVU1cPadeYOoRUy34FzOvJnangVTRZLTteL3ljZBuMK67K1gIMt71VE dgRuiAfumb8e4z+dZQeI5Nw1+S2BSa15wc6g3/UZZLURDvaNAmyDhQLdNU8SlzTpjo7v DKRPp1k1dait2aMKGL7b0jwFllp+8gKV3BY/Jv1sEiEuxEy0ySCn495EEXO+eDi+vbYj frkNh5ylsGwLwEhAN2BnTQbCBXs5jzTQkaCn4Kvlq3eutUizFLUVbmuXK2PZcM3Sk4SR L1QVyuu3aoB/br0/+raMh3XyKhzZnLYzY9opaSH58tCBzszj2mooiH++kTc1LS3ZC/yC oACw== X-Gm-Message-State: ACrzQf3ii4M/d7oPQrlnPI56bNlq9aZ/fArj78mBywrj1RQWoxBrJdcT ABhlkraXEiRgqpU44NxaLzsdZrZEVE4= X-Google-Smtp-Source: AMsMyM4LXbsxfKhPaE4deuaSCv4UWrsaRL0iyVdBu4f92KatyJyanpU002jxv3Ihu1sgUinvw7Pprw== X-Received: by 2002:a5d:4f09:0:b0:236:a983:ae5c with SMTP id c9-20020a5d4f09000000b00236a983ae5cmr15827247wru.708.1667420342429; Wed, 02 Nov 2022 13:19:02 -0700 (PDT) Original-Received: from smtpclient.apple ([2a01:e34:ec02:4760:fdf2:edc6:1a4:a84d]) by smtp.gmail.com with ESMTPSA id v14-20020adfe28e000000b00236a16c00ffsm13636480wri.43.2022.11.02.13.19.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Nov 2022 13:19:01 -0700 (PDT) In-Reply-To: <01708223-DF86-4A26-9C75-AEE3E2536B7C@mac.com> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:116391 Archived-At: --===============6693460535990275271== Content-Type: multipart/alternative; boundary="Apple-Mail=_1C4CA6BE-985C-451E-8ED6-C4014767837A" --Apple-Mail=_1C4CA6BE-985C-451E-8ED6-C4014767837A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Jeong, Thanks for testing my example, and pointing to the solution using \dm = (which I didn=E2=80=99t know=E2=80=A6). I think the correct behaviour of math alignments should avoid using = additional commands such as \dm. We=E2=80=99ll see what Hans and Mikael say. Best regards: OK > On 2 Nov 2022, at 12:53, Jeong Dal via ntg-context = wrote: >=20 > Dear Otared, >=20 >>=20 >> I think there is an issue with the size of math fonts in \frac when = used in math alignments, as it is is shown in the following example. >>=20 >=20 > I confirm what you said. >=20 > However, if I use \dm{} instead of \displaystyle as following, then = the output is correct. >=20 > \placeformula > \startformula > \startalignedcases > \NC - \Delta u \NC =3D 0 \NC \qquad\text{in }\, \Omega \NR > \NC \dm{\frac{\partial u}{\partial {\bi n}}} > \NC =3D V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR > \stopalignedcases > \stopformula > or this (with\type{\displaystyle} added) > \placeformula=20 > \startformula > \startalignedcases > \NC - \Delta u \NC =3D 0 \NC \qquad\text{in }\, \Omega \NR > \NC \dm{\frac{\partial u}{\partial {\bi n}}} > \NC =3D V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR > \stopalignedcases > \stopformula >=20 > In this example, it is OK to use \dm inside of \startformula =E2=80=A6 = \stopformula. > I am not sure that it is what Hans and Mikael want. >=20 > Thanks, >=20 > Best regards, >=20 > Dalyoung >=20 >=20 >=20 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > = __________________________________________________________________________= _________ Otared Kavian e-mail: otared@gmail.com Phone: +33 6 88 26 70 95 --Apple-Mail=_1C4CA6BE-985C-451E-8ED6-C4014767837A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = Jeong,

Thanks for = testing my example, and pointing to the solution using \dm (which I = didn=E2=80=99t know=E2=80=A6).
I think the correct = behaviour of math alignments should avoid using additional commands such = as \dm.

We=E2=80= =99ll see what Hans and Mikael say.

Best regards: OK

On 2 Nov = 2022, at 12:53, Jeong Dal via ntg-context <ntg-context@ntg.nl> = wrote:

Dear Otared,


I think there = is an issue with the size of math fonts in \frac when used in math = alignments, as it is is shown in the following example.


I confirm what you = said.

However, = if I use \dm{} instead of \displaystyle as following, then the output is = correct.

\placeformula
\startformula
\startalignedcases
\NC - \Delta u \NC =3D 0 \NC \qquad\text{in }\, \Omega \NR
\NC \dm{\frac{\partial u}{\partial {\bi = n}}}
\NC =3D V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR
\stopalignedcases
\stopformula
or this (with\type{\displaystyle} added)
\placeformula
\startformula
\startalignedcases
\NC - \Delta u \NC =3D 0 \NC \qquad\text{in }\, \Omega \NR
\NC \dm{\frac{\partial u}{\partial {\bi = n}}}
\NC =3D V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR
\stopalignedcases
\stopformula

In this example, it is OK to use \dm inside of \startformula = =E2=80=A6 \stopformula.
I am not sure that = it is what Hans and Mikael want.

Thanks,

Best regards,

Dalyoung




___________________________________________________= ________________________________
If your question is of = interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
_______________________________________________________________= ____________________

Otared Kavian
Phone: +33 6 88 26 70 = 95



= --Apple-Mail=_1C4CA6BE-985C-451E-8ED6-C4014767837A-- --===============6693460535990275271== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6693460535990275271==--