texlive[69597] Master/texmf-dist: newtxsf (26jan24)
commits+karl at tug.org
commits+karl at tug.org
Fri Jan 26 23:00:15 CET 2024
Revision: 69597
https://tug.org/svn/texlive?view=revision&revision=69597
Author: karl
Date: 2024-01-26 23:00:15 +0100 (Fri, 26 Jan 2024)
Log Message:
-----------
newtxsf (26jan24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/fonts/newtxsf/README
trunk/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
Modified: trunk/Master/texmf-dist/doc/fonts/newtxsf/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtxsf/README 2024-01-26 03:44:51 UTC (rev 69596)
+++ trunk/Master/texmf-dist/doc/fonts/newtxsf/README 2024-01-26 22:00:15 UTC (rev 69597)
@@ -2,8 +2,12 @@
http://www.ctan.org/license/lppl1.3
for the details of that license.
-Current version: 1.055 2023-05-07
+Current version: 1.056 2024-01-25
+Changes in version 1.056
+Changed the definition for operators and related math alphabets to use OT1 encoding,
+fixing an issue with siunitx handling of \ohm.
+
Changes in version 1.055
1. Added option noSTIXops to newtxsf to allow forcing figures in math mode to be chosen from the text font rather than STIX sans serif.
2. Modified the documentation to add important information about usage with fontspec. (Thanks Alexander Adolf.)
Modified: trunk/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty 2024-01-26 03:44:51 UTC (rev 69596)
+++ trunk/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty 2024-01-26 22:00:15 UTC (rev 69597)
@@ -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 @@
\iftx at frenchm\tx at slantedGfalse\fi
\edef\bold at wt{b}
-\DeclareSymbolFont{operators}{\encodingdefault}{\familydefault}{m}{n}
-\SetSymbolFont{operators}{bold}{\encodingdefault}{\familydefault}{\bold at 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 at wt}{n}
+
\def\operator at 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 at wt}{n}
-\SetMathAlphabet{\mathit}{bold}{\encodingdefault}{\familydefault}{\bold at wt}{it}
-\SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n}
-\SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{b}{n}
+\DeclareMathAlphabet{\mathbf}{OT1}{\familydefault}{\bold at wt}{n}
+\SetMathAlphabet{\mathit}{bold}{OT1}{\familydefault}{\bold at wt}{it}
+\SetMathAlphabet{\mathsf}{bold}{OT1}{\sfdefault}{b}{n}
+\SetMathAlphabet{\mathtt}{bold}{OT1}{\ttdefault}{b}{n}
%%%%%%%%%%%%%%%
% Math Italic %
More information about the tex-live-commits
mailing list.