diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-25 03:00:48 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-25 03:00:48 +0000 |
commit | d232e1107d60e7689e706bee9705f26745ae8b9e (patch) | |
tree | f9ac3303fdb36c2eca1872286615c0931d952476 /macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex | |
parent | 94c2e367c3690be2a3c715b4577c81200652ad81 (diff) |
CTAN sync 201909250300
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex')
-rw-r--r-- | macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex index 8c93ff002c..f7d71c8565 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.polymers.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-2017 Clemens Niederberger +% Copyright 2011-2019 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{polymers}{2016/03/08 polymers} +\ChemModule{polymers}{2018/03/02 polymers} \chemmacros_load_modules:n {nomenclature,tikz} @@ -123,8 +123,24 @@ depth \l__chemmacros_polymer_delimiter_height_dim width \c_zero_dim \tex_right:D \l__chemmacros_polymer_delimiter_right_tl - \c_math_subscript_token { \hbox_overlap_right:n {#5} } - \c_math_superscript_token { \hbox_overlap_right:n {#6} } + \c_math_subscript_token + { + \hbox_overlap_right:n + { + \chemmacros_if_compatibility:nnTF {>} {5.8b} + { \smash {#5} } + {#5} + } + } + \c_math_superscript_token + { + \hbox_overlap_right:n + { + \chemmacros_if_compatibility:nnTF {>} {5.8b} + { \smash {#6} } + {#6} + } + } \c_math_toggle_token } ; } @@ -159,8 +175,8 @@ } % -------------------------------------------------------------------------- -\tex_endinput:D +\file_input_stop: 2016/03/07 - first version 2016/03/08 - \makepolymerdelims - +2018/03/02 - smash sub- and superscripts of polymer delimiters |