From a43042e1de4ff4db4f57bd8b6183fa38467c1b76 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 1 Feb 2020 22:10:11 +0000 Subject: chemformula (1feb20) git-svn-id: svn://tug.org/texlive/trunk@53623 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/chemformula/chemformula.sty | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex/chemformula/chemformula.sty') diff --git a/Master/texmf-dist/tex/latex/chemformula/chemformula.sty b/Master/texmf-dist/tex/latex/chemformula/chemformula.sty index 4fc8bb60ed7..f54109bf59b 100644 --- a/Master/texmf-dist/tex/latex/chemformula/chemformula.sty +++ b/Master/texmf-dist/tex/latex/chemformula/chemformula.sty @@ -12,7 +12,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 @@ -30,9 +30,9 @@ \usetikzlibrary{arrows.meta} \ExplSyntaxOn -\tl_const:Nn \c_chemformula_date_tl {2019/10/13} +\tl_const:Nn \c_chemformula_date_tl {2020/02/01} \tl_const:Nn \c_chemformula_version_number_tl {4.15} -\tl_const:Nn \c_chemformula_version_suffix_tl {h} +\tl_const:Nn \c_chemformula_version_suffix_tl {i} \tl_const:Nx \c_chemformula_version_tl { \c_chemformula_version_number_tl \c_chemformula_version_suffix_tl } \tl_const:Nn \c_chemformula_info_tl @@ -1487,17 +1487,18 @@ \cs_new_protected:Npn \chemformula_bond:n #1 { \chemformula_skip_nobreak:N \l__chemformula_bond_space_dim + \hbox_set:Nn \l__chemformula_tmpa_box {K} + \dim_set:Nn \l__chemformula_tmpa_dim { \box_ht:N \l__chemformula_tmpa_box } \chemformula_tikz:nn { inner~sep = 0pt , outer~sep = 0pt , - text~height = 1em , + text~height = \l__chemformula_tmpa_dim , baseline = (chemformula-bond-ground.base) } { - \draw node[ draw=none, minimum~height=1em, minimum~width=0 ] - (chemformula-bond-ground) at (0pt,0pt) {}; - \draw (chemformula-bond-ground) ++ (0pt,-.1716em) + \coordinate (chemformula-bond-ground) at (0pt,0pt) ; + \draw (chemformula-bond-ground) ++ (0pt,.5\l__chemformula_tmpa_dim) coordinate (chemformula-bond-start) ; \draw (chemformula-bond-start) ++(\l__chemformula_bond_dim ,0pt) coordinate (chemformula-bond-end) ; @@ -3578,6 +3579,7 @@ VERSION HISTORY (https://tex.stackexchange.com/q/511592/) - fix bug: local format changes are now applied again +2020/02/01 - version 4.15i - fix issue #12 % -------------------------------------------------------------------------- % IDEAS: -- cgit v1.2.3