all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: suggest using E-M-S 3-line notation from HAL/S for super/subscripting
       [not found]     ` <871rqtbp4t.fsf@bzg.fr>
@ 2020-02-17 13:43       ` VanL
  2020-02-17 16:04         ` Fraga, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: VanL @ 2020-02-17 13:43 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> VanL <van@scratch.space> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: suggest using E-M-S 3-line notation from HAL/S for super/subscripting
  2020-02-17 13:43       ` suggest using E-M-S 3-line notation from HAL/S for super/subscripting VanL
@ 2020-02-17 16:04         ` Fraga, Eric
  2020-02-18  7:07           ` VanL
  0 siblings, 1 reply; 3+ messages in thread
From: Fraga, Eric @ 2020-02-17 16:04 UTC (permalink / raw)
  To: VanL; +Cc: emacs-orgmode@gnu.org

On Tuesday, 18 Feb 2020 at 00:43, VanL wrote:
> 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.

Maybe (probably?) not what you are looking for but if you want something
that meets the output requirements for LaTeX export (i.e. to PDF), you
can use the =mhchem= package [1] and typing

    \(\ce{^{21}Ne}\) and \(\ce{^{3}He}\)

will generate what you want.

No special editing unfortunately.

HTH,
eric

Footnotes:
[1]  https://www.ctan.org/pkg/mhchem?lang=en

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-316-g5dd772

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: suggest using E-M-S 3-line notation from HAL/S for super/subscripting
  2020-02-17 16:04         ` Fraga, Eric
@ 2020-02-18  7:07           ` VanL
  0 siblings, 0 replies; 3+ messages in thread
From: VanL @ 2020-02-18  7:07 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: emacs-orgmode@gnu.org


Thanks Eric.

I wasn't looking for anything in particular.  Seeing the E-M-S 3-line
notation reminded me what a pain those invisible delimiters for
raising/lowering indexing scripts can be.  Which was what made me reach
out to bzg.

(I won't be able to reply from this address as it expires in the next
few days.  The T&C when renewing the address goes to a "nothing" page in
transition, so I let it go.  I should resurface from sdf.org )

-- VL

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-18  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2imk85qhb.fsf@scratch.space>
     [not found] ` <878sl473s5.fsf@bzg.fr>
     [not found]   ` <m28sl3uhon.fsf@scratch.space>
     [not found]     ` <871rqtbp4t.fsf@bzg.fr>
2020-02-17 13:43       ` suggest using E-M-S 3-line notation from HAL/S for super/subscripting VanL
2020-02-17 16:04         ` Fraga, Eric
2020-02-18  7:07           ` VanL

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.