summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/README5
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtx.sty32
2 files changed, 23 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README
index 96935792cb2..dc9d5a5baf2 100644
--- a/Master/texmf-dist/doc/fonts/newtx/README
+++ b/Master/texmf-dist/doc/fonts/newtx/README
@@ -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.
diff --git a/Master/texmf-dist/tex/latex/newtx/newtx.sty b/Master/texmf-dist/tex/latex/newtx/newtx.sty
index 8d86b9aeaf4..248532224ac 100644
--- a/Master/texmf-dist/tex/latex/newtx/newtx.sty
+++ b/Master/texmf-dist/tex/latex/newtx/newtx.sty
@@ -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 @@ propmathfigs,curlybraces,cochrho,cochf,alty,alth,liby,nochvw}
\def\ntx@sc{BaskervilleF@scale}\def\ntx@TF{baskervillef}
\let\ntx@MF\ntx@TF\def\ntx@id{7}\def\ntx@minfam{minbaskervillef}\fi}
\DeclareOptionX{baskervaldx}[true]{\@nameuse{if#1}
- \def\ntx@sc{Baskervaldx@scale}\def\ntx@TF{baskervaldx}
+ \def\ntx@sc{Baskervaldx@scale}\def\ntx@TF{Baskervaldx}
\let\ntx@MF\ntx@TF\def\ntx@id{8}\def\ntx@minfam{minbaskervaldx}\fi}
\DeclareOptionX{Baskervaldx}[true]{\@nameuse{if#1}
- \def\ntx@sc{Baskervaldx@scale}\def\ntx@TF{baskervaldx}
+ \def\ntx@sc{Baskervaldx@scale}\def\ntx@TF{Baskervaldx}
\let\ntx@MF\ntx@TF\def\ntx@id{8}\def\ntx@minfam{minbaskervaldx}\fi}
%\DeclareOptionX{utopia}[true]{%
% \@nameuse{if#1}\def\ntx@TF{utopia}\let\ntx@MF\ntx@TF\def\ntx@id{0}\def\ntx@minfam{}\fi}
@@ -804,11 +804,8 @@ propmathfigs,curlybraces,cochrho,cochf,alty,alth,liby,nochvw}
%\fi
%\DeclareTextFontCommand{\textlf}{\liningnums}
%\fi % end ifcase
-\ifnum\ntx@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@sfrSC, for use only in the \textsfrac macro.
-\ifnum\ntx@id=4\relax
-\else
+\ifthenelse{\equal{}{\tx@sfrac}\OR\ntx@id=16\OR\ntx@id=4}{}{%
+%case \textsfrac defined, not minion nor gelasio
\ifnum\tx@debase=0
\newcommand*{\textsmde}[1]{%
\setbox0=\hbox{\scalebox\tx@sfrSC{\textde{#1}}}\box0}
@@ -816,13 +813,22 @@ propmathfigs,curlybraces,cochrho,cochf,alty,alth,liby,nochvw}
\newdimen\tx@u \newdimen\tx@v
\tx@u=-\tx@debase pt
\tx@toex{\strip@pt\tx@u}\tx@y=\tx@x
- %\showthe\tx@y
- \tx@v=\strip@pt\tx@y ex
+ \tx@v=\strip@pt\tx@y ex
\newcommand*{\textsmde}[1]{%
\setbox2=\hbox{\textde{#1}}%
\setbox1=\hbox{\raise \tx@v \box2}%
\setbox0=\hbox{\scalebox{\tx@sfrSC}{\box1}}\box0}
\fi %\ifnum\tx@debase=0
-\fi %\ifnum\ntx@id=4
-\fi %\ifnum\ntx@id=16
+}
+%\def\tx@mksmde{%
+%\ifnum\ntx@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@sfrSC, for use only in the \textsfrac macro.
+%\ifnum\ntx@id=4\relax
+%\else
+%\fi %\ifnum\ntx@id=4
+%\fi %\ifnum\ntx@id=16
+%}
+%\if X\tx@sfrac\tx@mksmde\fi
+
\endinput