texlive[60762] Master/texmf-dist: newtx (14oct21)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 14 22:45:14 CEST 2021
Revision: 60762
http://tug.org/svn/texlive?view=revision&revision=60762
Author: karl
Date: 2021-10-14 22:45:13 +0200 (Thu, 14 Oct 2021)
Log Message:
-----------
newtx (14oct21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/fonts/newtx/README
trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
trunk/Master/texmf-dist/fonts/afm/public/newtx/txbmiaX.afm
trunk/Master/texmf-dist/fonts/afm/public/newtx/txmiaX.afm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbmia.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbsy.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbsy5.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbsy7.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxmia.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxsy5.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxsy7.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/txbmiaX.tfm
trunk/Master/texmf-dist/fonts/tfm/public/newtx/txmiaX.tfm
trunk/Master/texmf-dist/fonts/type1/public/newtx/txbmiaX.pfb
trunk/Master/texmf-dist/fonts/type1/public/newtx/txmiaX.pfb
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbmia.vf
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbsy.vf
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbsy5.vf
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbsy7.vf
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxmia.vf
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxsy5.vf
trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxsy7.vf
trunk/Master/texmf-dist/tex/latex/newtx/lmsntxsy.fd
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 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/README 2021-10-14 20:45:13 UTC (rev 60762)
@@ -1,10 +1,19 @@
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.657 2021-09-12
+Current version: 1.658 2021-10-13
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.658
+1. Corrected math metrics for some subscript sized symbols.
+2. Corrected an omission in an fd that prevented the option nonewtxmathopt from having the intended effect for symbols in textfont2 (symbols.)
+3. Made some small changes and additions to txmiaX and txbmiaX.
+4. Tweeked the math metrics of the regular and bold Fraktur alphabets.
+5. Small changes to newtxtext.sty and newtxmath.sty.
+6. Clarified and brought up to date some examples in the documentation.
+7. Added option subscriptcorrectionfile to newtxmath, allowing custom name for subscript corrections.
+
Changes in version 1.657
Corrections to examples in documentation, mostly about loading amsmath before amsthm. (Thanks Maurice Hansen.)
Modified: trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex 2021-10-14 20:45:13 UTC (rev 60762)
@@ -121,13 +121,14 @@
More generally, the pattern of the preamble should be:
\begin{verbatim}
<encoding options>
-[optional] \usepackage{substitutefont} % so you can change babel's fonts
+%next line no longer needed---use macro \DeclareFontfamilySubstitution
+[optional]\usepackage{substitutefont} % can change babel's fonts
[optional] \usepackage[<babel options>]{babel}
\usepackage[p,osf]{newtxtext}% osf in text, lining figures in math
[optional] redefine the plain theorem style if necessary
<other font loading commands>
\usepackage{newtxmath}
-<substitutefont commands>
+[optional]<\DeclareFontfamilySubstitution commands>
\end{verbatim}
As an example of a {\tt theoremstyle} definition,
\begin{verbatim}
@@ -149,7 +150,7 @@
\begin{verbatim}
\usepackage[LGR,T1]{fontenc} % spell out all text encodings used
\usepackage[utf8]{inputenc} %
-\usepackage{substitutefont} % so we can use fonts other than those in babel
+[no longer needed]\usepackage{substitutefont} % so we can use fonts other than those in babel
\usepackage[greek.polutoniko,english]{babel}
\usepackage[largesc,osf]{newtxtext} %
\usepackage[varqu,varl]{zi4}% inconsolata
@@ -156,7 +157,7 @@
\usepackage{cabin}% sans serif
\usepackage[vvarbb]{newtxmath}
\useosf % use oldstyle figures except in math
-\substitutefont{LGR}{\rmdefault}{Tempora} % use Tempora to render Greek text
+\DeclareFontfamilySubstitution{LGR}{\rmdefault}{Tempora} % use Tempora to render Greek text
\end{verbatim}
As of version 1.4, there are four normal figure styles: tabular lining, tabular oldstyle, proportional lining and proportional oldstyle, the default figure alignment being \texttt{tabular}. To make \texttt{proportional} the default, use the option \texttt{p} or \texttt{proportional}.
@@ -280,15 +281,17 @@
%\usepackage[cmintegrals]{newtxmath}
%\end{verbatim}
%allows you to use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \verb|\idotsint| defined in {\tt amsmath}, but using the pumped-up Computer Modern integral loaded by {\tt newtxmath}.
-\item If you wish to use \verb|\usepackage{amsthm}|, place it before loading {\tt newtxmath} or the result will be
+\item If you wish to use \verb|\usepackage{amsthm}|, place it after \verb|\usepackage{amsmath}| and before loading {\tt newtxmath} or the result will be
\begin{verbatim}
! LaTeX Error: Command \openbox already defined.
\end{verbatim}
+
\item {\tt uprightGreek} and {\tt slantedGreek} determine the form of Greek alphabet loaded---the default is {\tt uprightGreek}, which loads upright uppercase and slanted lowercase Greek symbols, as is customary in Anglo-American mathematical typesetting. With the option {\tt slantedGreek}, which you might want to use if you cared about ISO standards, all Greek symbols are slanted. No matter which is set, \verb|\Gammaup| (or \verb|\upGamma|) gives you upright \verb|\Gamma|, etc, and \verb|\Deltait|, \verb|\zetait| give you italic (i.e., slanted) versions of those letters. If you are using a text font family with properly constructed OT$1$--encoded versions, then, no matter what you chose as the default shape for upper case Greek letters, \verb|\mathnormal{\Omega}| etc will always produce the slanted version. (The macro \verb|\mathnormal| means essentially ``use the version of the symbol in {\tt letters}''---i.e., the math italic form. This did not always work as expected in versions prior to 1.45.) Currently, this works as expected with {\tt newtxtext} and {\tt libertine}.
\item Option {\tt frenchmath} sets the default style in math mode for rendering uppercase Roman and Greek letters to upright, and lowercase Greek letters to upright. (Introduced in v.\ 1.28.)
\item The option {\tt cmbraces} instructs {\tt newtxmath} to ignore the brace collections from {\tt txfonts}, substituting a collection based on thickened versions of the Computer Modern braces, which I find much easier to distinguish from other delimiters. This works quite well in regular weight but looks a bit clunky in bold. The option {\tt bigdelims}, which superseded {\tt cmbraces}, is now not necessary---it is the default as of version 1.5.
\item Option {\tt nonewtxmathopt} (or {\tt scale}, a mistake I cannot now erase) causes newtxmath to not make use of the optical math sizes (7{\tt pt}, 5{\tt pt}), as preferred by some.
-\item Option {\tt subscriptcorrection} enables the special spacing of some subscripts. (The default is {\tt nosubscriptcorrection}.)
+\item Option {\tt subscriptcorrection} enables the special spacing of some subscripts. (The default is {\tt nosubscriptcorrection}.)
+\item Option {\tt subscriptcorrectionfile} may be used to specify your own file that will serve in place of the default subscript correction file.
\item The \textsf{newtxmath} package contains three different Blackboard Bold alphabets, where the original \textsf{txfonts} contained two. The default, triggered by \verb|\mathbb{}|, takes its glyphs from the font which replaces {\tt msbm} and has the same overall appearance of a hollowed-out text font, which I find neither bold nor blackboard-like. The second option, taken from \textsf{txfonts}, is triggered by \verb|\varmathbb{}|, is more geometric and, in my opinion, preferable but not optimal. The option {\tt varbb} makes \verb|\mathbb{}| synonymous with \verb|\varmathbb{}|. The third option is the double-struck glyphs from the STIX collection. See the expanded discussion below.
\item {\tt noOT1} affects only those text-math combinations where {\tt operators} is defined by default to OT1 with Greek uppercase letters. It causes {\tt operators} to keep the same encoding as in tex, allowing operatornames to use accented characters, but losing Greek uppercase.
\item {\tt nosymbolsc} causes the package to not load the {\tt symbolsC} fonts, saving a math family. (This font contains mostly exotic symbols, along with some very useful, commonly used symbols like \verb|\coloneq| $\coloneq$, \verb|\eqcolon| $\eqcolon$, \verb|\notin| $\notin$, \verb|\notni| $\notni$, \verb|\neq| $\neq$, \verb|\nsubset| $\nsubset$ and \verb|\nsupset| $\nsupset$, but these have been moved (virtually) to {\tt lettersA} so they may continue to be used even if you use the option {\tt nosymbolsc}.) If this option is selected, then, as of version 1.53, new definitions are made for the missing negated symbols. The package {\tt centernot} is now required.
@@ -860,7 +863,7 @@
\InputIfFileExists{glyphtounicode-ntx.tex}{}{}
\usepackage{newtxtext} %T1 is default encoding
\usepackage[scaled=0.95]{inconsolata} % typewriter
-%\usepackage[leqno]{amsmath}
+\usepackage[leqno]{amsmath} % must be loaded before amsthm
\usepackage{amsthm}
\usepackage[vvarbb]{newtxmath} % vvarbb gives STIX Bbb
\end{verbatim}
@@ -879,14 +882,46 @@
There are also interactions with {\tt pstricks} that have to be worked around because {\tt subscriptcorrection} redefines \verb|_| as an active character, as do parts of {\tt pstricks}. In particular, the {\tt pstricks} short forms for macros like \verb|\tbput| and \verb|\nbput| for attaching labels beneath node connections must be avoided.
-If you do enable {\tt subscriptcorrection}, there is a default correction table in the {\tt sty} file, but the sty file also looks for a file named, e.g., {\tt newtx-subs.tex} if you are using the {\tt newtx} default math letters. There is already such a file located in the {\tt newtx} distribution in the \verb|/tex/latex/| folder. If you wish to make changes to this file, copy the file to your home TeX folder where it will be found by TeX before the one in the distribution. The entries in the file are lines like
+If you do enable {\tt subscriptcorrection}, there is a default correction table in the {\tt sty} file, but the sty file also looks for a file named, e.g., {\tt newtx-subs.tex} if you are using the {\tt newtx} default math letters. There is already such a file located in the {\tt newtx} distribution in the \verb|/tex/latex/| folder. For the moment, the recommended way to override the entries that file is to make
+entries in a \verb|filecontents*| environment as below.
+
+\textbf{A sample {\tt newtx-subs.tex}}\\
+Copy the entire block below, starting with the line \verb|\begin{...| and ending after the line beginning \verb|\end{|
+and paste it into the top of your document before the \verb|\documentclass...| line, which will allow for easy editing and will write the file to the same folder as your document.
+
+(New as of version $1.658$:) If you wish to make changes to {\tt newtx-subs.tex}, it is possible though not wise to copy the file to your home TeX folder where it will be found by TeX before the one in the distribution. The problem is that it is easy to forget where the file is located when you want to make changes. For the moment, my advice is to place the file contents with your changes inside a {\tt filecontents} environment at the top of your source file, as shown below. The effect will be to write that file in the same folder as your source, overwriting any existing copy. Version $1.658$ also offers you a new option {\tt subscriptcorrectionfile} that lets you specify a file name other than the default {\tt newtx-subs.tex} that can be used to specify a subscript correction file for some special use.
+
\begin{verbatim}
+\begin{filecontents*}[force,nosearch]{newtx-subs.tex}
+{f}{-3}
{j}{-3}
+{p}{-1}
+{y}{-1}
+{A}{-3}
+{B}{-1}
+{D}{-1}
+{H}{-1}
+{I}{-1}
+{K}{-1}
+{L}{-1}
+{M}{-1}
+{N}{-0.5}
+{P}{-1}
+{X}{-1}
+{\rho}{-1.5}
+{\mu}{-1}
+\end{filecontents*}
\end{verbatim}
-each of which will have the same effect as the above macro if the first item in the subscript is j. You can also specify Greek letters with lines like
+
+The entries in the file are lines like
\begin{verbatim}
+{j}{-3}
+\end{verbatim}
+each of which will have the same effect as the above macro \verb|\jj| if the first item in the subscript is {\tt j}. You can also specify Greek letters with lines like
+\begin{verbatim}
{\beta}{-1.5}
\end{verbatim}
+
The complete list of file names recognized for specifying subscript corrections is:
\begin{verbatim}
newtx-subs.tex
@@ -949,31 +984,6 @@
\fonttable{ntxsy}
\newpage
-\subsection{A sample newtx-subs.tex}
-You may either copy the entire block below, starting with the line \verb|\begin{...| and ending after the line beginning \verb|\end{|
-and pasting it into the top of your document before the \verb|\documentclass...| line, which will allow for easy editing and will write the file to the same folder as your document, or make your own file, omitting those outer two lines.
-
-\begin{verbatim}
-\begin{filecontents*}{newtx-subs.tex}
-{f}{-3}
-{j}{-3}
-{p}{-1}
-{y}{-1}
-{A}{-3}
-{B}{-1}
-{D}{-1}
-{H}{-1}
-{I}{-1}
-{K}{-1}
-{L}{-1}
-{M}{-1}
-{N}{-0.5}
-{P}{-1}
-{X}{-1}
-{\rho}{-1.5}
-{\mu}{-1}
-\end{filecontents*}
-\end{verbatim}
\subsection*{The {\tt ebgaramond} option to newtxmath}
As {\tt ebgaramond} has an x-height considerably smaller than {\tt newtx}, some amount of scaling is useful to bridge the gap. In making the replacement letters, I increased the size of the EBGaramond letters by 5\%, so make some scaling combination that compensates for this. The weights of {\tt ebgaramond} used in the substitutions were regular and semibold. This dictates one of the options used for {\tt ebgaramond}.
Modified: trunk/Master/texmf-dist/fonts/afm/public/newtx/txbmiaX.afm
===================================================================
--- trunk/Master/texmf-dist/fonts/afm/public/newtx/txbmiaX.afm 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/fonts/afm/public/newtx/txbmiaX.afm 2021-10-14 20:45:13 UTC (rev 60762)
@@ -1,6 +1,6 @@
StartFontMetrics 2.0
-Comment Generated by FontForge 20200314
-Comment Creation Date: Sat Mar 20 16:22:47 2021
+Comment Generated by FontForge 20201107
+Comment Creation Date: Tue Oct 5 15:27:30 2021
FontName txbmiaX
FullName txbmiaX
FamilyName txbmiaX
@@ -13,7 +13,7 @@
Version 3.1
EncodingScheme FontSpecific
FontBBox -24 -240 1032 871
-StartCharMetrics 194
+StartCharMetrics 195
C 0 ; WX 611 ; N u1D6AA ; B 16 0 583 676 ;
C 1 ; WX 627 ; N u1D6AB ; B 24 0 603 676 ;
C 2 ; WX 778 ; N u1D6AF ; B 35 -19 743 691 ;
@@ -165,7 +165,7 @@
C 152 ; WX 822 ; N u1D54F ; B 10 0 804 662 ;
C 153 ; WX 722 ; N u1D550 ; B 22 0 703 662 ;
C 154 ; WX 731 ; N uni2124 ; B 9 0 717 662 ;
-C 155 ; WX 465 ; N u1D552 ; B 25 -10 430 460 ;
+C 155 ; WX 577 ; N u1D552 ; B 37 -10 542 460 ;
C 156 ; WX 634 ; N u1D553 ; B 24 -10 598 683 ;
C 157 ; WX 448 ; N u1D554 ; B 25 -10 412 460 ;
C 158 ; WX 521 ; N u1D555 ; B 25 -10 489 683 ;
@@ -193,6 +193,7 @@
C 180 ; WX 527 ; N u1D56B ; B 10 0 495 450 ;
C 181 ; WX 388 ; N u1D55A.dtls ; B 25 0 358 461 ;
C 182 ; WX 378 ; N u1D55B.dtls ; B 30 -218 293 460 ;
+C 183 ; WX 333 ; N hyphen ; B 44 171 287 287 ;
C 186 ; WX 333 ; N caron ; B -2 528 335 704 ;
C 187 ; WX 333 ; N breve ; B 15 528 318 691 ;
C 188 ; WX 752 ; N uni2AEB ; B 62 0 690 550 ;
Modified: trunk/Master/texmf-dist/fonts/afm/public/newtx/txmiaX.afm
===================================================================
--- trunk/Master/texmf-dist/fonts/afm/public/newtx/txmiaX.afm 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/fonts/afm/public/newtx/txmiaX.afm 2021-10-14 20:45:13 UTC (rev 60762)
@@ -1,6 +1,6 @@
StartFontMetrics 2.0
-Comment Generated by FontForge 20200314
-Comment Creation Date: Sat Mar 20 15:08:57 2021
+Comment Generated by FontForge 20201107
+Comment Creation Date: Tue Oct 5 15:27:15 2021
FontName txmiaX
FullName txmiaX
FamilyName txmiaX
@@ -17,7 +17,7 @@
XHeight 450
Ascender 570
Descender -217
-StartCharMetrics 208
+StartCharMetrics 209
C 0 ; WX 587 ; N uni0393 ; B 11 0 577 662 ;
C 1 ; WX 643 ; N uni0394 ; B 24 0 618 675 ;
C 2 ; WX 722 ; N uni0398 ; B 34 -14 688 676 ;
@@ -169,7 +169,7 @@
C 152 ; WX 822 ; N u1D54F ; B 10 0 804 662 ;
C 153 ; WX 722 ; N u1D550 ; B 22 0 703 662 ;
C 154 ; WX 731 ; N uni2124 ; B 9 0 717 662 ;
-C 155 ; WX 465 ; N u1D552 ; B 25 -10 430 460 ;
+C 155 ; WX 577 ; N u1D552 ; B 37 -10 542 460 ;
C 156 ; WX 634 ; N u1D553 ; B 24 -10 598 683 ;
C 157 ; WX 448 ; N u1D554 ; B 25 -10 412 460 ;
C 158 ; WX 521 ; N u1D555 ; B 25 -10 489 683 ;
@@ -221,6 +221,7 @@
C 234 ; WX 0 ; N uni030A ; B -333 530 -128 729 ;
C 235 ; WX 0 ; N uni030B ; B -325 521 -35 674 ;
C 236 ; WX 0 ; N uni030C ; B -371 525 -89 678 ;
+C 237 ; WX 333 ; N hyphen ; B 39 194 285 257 ;
C 251 ; WX 528 ; N dblbracketleft ; B 88 -243 444 757 ;
C 252 ; WX 546 ; N dblbracketright ; B 54 -243 408 757 ;
C 253 ; WX 564 ; N plus ; B 30 0 534 506 ;
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbmia.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbsy.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbsy5.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxbsy7.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxmia.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxsy5.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/ntxsy7.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/txbmiaX.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/tfm/public/newtx/txmiaX.tfm
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/type1/public/newtx/txbmiaX.pfb
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/type1/public/newtx/txmiaX.pfb
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbmia.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbsy.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbsy5.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxbsy7.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxmia.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxsy5.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/fonts/vf/public/newtx/ntxsy7.vf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/newtx/lmsntxsy.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/lmsntxsy.fd 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/tex/latex/newtx/lmsntxsy.fd 2021-10-14 20:45:13 UTC (rev 60762)
@@ -11,9 +11,24 @@
\let\ntxmath at scaled\@empty%
\fi
+\def\tx at donoopt{\newif\iftx at noopt}
+\expandafter\ifx\csname tx at nooptfalse\endcsname\relax
+ \tx at donoopt
+\fi
+
\DeclareFontFamily{LMS}{ntxsy}{\providecommand {\setSYdimens}{}\setSYdimens\skewchar\font =120}
+\iftx at noopt % no optical sizes
\DeclareFontShape{LMS}{ntxsy}{m}{n}{
+ <-> \ntxmath at scaled ntxsy
+}{}
+
+\DeclareFontShape{LMS}{ntxsy}{b}{n}{
+ <-> \ntxmath at scaled ntxbsy
+}{}
+
+\else % use optical sizes
+\DeclareFontShape{LMS}{ntxsy}{m}{n}{
<-6.3> \ntxmath at scaled ntxsy5
<6.3-8.6> \ntxmath at scaled ntxsy7 % from 6.3 up to, but not including, 8.6
<8.6-> \ntxmath at scaled ntxsy
@@ -24,6 +39,7 @@
<6.3-8.6> \ntxmath at scaled ntxbsy7
<8.6-> \ntxmath at scaled ntxbsy
}{}
+\fi
\DeclareFontShape{LMS}{ntxsy}{bx}{n}{<->ssub * ntxsy/b/n}{}
Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty 2021-10-14 20:45:13 UTC (rev 60762)
@@ -11,8 +11,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.655}
-\def\filedate{2021/06/01}
+\def\fileversion{1.658}
+\def\filedate{2021/10/13}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -176,6 +176,7 @@
%\def\tx at sb{\the\tx at tA \the\tx at tB}\enablesbcorrection}
%\newcommand*{\loadsupfile}[1]{\readsufile{#1}%creates toks tx at tA. tx at tB
%\def\tx at sp{\the\tx at tA \the\tx at tB}\enablespcorrection}
+\def\tx at subs{newtx-subs.tex}
\newread\tx at su
\def\readsufile#1{%
@@ -194,6 +195,8 @@
\tx at tA\expandafter{\the\tx at tA\next #1\mkern #2 mu\else}
\tx at tB\expandafter{\the\tx at tB\fi}}
+\newif\iftx at subsfile
+\DeclareOption{subscriptcorrectionfile}{\def\tx at subs{#1}\tx at subsfiletrue}
\DeclareOption{nosubscriptcorrection}{\tx at sbcfalse}
\DeclareOption{subscriptcorrection}{\tx at sbctrue}
%\DeclareOption{nosuperscriptcorrection}{\disablespcorrection}
@@ -234,7 +237,6 @@
\DeclareOption{liby}{\tx at libytrue}
\DeclareOption{frenchmath}{\tx at frenchmtrue}
\DeclareOption{nonewtxmathopt}{\tx at noopttrue}
-\DeclareOption{scale}{\tx at noopttrue}
\DeclareOption{upint}{\tx at upinttrue}
\DeclareOption{smallerops}{\tx at smopstrue}
\DeclareOption{useBImacros}{\tx at BItrue}
@@ -389,61 +391,61 @@
% Math Italic %
%%%%%%%%%%%%%%%
\iftx at libertine
- \def\tx at subs{newtx-libertine-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-libertine-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{nxlmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{nxlmi}{b}{it}
\DeclareFontSubstitution{OML}{nxlmi}{m}{it}
\else
\iftx at minion
- \def\tx at subs{newtx-minion-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-minion-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zmnmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zmnmi}{b}{it}
\DeclareFontSubstitution{OML}{zmnmi}{m}{it}
\else
\iftx at gm
- \def\tx at subs{newtx-garamond-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-garamond-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zgmmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zgmmi}{b}{it}
\DeclareFontSubstitution{OML}{zgmmi}{m}{it}
\else
\iftx at bv
- \def\tx at subs{newtx-baskervald-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-baskervald-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zbvmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zbvmi}{b}{it}
\DeclareFontSubstitution{OML}{zbvmi}{m}{it}
\else
\iftx at ut
- \def\tx at subs{newtx-utopia-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-utopia-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zutmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zutmi}{b}{it}
\DeclareFontSubstitution{OML}{zutmi}{m}{it}
\else
\iftx at ch
- \def\tx at subs{newtx-xcharter-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-xcharter-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zchmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zchmi}{b}{it}
\DeclareFontSubstitution{OML}{zchmi}{m}{it}
\else
\iftx at coch
- \def\tx at subs{newtx-cochineal-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-cochineal-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zcochmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zcochmi}{b}{it}
\DeclareFontSubstitution{OML}{zcochmi}{m}{it}
\else
\iftx at ba
- \def\tx at subs{newtx-baskervillef-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-baskervillef-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zbami}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zbami}{b}{it}
\DeclareFontSubstitution{OML}{zbami}{m}{it}
\else
\iftx at stxtwo
- \def\tx at subs{newtx-stickstoo-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-stickstoo-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{ntxstx2mi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{ntxstx2mi}{b}{it}
\DeclareFontSubstitution{OML}{ntxstx2mi}{m}{it}
\else
\iftx at ebgm
- \def\tx at subs{newtx-ebgaramond-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-ebgaramond-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{ntxebgmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{ntxebgmi}{b}{it}
\DeclareFontSubstitution{OML}{ntxebgmi}{m}{it}
@@ -450,12 +452,12 @@
\else
\iftx at nc
\iftx at fourier
- \def\tx at subs{newtx-ncf-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-ncf-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zncfmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zncfmi}{b}{it}
\DeclareFontSubstitution{OML}{zncfmi}{m}{it}
\else
- \def\tx at subs{newtx-nc-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-nc-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{zncmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{zncmi}{b}{it}
\DeclareFontSubstitution{OML}{zncmi}{m}{it}
@@ -462,18 +464,18 @@
\fi
\else
\iftx at noto
- \def\tx at subs{newtx-noto-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-noto-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{notomi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{notomi}{b}{it}
\DeclareFontSubstitution{OML}{notomi}{m}{it}
\else
\iftx at notosans
- \def\tx at subs{newtx-notosans-subs.tex}
+ \iftx at subsfile\else\def\tx at subs{newtx-notosans-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{notosansmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{notosansmi}{b}{it}
\DeclareFontSubstitution{OML}{notosansmi}{m}{it}
\else
- \def\tx at subs{newtx-subs.tex}
+ %\iftx at subsfile\else\def\tx at subs{newtx-subs.tex}\fi
\DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
\SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
\DeclareFontSubstitution{OML}{ntxmi}{m}{it}
Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty 2021-10-14 16:53:25 UTC (rev 60761)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty 2021-10-14 20:45:13 UTC (rev 60762)
@@ -1,7 +1,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.656}
-\def\filedate{2021/09/01}
+\def\fileversion{1.658}
+\def\filedate{2021/10/13}
\ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
\message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)}
More information about the tex-live-commits
mailing list.