diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-17 20:36:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-17 20:36:43 +0000 |
commit | f02598b65001239577c257d86bef00d4e12881af (patch) | |
tree | 617aaa8e5c97835a2350965ddecf83cda47cef30 /Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx | |
parent | 75aa1b8146b789463ab2404d05cf861f64b44170 (diff) |
siunitx (17jun21)
git-svn-id: svn://tug.org/texlive/trunk@59614 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx index 137c2e18d65..efd2c6bc9b4 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx @@ -584,10 +584,15 @@ % \begin{variable}{\l_@@_column_width_dim, \l_@@_fixed_width_bool} % Settings which apply to aligned columns in general. % \begin{macrocode} +\dim_new:N \l_@@_column_width_dim \keys_define:nn { siunitx } { - table-column-width .dim_set:N = - \l_@@_column_width_dim , + table-column-width .code:n = + { + \dim_set:Nn \l_@@_column_width_dim {#1} + \dim_compare:nNnT \l_@@_column_width_dim > \c_zero_dim + { \bool_set_true:N \l_@@_fixed_width_bool } + } , table-fixed-width .bool_set:N = \l_@@_fixed_width_bool } @@ -776,7 +781,10 @@ \l_@@_auto_round_bool , table-format .code:n = { - \@@_split:nNNN {#1} + \group_begin: + \protected@edef \l_@@_tmp_tl {#1} + \exp_args:NNV \group_end: + \@@_split:nNNN \l_@@_tmp_tl \l_@@_before_model_tl \l_@@_model_tl \l_@@_after_model_tl |