From mboxrd@z Thu Jan 1 00:00:00 1970 From: VanL Subject: Re: suggest using E-M-S 3-line notation from HAL/S for super/subscripting Date: Tue, 18 Feb 2020 00:43:55 +1100 Message-ID: References: <878sl473s5.fsf@bzg.fr> <871rqtbp4t.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56490) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3ggy-0001ug-TM for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 08:44:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3ggx-00016S-Ky for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 08:44:08 -0500 In-Reply-To: <871rqtbp4t.fsf@bzg.fr> (Bastien's message of "Mon, 17 Feb 2020 09:21:22 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > VanL writes: > >> I was picturing a way to edit the >> super/subscripts in expanded immediate mode using the EMS notation and >> then collapsing that to single line pretty printing. Hope that makes sense. > > well, it kinda makes more sense now that I can better visualize it but > (1) I'm not sure the editing experience would be so smooth and (2) the > implementation would be quite complex -- enough, at least, for me to > not undertake anything about it. The nearest thing to it I can think of is the way org-insert-structure-template works or org-insert-link works. That, would apply to a sequence of prefix_sub^super/symbol/postfix_sub^super, which, would expand to the three E-M-S notation on editing as in HAL/S [1], and, pretty print as a single line for reading. > You might want to share this idea with emacs-orgmode@gnu.org, perhaps > someone can hack something useful to you and others interested. I will cc this reply to that list. Have a look at ^{3}He and ^{21}Ne in the following linked article. #+name: see-3He-21Ne-as-prefix-superscript [2] #+begin_example We determined that at least 12 of the analyzed grains were parts of aggregates in the interstellar medium: The large difference in nuclear recoil loss of cosmic ray spallation products 3He and 21Ne enabled us to estimate that the irradiated objects in the interstellar medium were up to 30 times larger than the analyzed grains. #+end_example Question for the list. Can the HAL/S notation be used for editing a symbol, in expanded form, with prefix/postfix sub/superscript? The collapsed form is a single line pretty printing tiny sub/superscript before and after the symbol. PS. Please reply to the list if there is interest as I won't be able to reply directly. Footnotes: [1] https://www.hq.nasa.gov/office/pao/History/computers/contents.html [2] https://www.pnas.org/content/117/4/1884 -- VL