diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-26 22:00:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-26 22:00:15 +0000 |
commit | 2534eff22db24120ff1dbeff89352679fa209669 (patch) | |
tree | e4f373914166d8bc69acf882b063c40be80ea577 /Master/texmf-dist/tex/latex/newtxsf | |
parent | 3cedc5fd080731a3cd2c47e2f40fc140bba1accb (diff) |
newtxsf (26jan24)
git-svn-id: svn://tug.org/texlive/trunk@69597 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtxsf')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty index 4105ce2702c..2302e8b11de 100644 --- a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty +++ b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty @@ -2,8 +2,8 @@ % % Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.055} -\def\filedate{2023/05/07} +\def\fileversion{1.056} +\def\filedate{2024/01/25} \ProvidesPackage{newtxsf} [\filedate\space v\fileversion] @@ -50,21 +50,26 @@ amssymbols,uprightGreek} \iftx@frenchm\tx@slantedGfalse\fi \edef\bold@wt{b} -\DeclareSymbolFont{operators}{\encodingdefault}{\familydefault}{m}{n} -\SetSymbolFont{operators}{bold}{\encodingdefault}{\familydefault}{\bold@wt}{n} + +% 2024-01-24 +% Modify all \encodingdefault entries in this block to OT1 +% so that siunitx behaves with \ohm + +\DeclareSymbolFont{operators}{OT1}{\familydefault}{m}{n} +\SetSymbolFont{operators}{bold}{OT1}{\familydefault}{\bold@wt}{n} \def\operator@font{\mathgroup\symoperators} \DeclareSymbolFontAlphabet{\mathrm}{operators} -\DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n} -\DeclareMathAlphabet{\mathit}{\encodingdefault}{\familydefault}{m}{it} -\DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n} +\DeclareMathAlphabet{\mathsf}{OT1}{\sfdefault}{m}{n} +\DeclareMathAlphabet{\mathit}{OT1}{\familydefault}{m}{it} +\DeclareMathAlphabet{\mathtt}{OT1}{\ttdefault}{m}{n} \DeclareSymbolFontAlphabet{\mathrm}{operators} -\DeclareMathAlphabet{\mathbf}{\encodingdefault}{\familydefault}{\bold@wt}{n} -\SetMathAlphabet{\mathit}{bold}{\encodingdefault}{\familydefault}{\bold@wt}{it} -\SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n} -\SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{b}{n} +\DeclareMathAlphabet{\mathbf}{OT1}{\familydefault}{\bold@wt}{n} +\SetMathAlphabet{\mathit}{bold}{OT1}{\familydefault}{\bold@wt}{it} +\SetMathAlphabet{\mathsf}{bold}{OT1}{\sfdefault}{b}{n} +\SetMathAlphabet{\mathtt}{bold}{OT1}{\ttdefault}{b}{n} %%%%%%%%%%%%%%% % Math Italic % |