diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-24 14:30:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-24 14:30:18 +0000 |
commit | 9181adccf1fab9fe3f83e0ccff2ceeab618f3ac8 (patch) | |
tree | df82cce961b35f16abd100ec0e669aff97322aea | |
parent | 960d933f3f34459c808af97a490a2f3f72e9945d (diff) |
siunitx (23feb20)
git-svn-id: svn://tug.org/texlive/trunk@53890 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | bin | 640541 -> 640341 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 12 |
3 files changed, 22 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf Binary files differindex 8c71ffa425f..e03e55beafb 100644 --- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf +++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 7bceb45bf13..bd9895a1134 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -697,6 +697,8 @@ This work consists of the file siunitx.dtx % the kernel)} % \changes{v2.8}{2020/02/20}{Allow \cs{ohm} to appear correctly in PDF % bookmarks} +% \changes{v2.8a}{2020/02/23}{Correct appearance of ohm when +% \pkg{unicode-math} is loaded} % %\begin{abstract} % Physical quantities have both numbers and units, and each physical @@ -5221,7 +5223,7 @@ This work consists of the file siunitx.dtx % % The usual preliminaries. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2020/02/20} {2.8} +\ProvidesExplPackage {siunitx} {2020/02/23} {2.8a} {A comprehensive (SI) units package} % \end{macrocode} % @@ -15373,13 +15375,21 @@ This work consists of the file siunitx.dtx { \AA } { \capitalring { A } } } + \@ifpackageloaded { unicode-math } + { + \exp_args:NNnx + \@@_option_unchanged:Nnn \l_@@_ohm_math_tl + { \text { \ensuremath { \Omega } } } + { \char_generate:nn { "03A9 } { 12 } } + } + { } \@ifpackageloaded { upgreek } { \@@_option_unchanged:Nnn \l_@@_ohm_math_tl { \text { \ensuremath { \Omega } } } { \text { \ensuremath { \Upomega } } } } - { } + { } } } % \end{macrocode} diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index ffd847e8bc7..3f031b1b4e0 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -15,7 +15,7 @@ %% \RequirePackage{expl3}[2020/01/12] \RequirePackage{xparse} -\ProvidesExplPackage {siunitx} {2020/02/20} {2.8} +\ProvidesExplPackage {siunitx} {2020/02/23} {2.8a} {A comprehensive (SI) units package} \@ifpackagelater { expl3 } { 2020/01/12 } { } @@ -6869,13 +6869,21 @@ { \AA } { \capitalring { A } } } + \@ifpackageloaded { unicode-math } + { + \exp_args:NNnx + \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_math_tl + { \text { \ensuremath { \Omega } } } + { \char_generate:nn { "03A9 } { 12 } } + } + { } \@ifpackageloaded { upgreek } { \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_math_tl { \text { \ensuremath { \Omega } } } { \text { \ensuremath { \Upomega } } } } - { } + { } } } \keys_define:nn { siunitx } { |