diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemformula.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/chemformula.sty | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemformula.sty b/Master/texmf-dist/tex/latex/chemmacros/chemformula.sty index 30f254f9039..694a47ab3c9 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemformula.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/chemformula.sty @@ -5,7 +5,7 @@ % - macros and commands for chemists - % % --------------------------------------------------------------------------- % % - Clemens Niederberger - % -% - 2012/05/07 - % +% - 2012/05/13 - % % --------------------------------------------------------------------------- % % - https://bitbucket.org/cgnieder/chemmacros/ - % % - contact@mychemistry.eu - % @@ -30,8 +30,8 @@ \RequirePackage{ expl3 } \ProvidesExplPackage {chemformula} - {2012/05/07} - {3.3} + {2012/05/13} + {3.3a} {typeset chemical compounds and reactions} %-----------------------------------------------------------------------------% @@ -513,7 +513,7 @@ \cs_new:Nn \chemformula_ch:nn { \group_align_safe_begin: - \leavevmode + \chemmacros_leave_vmode: \IfNoValueTF { #1 } { \tl_gclear:N \g_chemformula_options_tl } { \tl_gset:Nn \g_chemformula_options_tl { #1 } } @@ -628,7 +628,8 @@ \cs_new:Npn \chemformula_name_cmpd:w { \peek_meaning:NTF ( { \chemformula_name_cmpd_aux:w } { ! } } -\cs_new:Npn \chemformula_name_cmpd_aux:w (#1)(#2) +% this is no document command -- but now nesting of brackets is possible +\NewDocumentCommand \chemformula_name_cmpd_aux:w {r()r()} { \( \underset @@ -1786,9 +1787,14 @@ VERSION HISTORY - a few changes in chemmacros.sty 2012/05/07 - version 3.3 - \ch now bypasses \ref{}, \label{}, and \intertext{} - new features in chemmacros.sty +2012/05/13 - version 3.3a - Italian translations of the H, EUH and P statements + - fix of unexpected behaviour in the compound naming + mechanism %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TODO +- Bug: \ch{ !(bla)( Fe(CO)6^3+ ) } ermöglichen +- Hoch- und Tiefstellungen mit \box_move_up:nn et.al. umschreiben. - Bindungen nach einem Mechanismus ähnlich der Pfeile konstruieren => Möglichkeit, eigene Bindungen hinzuzufügen, Bindungen leichter um weitere Typen erweitern |