From 9181adccf1fab9fe3f83e0ccff2ceeab618f3ac8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Feb 2020 14:30:18 +0000 Subject: siunitx (23feb20) git-svn-id: svn://tug.org/texlive/trunk@53890 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/source') 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} -- cgit v1.2.3