diff options
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex')
-rw-r--r-- | macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex index 1d7ec5466c..6463f05d74 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex @@ -11,7 +11,7 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -% Copyright 2011-2019 Clemens Niederberger +% Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -45,9 +45,9 @@ \chemmacros_if_is_int:nTF {#1} { \tl_set:Nn #2 {#1} } { - \cs_if_exist:cTF { @elements@atom@number@ \str_lower_case:n {#1} } - { \tl_set:Nx #2 { \use:c { @elements@atom@number@ \str_lower_case:n {#1} } } } - { \tl_set:Nx #2 { \use:c { @elements@atom@name@num@ \str_lower_case:n {#1} } } } + \cs_if_exist:cTF { @elements@atom@number@ \str_lowercase:n {#1} } + { \tl_set:Nx #2 { \use:c { @elements@atom@number@ \str_lowercase:n {#1} } } } + { \tl_set:Nx #2 { \use:c { @elements@atom@name@num@ \str_lowercase:n {#1} } } } } } \cs_generate_variant:Nn \chemmacros_get_atom_number:nN { V } @@ -233,3 +233,6 @@ { \chemmacros_isotope:nn {#1} {#2} } % -------------------------------------------------------------------------- +\file_input_stop: +2015/07/22 - first version +2020/01/16 - adapt to renaming of string case changing functions |