summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex
index c7e7037829..4f5a1914ea 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex
@@ -14,18 +14,18 @@
% 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
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% version 2008/05/04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Clemens Niederberger.
% --------------------------------------------------------------------------
-\ChemModule{spectroscopy}{2020/02/02 environment for spectroscopic data}
+\ChemModule{spectroscopy}{2020/11/21 environment for spectroscopic data}
\chemmacros_load_modules:n {chemformula}
\RequirePackage{siunitx}
@@ -205,6 +205,7 @@
pos-number / side .code:n =
\tl_set:Nn \l__chemmacros_nmr_position_tl {-}
\bool_set_true:N \l__chemmacros_nmr_position_side_bool ,
+ pos-number / .initial:n = side ,
coupling-unit .tl_set:N = \l__chemmacros_nmr_coupling_unit_tl ,
coupling-pos .choice: ,
coupling-pos / sub .code:n =
@@ -414,7 +415,7 @@
\bool_if:NF \l__chemmacros_nmr_position_side_bool
{
\exp_not:V \l__chemmacros_nmr_position_tl
- \exp_not:n { {#1} }
+ \exp_not:n { _{#1} }
}
}
\bool_if:NT \l__chemmacros_nmr_position_side_bool
@@ -511,3 +512,4 @@
2015/12/31 - new option `atom-number-space'
2017/01/27 - new option `nmr-base-format'
2020/02/02 - lazy boolean evaluation
+2020/11/21 - fix issue #34