texlive[67778] Master/texmf-dist: newtx (31jul23)

commits+karl at tug.org commits+karl at tug.org
Mon Jul 31 22:10:29 CEST 2023


Revision: 67778
          http://tug.org/svn/texlive?view=revision&revision=67778
Author:   karl
Date:     2023-07-31 22:10:29 +0200 (Mon, 31 Jul 2023)
Log Message:
-----------
newtx (31jul23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newtx/README
    trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty
    trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
    trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/README	2023-07-31 14:40:23 UTC (rev 67777)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/README	2023-07-31 20:10:29 UTC (rev 67778)
@@ -1,10 +1,13 @@
 This package, initially based on txfonts, provides many fixes and enhancements to the txfonts package, splitting it into two separate packages---newtxtext and newtxmath, which may be run independently of one another. It provides scaling, improved metrics, and other options. In particular, newtxmath offers a libertine option which substitutes Linux Libertine (provided with TeXLive and MikTeX) italic and Greek letters for the default Times letters, providing a good match for the Libertine text font, which is heavier than Computer Modern but lighter than Times, and in my experience, looks very sharp and clear on the screen.
 
-Current version: 1.722 2023-07-28
+Current version: 1.723 2023-07-30
 
 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3
 for the details of that license.
 
+Changes in version 1.723
+Mainly changes to code in newtxmath.sty to make siunitx rendering of \ohm work as expected  in all text variants.
+
 Changes in version 1.722
 Removed the automatic setting of amsthm---line 263 in nextxmath.sty. (Thanks Dominik Meidner.)
 

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty	2023-07-31 14:40:23 UTC (rev 67777)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty	2023-07-31 20:10:29 UTC (rev 67778)
@@ -2,8 +2,8 @@
 
 
 %Package to simplify loading of newtxmath with a text font family such as newtxtext for all latex engines, or for newtxtext and an otf math package.
-\def\fileversion{1.72}
-\def\filedate{2023/07/20}
+\def\fileversion{1.723}
+\def\filedate{2023/07/30}
 \ProvidesPackage{newtx}[%
 \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for newtxmath and a supported text font family, or for newtxtext and an otf math package]
 
@@ -155,7 +155,6 @@
 	\@nameuse{if#1}\def\ntx at sc{LinuxLibertineT at scale}%
 	\def\ntx at TF{libertine}\def\ntx at MF{libertine}
 	\def\ntx at id{1}\def\ntx at minfam{MinLibertinus}\def\textlf##1{{\liningnums##1}}
-\def\infigures{}\def\textinf{}
 \def\nustyle{\sufigures}\def\destyle{}\fi}
 \DeclareOptionX{libertinus}[true]{%
 \@nameuse{if#1}\def\ntx at sc{LibertinusSerif at scale}%
@@ -380,8 +379,7 @@
 \@ifundefined{tx at sfrVS}{\def\tx at sfrVS{90}}{} % space above/below bar
 \@ifundefined{tx at sfrTH}{\def\tx at sfrTH{46}}{} % bar thickness
 \@ifundefined{tx at sfrSC}{\def\tx at sfrSC{.9}}{} % scale defigures by this 
-\def\destyle{\infigures} \def\nustyle{\sufigures}
-\def\textlf#1{{\liningnums#1}}
+
 %\iflibertine at otf%
 %\providecommand{\textfrac}[3][]{{%
 %{{%
@@ -628,9 +626,9 @@
   \let\sustyle\sufigures
   \let\nustyle\sufigures
   \DeclareTextFontCommand{\textsup}{\sufigures}\def\destyle{\addfontfeature{RawFeature=+subs}}
-  \def\infstyle\destyle
-  \let\infigures\infstyle
-  \DeclareTextFontCommand{\textinf}{\infigures}
+  \let\infstyle\destyle
+  \let\infigures\destyle
+  \DeclareTextFontCommand{\textinf}{\destyle}
   \newcommand{\textfrac}[3][]{%
 	\mbox{%
     \ifthenelse{\not\equal{#1}{}}%Test for integer portion [optional #1]

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2023-07-31 14:40:23 UTC (rev 67777)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2023-07-31 20:10:29 UTC (rev 67778)
@@ -11,8 +11,8 @@
 % of glyph collisions.
 % These modifications are by Michael Sharpe, msharpe at ucsd dot edu
 
-\def\fileversion{1.722}
-\def\filedate{2023/07/28}
+\def\fileversion{1.723}
+\def\filedate{2023/07/30}
 \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
 \@ifundefined{newtxmathLoaded}{}{\endinput}
 
@@ -212,7 +212,7 @@
 \DeclareOption{nosymbolsc}{\tx at symbolsCfalse}
 \DeclareOption{libertine}{\tx at libertinetrue\tx at ntxmathfalse}
 \DeclareOption{libertinus}{\tx at libertinustrue\tx at ntxmathfalse}
-\DeclareOption{minion}{\tx at miniontrue\tx at ntxmathfalse\tx at otfalse}
+\DeclareOption{minion}{\tx at miniontrue\tx at ntxmathfalse}
 \DeclareOption{cochineal}{\tx at cochtrue\tx at ntxmathfalse}
 \DeclareOption{garamondx}{\tx at gmtrue\tx at ntxmathfalse\tx at otfalse}
 \DeclareOption{ebgaramond}{\tx at ebgmtrue\tx at ntxmathfalse\tx at otfalse}
@@ -220,13 +220,13 @@
 \DeclareOption{Baskerville}{\tx at batrue\tx at ntxmathfalse}
 \DeclareOption{baskervillef}{\tx at batrue\tx at ntxmathfalse}
 \DeclareOption{BaskervilleF}{\tx at batrue\tx at ntxmathfalse}
-\DeclareOption{baskervaldx}{\tx at bvtrue\tx at ntxmathfalse\tx at otfalse}
-\DeclareOption{Baskervaldx}{\tx at bvtrue\tx at ntxmathfalse\tx at otfalse}
-\DeclareOption{utopia}{\tx at uttrue\tx at ntxmathfalse\tx at otfalse}
-\DeclareOption{heuristica}{\tx at uttrue\tx at ntxmathfalse\tx at otfalse}
-\DeclareOption{Heuristica}{\tx at uttrue\tx at ntxmathfalse\tx at otfalse}
-\DeclareOption{Erewhon}{\tx at uttrue\tx at ntxmathfalse\tx at otfalse}
-\DeclareOption{erewhon}{\tx at uttrue\tx at ntxmathfalse\tx at otfalse}
+\DeclareOption{baskervaldx}{\tx at bvtrue\tx at ntxmathfalse}
+\DeclareOption{Baskervaldx}{\tx at bvtrue\tx at ntxmathfalse}
+\DeclareOption{utopia}{\tx at uttrue\tx at ntxmathfalse}
+\DeclareOption{heuristica}{\tx at uttrue\tx at ntxmathfalse}
+\DeclareOption{Heuristica}{\tx at uttrue\tx at ntxmathfalse}
+\DeclareOption{Erewhon}{\tx at uttrue\tx at ntxmathfalse}
+\DeclareOption{erewhon}{\tx at uttrue\tx at ntxmathfalse}
 \DeclareOption{charter}{\tx at chtrue\tx at ntxmathfalse}
 \DeclareOption{xcharter}{\tx at chtrue\tx at ntxmathfalse}
 \DeclareOption{cmintegrals}{\tx at cminttrue}
@@ -3223,4 +3223,10 @@
 \providecommand*\Eqqcolon{\Eqcolon}
 \providecommand*\Coloneq{\Colondash}
 \providecommand*\Eqcolon{\Dashcolon}}
+
+% Fix for garamondx with siunitx
+\iftx at gm%
+  \AtEndPreamble{%
+    \@ifpackageloaded{siunitx}   {\DeclareSIUnit\ohm{\text{\ensuremath\upOmega}}}{}}
+\fi
 \endinput

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty	2023-07-31 14:40:23 UTC (rev 67777)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty	2023-07-31 20:10:29 UTC (rev 67778)
@@ -8,8 +8,8 @@
 % Text is now directed to an extension of TeXGyreTermes rather than tx.
 % 1.7 is first version of newtxtext to support both [pdf]latex and unicode latex.
 
-\def\fileversion{1.72}
-\def\filedate{2023/07/20}
+\def\fileversion{1.723}
+\def\filedate{2023/07/30}
 \ProvidesPackage{newtxtext}[%
 \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyreTermesX]
 
@@ -566,6 +566,7 @@
 %\show\textlf
 \DeclareTextFontCommand{\textsu}{\sustyle}
     \let\textsuperior\textsu
+    \let\textsup\textsu
 \DeclareTextFontCommand{\textnum}{\nustyle}
     \let\textnumerator\textnum
 \DeclareTextFontCommand{\textde}{\destyle}
@@ -572,7 +573,7 @@
     \let\textdenominator\textde
 \DeclareTextFontCommand{\textinf}{\instyle}
     \let\textinferior\textinf
-    
+    \let\infigures\instyle
 \AtEndPreamble{%
 \ifntx at otftext
   \ifntx at lining



More information about the tex-live-commits mailing list.