texlive[73355] Master/texmf-dist: newtx (7jan25)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 7 22:06:47 CET 2025


Revision: 73355
          https://tug.org/svn/texlive?view=revision&revision=73355
Author:   karl
Date:     2025-01-07 22:06:47 +0100 (Tue, 07 Jan 2025)
Log Message:
-----------
newtx (7jan25)

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

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/README	2025-01-07 21:05:34 UTC (rev 73354)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/README	2025-01-07 21:06:47 UTC (rev 73355)
@@ -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.754 2024-09-22
+Current version: 1.755 2025-01-06
 
 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.755
+Due to coding errors in newtx.sty, options {B,b}askervaldx, {B,b}askervillef and garamondx to newtx were not functioning. These problems have been corrected in 1.755.
+
 Changes in version 1.754
 Modified some entries in the \DeclareMathSizes tables, mainly so that 9pt scripstyle would render a little smaller, and more like 90% of the value for 10pt.
 

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty	2025-01-07 21:05:34 UTC (rev 73354)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtx.sty	2025-01-07 21:06:47 UTC (rev 73355)
@@ -1,8 +1,8 @@
 \NeedsTeXFormat{LaTeX2e}
 
 %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.751}
-\def\filedate{2024/06/22}
+\def\fileversion{1.755}
+\def\filedate{2025/01/06}
 \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]
 
@@ -208,10 +208,10 @@
 	\def\ntx at sc{BaskervilleF at scale}\def\ntx at TF{baskervillef}
 	\let\ntx at MF\ntx at TF\def\ntx at id{7}\def\ntx at minfam{minbaskervillef}\fi}
 \DeclareOptionX{baskervaldx}[true]{\@nameuse{if#1}
-	\def\ntx at sc{Baskervaldx at scale}\def\ntx at TF{baskervaldx}
+	\def\ntx at sc{Baskervaldx at scale}\def\ntx at TF{Baskervaldx}
 	\let\ntx at MF\ntx at TF\def\ntx at id{8}\def\ntx at minfam{minbaskervaldx}\fi}
 \DeclareOptionX{Baskervaldx}[true]{\@nameuse{if#1}
-	\def\ntx at sc{Baskervaldx at scale}\def\ntx at TF{baskervaldx}
+	\def\ntx at sc{Baskervaldx at scale}\def\ntx at TF{Baskervaldx}
 	\let\ntx at MF\ntx at TF\def\ntx at id{8}\def\ntx at minfam{minbaskervaldx}\fi}
 %\DeclareOptionX{utopia}[true]{%
 %	\@nameuse{if#1}\def\ntx at TF{utopia}\let\ntx at MF\ntx at TF\def\ntx at id{0}\def\ntx at minfam{}\fi}
@@ -804,11 +804,8 @@
 %\fi
 %\DeclareTextFontCommand{\textlf}{\liningnums}
 %\fi % end ifcase
-\ifnum\ntx at id=16\relax
-\else % create \textsmsmde for other than minion and gelasio
-% We move the small font to the text baseline and scale it by \tx at sfrSC, for use only in the \textsfrac macro.
-\ifnum\ntx at id=4\relax
-\else
+\ifthenelse{\equal{}{\tx at sfrac}\OR\ntx at id=16\OR\ntx at id=4}{}{%
+%case \textsfrac defined, not minion nor gelasio
   \ifnum\tx at debase=0
     \newcommand*{\textsmde}[1]{%
     \setbox0=\hbox{\scalebox\tx at sfrSC{\textde{#1}}}\box0}
@@ -816,13 +813,22 @@
     \newdimen\tx at u \newdimen\tx at v
     \tx at u=-\tx at debase pt
     \tx at toex{\strip at pt\tx at u}\tx at y=\tx at x
-    %\showthe\tx at y
-    \tx at v=\strip at pt\tx at y ex
+     \tx at v=\strip at pt\tx at y ex
     \newcommand*{\textsmde}[1]{%
     \setbox2=\hbox{\textde{#1}}%
     \setbox1=\hbox{\raise \tx at v \box2}%
     \setbox0=\hbox{\scalebox{\tx at sfrSC}{\box1}}\box0}
   \fi %\ifnum\tx at debase=0
-\fi %\ifnum\ntx at id=4
-\fi %\ifnum\ntx at id=16
+}
+%\def\tx at mksmde{%
+%\ifnum\ntx at id=16\relax
+%\else % create \textsmsmde for other than minion and gelasio
+%% We move the small font to the text baseline and scale it by \tx at sfrSC, for use only in the \textsfrac macro.
+%\ifnum\ntx at id=4\relax
+%\else
+%\fi %\ifnum\ntx at id=4
+%\fi %\ifnum\ntx at id=16
+%}
+%\if X\tx at sfrac\tx at mksmde\fi
+
 \endinput



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