summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-11 03:00:52 +0000
committerNorbert Preining <norbert@preining.info>2019-10-11 03:00:52 +0000
commitd51deaad31c304a71b51411feaf44acceb8aeb1b (patch)
tree6ddeb005df01691b0a91c105e2966ed3b979d11e /macros/latex/contrib/siunitx
parent010a3454a27ee40902d7764080eb7eb7ddcaa700 (diff)
CTAN sync 201910110300
Diffstat (limited to 'macros/latex/contrib/siunitx')
-rw-r--r--macros/latex/contrib/siunitx/siunitx.dtx28
-rw-r--r--macros/latex/contrib/siunitx/siunitx.pdfbin612110 -> 641504 bytes
2 files changed, 22 insertions, 6 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx
index 9fc30aa992..c7cdc34631 100644
--- a/macros/latex/contrib/siunitx/siunitx.dtx
+++ b/macros/latex/contrib/siunitx/siunitx.dtx
@@ -81,7 +81,7 @@ See http://www.latex-project.org/lppl.txt
\endpreamble
\postamble
-Copyright (C) 2008-2018 by
+Copyright (C) 2008-2019 by
Joseph Wright <joseph.wright@morningstar2.co.uk>
It may be distributed and/or modified under the conditions of
@@ -687,6 +687,9 @@ This work consists of the file siunitx.dtx
% \changes{v2.7q}{2018/05/11}{Fixed patching of \pkg{cellspace} columns}
% \changes{v2.7r}{2018/05/16}{Fixed issue in tabulars when REV\TeX{} is in use}
% \changes{v2.7s}{2018/05/17}{Modified package date format}
+% \changes{v2.7t}{2018/06/08}{Fix inclusion of sign in astronomy-style
+% angles}
+% \changes{v2.7t}{2019/10/10}{Fix \opt{round-half} when \opt{even} at zero precision}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -5221,7 +5224,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2018/05/17} {2.7s}
+\ProvidesExplPackage {siunitx} {2019/10/10} {2.7t}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -8665,8 +8668,15 @@ This work consists of the file siunitx.dtx
{ \int_eval:n { \l_@@_tmpb_tl + 1 } }
\bool_if:NF \l_@@_round_half_up_bool
{
- \int_compare:nNnT
- { 0 \tl_tail:N \l_@@_tmpa_tl } = 0
+ \bool_lazy_and:nnT
+ {
+ \int_compare_p:nNn
+ { 0 \tl_head:N \l_@@_tmpa_tl } = 5
+ }
+ {
+ \int_compare_p:nNn
+ { 0 \tl_tail:N \l_@@_tmpa_tl } = 0
+ }
{
\int_if_odd:nT \l_@@_tmpb_tl
{
@@ -11145,9 +11155,15 @@ This work consists of the file siunitx.dtx
{ \@@_number_output_single: }
}
\cs_new_protected:Npn \@@_angle_print_astronomy_aux: {
- \prop_get:NnNT \l_@@_number_out_prop { mantissa-integer }
+ \prop_get:NnNF \l_@@_number_out_prop { mantissa-sign }
\l_@@_tmpa_tl
- { \@@_print:nV { number } \l_@@_tmpa_tl }
+ { \tl_clear:N \l_@@_tmpa_tl }
+ \prop_get:NnNT \l_@@_number_out_prop { mantissa-integer }
+ \l_@@_tmpb_tl
+ {
+ \tl_put_right:NV \l_@@_tmpa_tl \l_@@_tmpb_tl
+ \@@_print:nV { number } \l_@@_tmpa_tl
+ }
\hbox_set:Nn \l_@@_angle_marker_box
{
\@@_print:nn { number } { { \l_@@_output_decimal_tl } }
diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf
index 6bd27ee216..e3b606a1fe 100644
--- a/macros/latex/contrib/siunitx/siunitx.pdf
+++ b/macros/latex/contrib/siunitx/siunitx.pdf
Binary files differ