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.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,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 D81E62D179 for ; Thu, 10 Oct 2024 22:51:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3CA1B4852F3 for ; Thu, 10 Oct 2024 22:48:49 +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= list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-type:content-type:mime-version:references :message-id:in-reply-to:from:from:date:date:received:received :received:received:received:received:received:received; s=cgl; t=1728593328; x=1731185329; bh=c0CJzc16T8a+mIDDvM9miKsT2BGbiZVP a2TlMAk9EK0=; b=IcJ1p/yPuXHWjq+0mt6pzEntwzeDlFCMOluwAg0pGszi+/lX dvHnSLLI6u2Pprmh5fF0pp+1VjwZH2cw94FHyuQFBmDX94PIs2Qk8RVZYptiZuuF nFPO2QStt6Q3d8h/2m82KJbgYTIN1/NjwqD69imLJ1pxcw9NbLcMZ4sxwg8= 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=messagingengine.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 572J9orR3D2A for ; Thu, 10 Oct 2024 22:48:48 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id ACCFB48509F for ; Thu, 10 Oct 2024 22:47:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 59769484CCF for ; Thu, 10 Oct 2024 22:46:47 +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 nCFCIzfcaHrm for ; Thu, 10 Oct 2024 22:46:46 +0200 (CEST) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=103.168.172.199; helo=fforwardh-a4-smtp.messagingengine.com; envelope-from=adityam@umich.edu; receiver= Received: from fforwardh-a4-smtp.messagingengine.com (fforwardh-a4-smtp.messagingengine.com [103.168.172.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 D5275484CC9 for ; Thu, 10 Oct 2024 22:46:46 +0200 (CEST) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfforwardh.phl.internal (Postfix) with ESMTP id CAE47292039F for ; Thu, 10 Oct 2024 16:46:42 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 10 Oct 2024 16:46:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728593202; x=1728679602; bh=2ElwMq276w1y+AxGv4unTJnsa+tX amyDlQqnRO+RuHQ=; b=SamfsUBQRw2Y/UmWV8vmQjWKlb7xP93SRWqKrQ0VtRte wu4GpqeIGlDu3cCeYlJUdi1MiNXpti9LU4aafIZCZHB/fF0n0tYnIYA+HnP+XOl/ u9IuhvCHhnW0M9/gyGpzFdGfn3YGXpOhx9YQuS5A/advq4nOEfcnhq8+6brbqIAu oZn/uemXFUEGYy6U4+lDwIKhnZS5hYq2iu+3jRhKoBb2m7wtOELbjGkpmo6/5HW+ oesI7N+KWXOzE4zAyTPjZFye+iS+lFqhqPYOdzbj8PjzlYZPcgHegt7JF+w6aY/9 MuifUvsdciipJABwizOCT3trHtrhB90D0VNxpDieBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefiedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvffujgfkfhggtgesmhdtreertddtjeenucfh rhhomhepteguihhthigrucforghhrghjrghnuceorgguihhthigrmhesuhhmihgthhdrvg guuheqnecuggftrfgrthhtvghrnhepkeegveelheekuddtvdfhkeevkedtjefgfedvtdel ieefteeihfektdekueeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprgguihhthigrmhesuhhmihgthhdrvgguuhdpnhgspghrtghpthht ohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepnhhtghdqtghonhhtvgigth esnhhtghdrnhhl X-ME-Proxy: Feedback-ID: i00d8410d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 10 Oct 2024 16:46:41 -0400 (EDT) Date: Thu, 10 Oct 2024 16:44:54 -0400 (EDT) From: Aditya Mahajan X-X-Sender: adityam@reinforce.cim.mcgill.ca To: mailing list for ConTeXt users In-Reply-To: <5A1DEF8D-911B-43D7-B5F2-6869EC0048BA@gmail.com> Message-ID: <67o047o5-184o-27qn-q9s4-1792q3rs1nq0@hzvpu.rqh> References: <20241009181650.05b36f22@boo.my.domain> <5A1DEF8D-911B-43D7-B5F2-6869EC0048BA@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-830189494-1059203188-1728593095=:1818981" Message-ID-Hash: Q3RB3G3KZ5IAYU6PWGC74MC6NKLW36XW X-Message-ID-Hash: Q3RB3G3KZ5IAYU6PWGC74MC6NKLW36XW X-MailFrom: adityam@umich.edu 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: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---830189494-1059203188-1728593095=:1818981 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 10 Oct 2024, Otared Kavian wrote: > Hi Mikael, >=20 > My personal experience with numbered equations gathered with a big left c= urly brace (assuming that the numbers are put to the right of formulas) is = that it is very useful (or indispensable=E2=80=A6) to be able to number eac= h equation and be able to refer to them. For instance, when one writes a pa= rtial differential equation, usually there are boundary conditions, initial= conditions and such, which may take 3, 4 or 5 lines of equations (some aut= hors may even have more than that, but I personally avoid it=E2=80=A6). It = is useful to be able to refer to each of these equations, either by numebri= ng them as subformulas, or numebering them sequentially. It is true that in= this case, that is when each line has a number, usually one does not numbe= r the whole system of equations gathered by the big left brace. The optimal= solution would be to have the option to number each line, or to number the= m as subformulas. >=20 > For instance in the following minimal example (based on one of your answe= rs some time ago), the reference to =C2=AB eq:Robin =C2=BB does not work an= d the numbers of each line of the PDE problem are not correctly aligned to = the right. Reference to eq:Robin doesn't work because of the following reason: You def= ine > \define[1]\eqref{(\in[eq:#1])} and then use \eqref[eq:Robin] which is then translated to (\in[eq:eq:Robin]= ). It may be better to use: \definereferenceformat [eqref] [left=3D(, right=3D), style=3Dnormal] Regarding \startcases number not being to the right edge of the textarea: t= here is no good solution here. Keep in mind that \startcases is an "inner l= evel" construct, so it is not aware of the width of the outer environment. = It is possible to circumvent it on a code-logic level, but we first need to= decide how should the following behave: \startformula x(t) =3D \startcases \NC 0, \NC t < 0 \NR \NC 1, \NC t \ge 0 \NR[+] \stopcases \quad\text{and}\quad y(t) =3D \startcases \NC 0, \NC t < 0 \NR[+] \NC 1, \NC t \ge 0 \NR \stopcases \stopformula The point is, that \stopcases can be followed by additional text, so placin= g the number at the right edge may interfere with other things.=20 In the example that you sent, the solution presented by Mikael (\startalign= [fences=3Dcases]) will work.=20 Aditya ---830189494-1059203188-1728593095=:1818981 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 ___________________________________________________________________________________ ---830189494-1059203188-1728593095=:1818981--