chem-ini.mkiv / last modification: 2020-01-30 14:16
%D \module
%D   [       file=chem-ini,
%D        version=2008.03.06,
%D       subtitle=Chemistry,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% todo: \mathscriptsmode

\writestatus{loading}{ConTeXt Chemistry Macros / Initialization} % might become Inline



% todo: use \mathscriptsmode if needed

%D \macros
%D   {molecule}
%D Quick and dirty:
%D \starttyping
%D \unexpanded\def\molecule#1%
%D   {$\enablesupersub\tf#1$}
%D \stoptyping
%D Using \LUA:
%D \startbuffer
%D \molecule{H_2SO_4^-2}
%D \molecule{H_2SO_4^{-2}}
%D \molecule{H_2SO_4^{-2{x}}}
%D \stopbuffer
%D \typebuffer \getbuffer


%D For old times sake:


\protect \endinput