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 1B5342CBF1 for ; Wed, 9 Oct 2024 17:24:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D41E24852D4 for ; Wed, 9 Oct 2024 17:18:42 +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=1728487122; x= 1731079123; bh=AhQYFmZfT/TkUFqZgLTE2sd3BEivgF1dZmERxKfDV3k=; b=m xX7SQ3E+Kd84NRjRxrI7wi2vAScbvs8hAXUfQvXEp5YcvtrXJd8b7hOqfYR7pMt/ 7eM/IlkpmcjuKfyMKfxOLVLkOAlHY0R6Ur+ZD+1wSIRTLsQL+YzRvdOhoTjuT16C RoM+UY7YYuLMMptcbHZ4aLfcwlpD1krhOp5HUcBG8A= 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 vzB9SPGtclum for ; Wed, 9 Oct 2024 17:18:42 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 54BD5485377 for ; Wed, 9 Oct 2024 17:16:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 24104484D66 for ; Wed, 9 Oct 2024 17:16:11 +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 ZQ7MfM-WSsd3 for ; Wed, 9 Oct 2024 17:16:10 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.43; helo=mail-wm1-f43.google.com; envelope-from=bowenalan03@gmail.com; receiver= Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 AD4D5484D4E for ; Wed, 9 Oct 2024 17:16:10 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42cb0f28bfbso65888555e9.1 for ; Wed, 09 Oct 2024 08:16:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728486970; x=1729091770; 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=VmTlaC81Ay3wkE1ngJL7jzWi9vaLIE8cOHQyfQzujl8=; b=F+VLjxEToU71vs/s/iyrbJwVH0OY9DY7E6A9KwRqt9KIBH2/Z6Rv+gLt1QEzXc3q8I /NnJqGIUwKD5iqIepoP3OzgXSDlGXAxBJs+65+VnxiO/pVdoLjsw/pLccNdzZ272urOq FMyZVUdCYTWh+TzTtoUPElIXccNoew44BjlB+8YSn8KcmdRPIj4DGlcYbTJ7gvjuR+lJ SBwC1UTWgDSn/UzuAo3pxNVTOQV13qjuJ8ETqsBGMVgMVJLeki8SsmcoeyAp7iMKoMXk TC1yeclu8IYs6yEt1I0r/KeN6G6A0xCWoPHWGOoGL50X1/4y3/xQvDRmlcC4S6M43wVv XSMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728486970; x=1729091770; 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=VmTlaC81Ay3wkE1ngJL7jzWi9vaLIE8cOHQyfQzujl8=; b=RfAAtGA3KWs1YfIjJbup2DgTWHx4ydOdL2kRBqMWKN09wOeFMioDxqpA0XY+rqe238 6DYrysyQ0/MyVKpMcMtqQzCKPgYz2WlkEBzgSZmL0z+ooEwUnFNtxOjD5WXFl9/ER6Ws 6uactsbCyKDgXbBPBjpfORVzZxG04QZz7eufz73QiQFr3TdPSUSMiPKXFpEIHxOlJO4I gEfgJUleoPJatNygznOHbaQFz+wDFugyFk2DQE4/9M53QdmAPJLOTC3YTWnDBRNP53D6 ZLQn5qdPkNf5qsoWFa4uM3P1jSNrn3kgSq+ipSQfu9ZN2ujWUXgtzXK9mjLValS0rDYl bQ5A== X-Gm-Message-State: AOJu0YxV3zBG3TpoEFwPhzjtUmIrpjqZvl24mAfF7YwGLpRiziQTUuHG ooPd7sY36xn23mjCCmAhHcZ2FImAbSAd71/sGYVjV5VnkRWKnDCqM0vijXNN+/gm5LbS0eK0CuO NffeZOOoN3w2GrovtaET+TgYuyt0XAJi0 X-Google-Smtp-Source: AGHT+IFkTFxF/iTs2Fm1Xipky/BRwxyzytGLAg9SSYBli9/b2G05QUS3KdXhmisjR+0oB7hM/j1oJsibfZxEzLSUGCE= X-Received: by 2002:adf:fe06:0:b0:37c:ccfc:9a12 with SMTP id ffacd0b85a97d-37d3aa2b550mr1804181f8f.33.1728486969442; Wed, 09 Oct 2024 08:16:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Bowen Date: Wed, 9 Oct 2024 11:15:57 -0400 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: ERAF2GZTIINWDM37FEFTDYYDOQ2CESBH X-Message-ID-Hash: ERAF2GZTIINWDM37FEFTDYYDOQ2CESBH 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="===============3015231882715042937==" --===============3015231882715042937== Content-Type: multipart/alternative; boundary="000000000000d012a606240cbb43" --000000000000d012a606240cbb43 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 guidanc= e > 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 > > _________________________________________________________________________= __________ > --000000000000d012a606240cbb43 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you, Mikael. That is ve= ry helpful and much appreciated.

Wha= t I now have is:
\startplaceformula
=C2=A0 \startformul= a
=C2=A0 =C2=A0 \startalign
=C2=A0 =C2=A0 =C2=A0 \NC \[21-(9 - n^2)\N= C =3D=E2=96=A1^\prime\] =C2=A0\NR[eq:1]
=C2=A0 =C2=A0 =C2=A0 \NC =C2=A0n= ^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 \stopalign
=C2=A0 \stopformula
\stopplaceformula
<= /div>
which put the numbers at the right margin,as I wanted.

So how do I get a brace on the left rat= her than on the right?=C2=A0 Or is there documentation that explains this?<= /div>

Alan

On Wed, Oct 9, 2024 at 10:= 22=E2=80=AFAM Mikael Sundqvist <mick= ep@gmail.com> wrote:
Hi,

On Mon, Oct 7, 2024 at 11:45=E2=80=AFPM Alan Bowen <bowenalan03@gmail.com> wrote:=
>
> I have the following which works, except for the fact that the equatio= n 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 guidan= ce 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<= br> if citing the group or one of the equations.

\starttext

\startformula
=C2=A0 \startalign[location=3Dpacked,fences=3Dsesac]
=C2=A0 =C2=A0 \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]\NR
=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 \stopalign
=C2=A0 \numberhere[eq:foo]
\stopformula

\startplaceformula
=C2=A0 \startformula
=C2=A0 =C2=A0 \startalign
=C2=A0 =C2=A0 =C2=A0 \NC \[21-(9 - n^2)\NC =3D=E2=96=A1^\prime\]=C2=A0 \NR%= [eq:bar-a]
=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 \stopalign
=C2=A0 \stopformula
\stopplaceformula

\stoptext

/Mikael
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________
--000000000000d012a606240cbb43-- --===============3015231882715042937== 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 ___________________________________________________________________________________ --===============3015231882715042937==--