diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-12 00:25:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-12 00:25:33 +0000 |
commit | e61d83b5ff5c38ecb67a00a7081b0be2e944e5d9 (patch) | |
tree | 66e24504a0cbc6e790f35ff70ed6ae2babc34cc9 /Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex | |
parent | d8bace3003c56a242824b6f10d6c6b5ee4f8057b (diff) |
chemmacros (10feb16)
git-svn-id: svn://tug.org/texlive/trunk@39682 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex index bc58cd45ab2..3be548df8ed 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{reactions}{2015/10/14 reaction environments} +\ChemModule{reactions}{2016/02/09 reaction environments} \chemmacros_load_module:n {chemformula} @@ -181,7 +181,10 @@ \__chemmacros_begin_reaction: \chemmacros_reaction_read:nnw {#2} {#4} } - { \__chemmacros_end_reaction: } + { + \__chemmacros_end_reaction: + \ignorespacesafterend + } } \cs_generate_variant:Nn \chemmacros_reaction_env:nnnn {nnnV} @@ -193,7 +196,7 @@ \end } -\chemmacros_new_environment_macroset:nnn {Reaction} {mO{}m} +\NewChemMacroset* {Reaction} {mO{}m} { \chemmacros_define_reaction:nnn {#1} {#3} {#2} } \NewChemReaction {reaction} {equation} @@ -207,3 +210,4 @@ 2015/09/15 - adapt to `method' option => do not use chemformula's macros directly 2015/10/14 - new option `list-heading-cmd' +2016/02/09 - added \ignorespacesafterend to environments |