On Sat, 15 Apr 2023 12:02:28 -0600
Gavin via ntg-context <ntg-context@ntg.nl> wrote:

> Hi List,
> 
> I am still interested in knowing if there is a good way to do nuclear
> reactions using \chemical.

>From the chemical manual:

As in mathematical typesetting mode, subscripts and superscripts can
precede text. Thus, isotopes (such as this alpha particle, for
example), can be written as: \chemical{^4_2He^{2+}}. But compare the
alignment of \chemical{_{92}^{238}U} with
\chemical{\lohi[left]{92}{238}U}.

I have not used chemical formulas for some time, but

\chemical{^{235)_{92}U,+,$n$,->,^{94}_{38}Sr,+,^{140}_{54}Xe,+,$2n$}

"->" and "GIVES" are synonyms, as are "+" and "PLUS"
(also MINUS, SINGLE, DOUBLE, TRIPLE, EQUILIBRIUM, MESOMERIC with ascii
and unicode synonyms).

Alignment can be altered using \lohi[left]{92}{235} 
(remember left is flushright)


There is also "display mode" for chemical formulae:

\startchemicalformula
    \chemical{text}
    \chemical{text}{below}
    \chemical{text}{above}{below}
\stopchemicalformula

where above and below can be used for labels, etc.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to