From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 514A12BE35 for ; Wed, 9 Oct 2024 18:38:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 02BC548569D for ; Wed, 9 Oct 2024 18:23:24 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:message-id:date:date:from :from:in-reply-to:references:mime-version:received:received :received:received:received:received; s=cgl; t=1728491003; x= 1731083004; bh=e7LYu3sG1VAEJvdQteZ/O1PTx9p2GlUKzNPjGof9Rkc=; b=u 1SZgFjE5ZK2OgTByAfXsQsQgkoaVHddta/yTFHfYm7bNQbceqhtmXF4+68Rqj06D uZIACDzWjwuyYl6SQlvaKOkVxz0kHCGpJh5Ndt0skcpSBuXPZSB5CSQJa8IyTMeZ DL9uIx2KDCmQkNcBUsorpHIlacZsZt9a9pqeedosYE= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id agfVhLsxSu5c for ; Wed, 9 Oct 2024 18:23:23 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 34335485741 for ; Wed, 9 Oct 2024 18:20:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C4D3848425F for ; Wed, 9 Oct 2024 18:20:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hph21oSdLC-D for ; Wed, 9 Oct 2024 18:20:15 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.50; helo=mail-wm1-f50.google.com; envelope-from=bowenalan03@gmail.com; receiver= Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 39D484841E2 for ; Wed, 9 Oct 2024 18:20:15 +0200 (CEST) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-431126967d6so7260805e9.0 for ; Wed, 09 Oct 2024 09:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728490814; x=1729095614; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=VLGslqk++TndmEMd92uQZKlQcwrIUPjBDpHK1MctQwo=; b=D8y0SliVg40/Zw6/ekf+8Jg80JzqMkVVBi4UBcIbS623iK0DjaFL6KMKc5o22RuhaG KYonw5uaR2Q2sbDrOzQIk2lSx/4OzS2msSDzWhgUKqdwq8NZ2HIm3djpIKjH8+kn/noH TqeUxQUrbZcuvfU4guoUTFDJhgwCozrMCT9mRpaIqyr5xjqlKFnyqxMCezkLbXm3u+Ex uo81DbCB729FxlY55uoOkPsZP2BlS+32vpetu5TL3oi+uhteCe9FjZ7ASGATc4awyydr Chq06g6eDjI0vKZZq2WkyX5zsmA4YuaDu3y4as02U17Jwk90cOPJ7bplEhQupbk6o4WL DlUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728490814; x=1729095614; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VLGslqk++TndmEMd92uQZKlQcwrIUPjBDpHK1MctQwo=; b=l2aCoEU+6LwGB0kr3pKrs1lMegWS0BOyl3GJxR7SUiGHL2jH9+n6yfJSZat7ieAk0C ssnsoazowKCn18GncHQkcmUad35uUwucO3B24DC2yUuDwkgNUHE2wxO0jvWIWtimc2bp uBzxCLD9zb5jHP8rqm+t4yH6Eo6xv5DUFcNl40A6eHjLnD307Pze6yZuexW5AknmsPko Ui//eTGryS+AOlDuL/NPn03f9LygsdKhh/hra1feGjTtiJcVRATtpa+orEkH1Wjvlu6P JycMFh+9wz1lOmv0hUUWuDRL4G0uVhU1Oxy9QixswlPB/C+O5AKv0atvigOLxRdxDGy6 w8jg== X-Gm-Message-State: AOJu0Yy9Qg9W2yD4HV7ixDl+/MhatSjQ/tGZWBFn2sxjyz9xyhBufhKG SCXZC6UmPv8IT+C7M6riN67LIJ12zB9xC19uPG4wZOp0VB8DdWfmxs3KRi2GO37ho23edmyhmzp 0dhL1CQptYotQmVXyYR0ABjqDh8duXw== X-Google-Smtp-Source: AGHT+IGmGOXplcar9BaUOQ0ZBhc35jqabm62ROEM20vyZlH4CYzLJ+ZvbD22vrKGJaNg/mOFh8v9LGDDlIz7Ybjd4M0= X-Received: by 2002:a05:600c:a015:b0:42c:b4f1:f2ad with SMTP id 5b1f17b1804b1-430d70b40d3mr24590735e9.33.1728490814006; Wed, 09 Oct 2024 09:20:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Bowen Date: Wed, 9 Oct 2024 12:20:00 -0400 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: KQWIGWE5WNFV63SLKMDMDPNRRNKKFZ4D X-Message-ID-Hash: KQWIGWE5WNFV63SLKMDMDPNRRNKKFZ4D X-MailFrom: bowenalan03@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: equation to right margin List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============4364306990166119828==" --===============4364306990166119828== Content-Type: multipart/alternative; boundary="000000000000f76b6106240da07f" --000000000000f76b6106240da07f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I understand. The reasoning makes sense to me and, as editor of a paper in which this appears, I will ask the author to consider dropping the brace. I wonder of there is some similar thinking underlying the fact that \startcases... puts the equation number so close to the equation itself and not at a margin (typically right). Again, many thanks, Mikael. Alan On Wed, Oct 9, 2024 at 12:12=E2=80=AFPM Mikael Sundqvist = wrote: > Hi, > > I think what you ask for was never supported in ConTeXt, for a reason. > The idea is that either one groups a set of equations with a brace and > numbers them with one number, or one does not group, and then one can > number each line separately/independently. Grouping on the left with a > brace and numbering one line to the right is, even if we see that > often, not really logical. > > If there is a large request for doing this, I can talk to Hans about > it, maybe it is easy on the code side to support it. But I remember > from when we were messing with numbering, and in particular when there > are alignments, that it is a bit complicated. > > /Mikael > > On Wed, Oct 9, 2024 at 5:19=E2=80=AFPM Alan Bowen = wrote: > > > > Thank you, Mikael. That is very helpful and much appreciated. > > > > What I now have is: > > \startplaceformula > > \startformula > > \startalign > > \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\] \NR[eq:1] > > \NC n^2+12 \NC=3D=E2=96=A1^\prime. \NR[eq:2] > > \stopalign > > \stopformula > > \stopplaceformula > > which put the numbers at the right margin,as I wanted. > > > > So how do I get a brace on the left rather than on the right? Or is > there documentation that explains this? > > > > Alan > > > > On Wed, Oct 9, 2024 at 10:22=E2=80=AFAM Mikael Sundqvist > wrote: > >> > >> Hi, > >> > >> On Mon, Oct 7, 2024 at 11:45=E2=80=AFPM Alan Bowen > wrote: > >> > > >> > I have the following which works, except for the fact that the > equation number does not go to the right margin. > >> > > >> > \startplaceformula > >> > \startformula[align=3Dmiddle, prefix=3Dno] > >> > \startcases[distance=3D2pt] > >> > \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]\NR > >> > \NC\hfill n^2+12 \NC=3D=E2=96=A1^\prime.\NR[eq04] > >> > \stopcases > >> > \stopformula > >> > \stopplaceformula > >> > > >> > I expect that I have missed something pretty basic here, so any > guidance will be greatly appreciated. > >> > >> Maybe I misunderstand you, but I do not think cases is right here. > >> Also, are you sure you want to group two equations but only number one > >> of them. > >> > >> If I understand you correctly, I'd try with one of these, depending on > >> if citing the group or one of the equations. > >> > >> \starttext > >> > >> \startformula > >> \startalign[location=3Dpacked,fences=3Dsesac] > >> \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]\NR > >> \NC n^2+12 \NC=3D=E2=96=A1^\prime. \NR > >> \stopalign > >> \numberhere[eq:foo] > >> \stopformula > >> > >> \startplaceformula > >> \startformula > >> \startalign > >> \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\] \NR%[eq:bar-a] > >> \NC n^2+12 \NC=3D=E2=96=A1^\prime. \NR[eq:bar-b] > >> \stopalign > >> \stopformula > >> \stopplaceformula > >> > >> \stoptext > >> > >> /Mikael > >> > _________________________________________________________________________= __________ > >> If your question is of interest to others as well, please add an entry > to the Wiki! > >> > >> maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > >> webpage : https://www.pragma-ade.nl / https://context.aanhet.net > (mirror) > >> archive : https://github.com/contextgarden/context > >> wiki : https://wiki.contextgarden.net > >> > _________________________________________________________________________= __________ > > > > > _________________________________________________________________________= __________ > > If your question is of interest to others as well, please add an entry > to the Wiki! > > > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > > webpage : https://www.pragma-ade.nl / https://context.aanhet.net > (mirror) > > archive : https://github.com/contextgarden/context > > wiki : https://wiki.contextgarden.net > > > _________________________________________________________________________= __________ > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror= ) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > _________________________________________________________________________= __________ > --000000000000f76b6106240da07f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I understand. The reasoning makes sense to me and, as edit= or of a paper in which this appears, I will ask the author to consider drop= ping the brace.

I wonder of there is some similar thinking u= nderlying=C2=A0the fact that \startcases... puts the equation number so clo= se to the equation itself and not at a margin (typically right).

<= /div>
Again, many thanks, Mikael.
Alan

On Wed, Oct 9, 2024 at 12:1= 2=E2=80=AFPM Mikael Sundqvist <micke= p@gmail.com> wrote:
Hi,

I think what you ask for was never supported in ConTeXt, for a reason.
The idea is that either one groups a set of equations with a brace and
numbers them with one number, or one does not group, and then one can
number each line separately/independently. Grouping on the left with a
brace and numbering one line to the right is, even if we see that
often, not really logical.

If there is a large request for doing this, I can talk to Hans about
it, maybe it is easy on the code side to support it. But I remember
from when we were messing with numbering, and in particular when there
are alignments, that it is a bit complicated.

/Mikael

On Wed, Oct 9, 2024 at 5:19=E2=80=AFPM Alan Bowen <bowenalan03@gmail.com> wrote:<= br> >
> Thank you, Mikael. That is very helpful and much appreciated.
>
> What I now have is:
> \startplaceformula
>=C2=A0 =C2=A0\startformula
>=C2=A0 =C2=A0 =C2=A0\startalign
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]= =C2=A0 \NR[eq:1]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\NC=C2=A0 n^2+12 \NC=3D=E2=96=A1^\prime.=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \NR[eq:2]
>=C2=A0 =C2=A0 =C2=A0\stopalign
>=C2=A0 =C2=A0\stopformula
> \stopplaceformula
> which put the numbers at the right margin,as I wanted.
>
> So how do I get a brace on the left rather than on the right?=C2=A0 Or= is there documentation that explains this?
>
> Alan
>
> On Wed, Oct 9, 2024 at 10:22=E2=80=AFAM Mikael Sundqvist <mickep@gmail.com> wro= te:
>>
>> Hi,
>>
>> On Mon, Oct 7, 2024 at 11:45=E2=80=AFPM Alan Bowen <bowenalan03@gmail.com&g= t; wrote:
>> >
>> > I have the following which works, except for the fact that th= e equation number does not go to the right margin.
>> >
>> > \startplaceformula
>> > \startformula[align=3Dmiddle, prefix=3Dno]
>> > \startcases[distance=3D2pt]
>> > \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]\NR
>> > \NC\hfill n^2+12 \NC=3D=E2=96=A1^\prime.\NR[eq04]
>> > \stopcases
>> > \stopformula
>> > \stopplaceformula
>> >
>> > I expect that I have missed something pretty basic here, so a= ny guidance will be greatly appreciated.
>>
>> Maybe I misunderstand you, but I do not think cases is right here.=
>> Also, are you sure you want to group two equations but only number= one
>> of them.
>>
>> If I understand you correctly, I'd try with one of these, depe= nding on
>> if citing the group or one of the equations.
>>
>> \starttext
>>
>> \startformula
>>=C2=A0 =C2=A0\startalign[location=3Dpacked,fences=3Dsesac]
>>=C2=A0 =C2=A0 =C2=A0\NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]\NR<= br> >>=C2=A0 =C2=A0 =C2=A0\NC=C2=A0 n^2+12 \NC=3D=E2=96=A1^\prime.=C2=A0 = =C2=A0 =C2=A0 =C2=A0 \NR
>>=C2=A0 =C2=A0\stopalign
>>=C2=A0 =C2=A0\numberhere[eq:foo]
>> \stopformula
>>
>> \startplaceformula
>>=C2=A0 =C2=A0\startformula
>>=C2=A0 =C2=A0 =C2=A0\startalign
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0\NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prim= e\]=C2=A0 \NR%[eq:bar-a]
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0\NC=C2=A0 n^2+12 \NC=3D=E2=96=A1^\prime.= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \NR[eq:bar-b]
>>=C2=A0 =C2=A0 =C2=A0\stopalign
>>=C2=A0 =C2=A0\stopformula
>> \stopplaceformula
>>
>> \stoptext
>>
>> /Mikael
>> __________________________________________________________________= _________________
>> If your question is of interest to others as well, please add an e= ntry to the Wiki!
>>
>> maillist : ntg-context@ntg.nl / https://mailman.nt= g.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage=C2=A0 : https://www.pragma-ade.nl / https://context.a= anhet.net (mirror)
>> archive=C2=A0 : https://github.com/contextgarden/co= ntext
>> wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net<= br> >> __________________________________________________________________= _________________
>
> ______________________________________________________________________= _____________
> If your question is of interest to others as well, please add an entry= to the Wiki!
>
> maillist : ntg= -context@ntg.nl / https://mailman.ntg.nl= /mailman3/lists/ntg-context.ntg.nl
> webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhe= t.net (mirror)
> archive=C2=A0 : https://github.com/contextgarden/contex= t
> wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
> ______________________________________________________________________= _____________
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--000000000000f76b6106240da07f-- --===============4364306990166119828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============4364306990166119828==--