summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-24 03:01:26 +0000
committerNorbert Preining <norbert@preining.info>2020-02-24 03:01:26 +0000
commit33f4ae660b866731387e4c21e528aaa283009d6c (patch)
treec1f1449987542917a209c7e108a1a48f81fc70e3 /macros/latex/contrib/siunitx
parent0908ef0004729f1b45b8d9687656f2f92fc122ae (diff)
CTAN sync 202002240301
Diffstat (limited to 'macros/latex/contrib/siunitx')
-rw-r--r--macros/latex/contrib/siunitx/siunitx.dtx14
-rw-r--r--macros/latex/contrib/siunitx/siunitx.pdfbin640541 -> 640341 bytes
2 files changed, 12 insertions, 2 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx
index 7bceb45bf1..bd9895a113 100644
--- a/macros/latex/contrib/siunitx/siunitx.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf
index 8c71ffa425..e03e55beaf 100644
--- a/macros/latex/contrib/siunitx/siunitx.pdf
+++ b/macros/latex/contrib/siunitx/siunitx.pdf
Binary files differ