summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-24 14:30:18 +0000
committerKarl Berry <karl@freefriends.org>2020-02-24 14:30:18 +0000
commit9181adccf1fab9fe3f83e0ccff2ceeab618f3ac8 (patch)
treedf82cce961b35f16abd100ec0e669aff97322aea /Master/texmf-dist/source/latex/siunitx
parent960d933f3f34459c808af97a490a2f3f72e9945d (diff)
siunitx (23feb20)
git-svn-id: svn://tug.org/texlive/trunk@53890 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx14
1 files changed, 12 insertions, 2 deletions
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}