diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-19 03:01:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-19 03:01:05 +0000 |
commit | 67acf92f90956827364ebe689dbdc659c3d402e3 (patch) | |
tree | 6168f960e27b9d6e20b3fad98f62ade76aab76e0 /macros/latex/contrib/siunitx/siunitx-symbol.dtx | |
parent | 42225b2641eab592f67f238c364b237ee036bf0a (diff) |
CTAN sync 202201190301
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-symbol.dtx')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-symbol.dtx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-symbol.dtx b/macros/latex/contrib/siunitx/siunitx-symbol.dtx index 8952aabeab..eaf2caac9b 100644 --- a/macros/latex/contrib/siunitx/siunitx-symbol.dtx +++ b/macros/latex/contrib/siunitx/siunitx-symbol.dtx @@ -118,6 +118,8 @@ \exp_after:wN \exp_after:wN \exp_after:wN \exp_not:N \char_generate:nn {#1} { 13 } \char_generate:nn {#2} { 12 } + \tl_if_blank:nF {#3} + { \char_generate:nn {#3} { 12 } } } } \cs_new:Npn \@@_deal_with_utf: { } @@ -230,7 +232,7 @@ % a mode-dependent definition. This doesn't work if the text mode symbol is % bust: the \pkg{fourier} package puts us in that position. % \begin{macrocode} - \@@_if_replace:NnT \ohm { "03A9 } + \@@_if_replace:NnT \ohm { "2126 } { \tl_set:Nx \l_@@_tmpa_tl { @@ -262,7 +264,7 @@ \bool_lazy_or:nnTF { \sys_if_engine_luatex_p: } { \sys_if_engine_xetex_p: } - { \@@_non_latin:n { "03A9 } } + { \@@_non_latin:n { "2126 } } { \exp_not:N \textohm } } \exp_not:N \fi |