texlive[56049] Master/texmf-dist: newtx (5aug20)

commits+karl at tug.org commits+karl at tug.org
Wed Aug 5 23:12:55 CEST 2020


Revision: 56049
          http://tug.org/svn/texlive?view=revision&revision=56049
Author:   karl
Date:     2020-08-05 23:12:55 +0200 (Wed, 05 Aug 2020)
Log Message:
-----------
newtx (5aug20)

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/tex/latex/newtx/newtxmath.sty
    trunk/Master/texmf-dist/tex/latex/newtx/untxmia.fd

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/README	2020-08-05 06:28:57 UTC (rev 56048)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/README	2020-08-05 21:12:55 UTC (rev 56049)
@@ -1,12 +1,16 @@
 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.628 2020-07-22
+Current version: 1.629 2020-08-04
 
 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.629
+Added math support for NotoSerif and NotoSans.  See the documentation for the new package notomath, which integrates this support.
+
+
 Changes in version 1.628
-1. Removed no longer neede \k macro from newtxtext.sty.
+1. Removed no longer needed \k macro from newtxtext.sty.
 2. Added a number of \pdfglyphtounicode entries to newtxmath.sty
 3. Added code to \ntx at alfa macro in newtxmath.sty in order to extend its ability to pass unprocessed item through to LaTeX.
 4. Added option noOT1 to newtxmath to allow the user to specify whether using OT1 for operators, with UC Greek, is less important than using T1 for operators, so that accented characters may be used in operator names.

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	2020-08-05 06:28:57 UTC (rev 56048)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex	2020-08-05 21:12:55 UTC (rev 56049)
@@ -224,6 +224,7 @@
 \item {\tt libertine} loads different versions of math italic and bold math italic based on \textsf{Libertine} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default;
 \item (new in version 1.55) {\tt stix2} loads different versions of math italic and bold math italic based on \textsf{StixTwoMath} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. See the documentation to the {\tt SticksToo} package, which contains more details and some math samples.
 \item (new in version 1.60) {\tt ebgaramond} loads different versions of math italic and bold math italic based on \textsf{EBGaramond} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. See the end of Appendix 2 for an example of a preamble.
+\item (new as of version 1.629) {\tt noto, notosans} load different versions of math italic and bold math italic based on \textsf{NotoSerif}, \textsf{NotoSans}  rather than \textsf{Times}. There are some intricacies involved, for which there is a separate package, {\tt notomath}, that tries to offer as simple an interface as it was possible for me to devise.
 \item (new in version 1.62) {\tt nc, ncf} load different versions of math italic and bold math italic based on \textsf{ScholaX} (\textsf{New Century Schoolbook}) rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case. The difference is that o[tion {\tt nc} loads math Greek letters from {\tt newtxmath}, while option {\tt ncf} loads math greek from an adaptation of {\tt fourier} Greek.
 \item {\tt minion} loads different versions of math italic and bold math italic based on \textsf{MinionPro} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default---see the extended discussion below;
 \item {\tt garamondx} loads different versions of math italic and bold math italic based on \textsf{garamondx} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
@@ -810,6 +811,8 @@
 newtx-minion-subs.tex
 newtx-nc-subs.tex
 newtx-ncf-subs.tex
+newtx-noto-subs.tex
+newtx-notosans-subs.tex
 \end{verbatim}
 
 \subsection{New glyphs added} \textbf{(For enhanced packages only)} Math family 1 {\tt (letters)} has been extended from 128 slots to 256, retaining the {\tt OML} encoding of the first 128. Most of additional slots have been allocated to a script font from the old STIX collection and an upright modification of that font.

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2020-08-05 06:28:57 UTC (rev 56048)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2020-08-05 21:12:55 UTC (rev 56049)
@@ -11,8 +11,8 @@
 % of glyph collisions.
 % These modifications are by Michael Sharpe, msharpe at ucsd dot edu
 
-\def\fileversion{1.628}
-\def\filedate{2020/07/22}
+\def\fileversion{1.629}
+\def\filedate{2020/08/04}
 \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
 \@ifundefined{newtxmathLoaded}{}{\endinput}
 
@@ -46,8 +46,9 @@
 \newcount\tx at cntz
 \input{binhex}
 
-\let\ntxmath at scaled\@empty
-\define at key{ntxmath}{scaled}[1.0]{\def\ntxmath at scaled{s*[#1]}}
+\let\ntxmath at scaled\@empty\def\tx at scale{1}
+\define at key{ntxmath}{scaled}[1.0]{\def\tx at scale{#1}\def\ntxmath at scaled{s*[#1]}}
+\define at key{ntxmath}{scale}[1.0]{\def\tx at scale{#1}\def\ntxmath at scaled{s*[#1]}}
 \def\ntxmath at vecsep{.25ex}
 \define at key{ntxmath}{vecsep}[.25ex]{\def\ntxmath at vecsep{#1}}
 %\define at key{ntxmath}{scalesubdrop}[1.0]{\DeclareRobustCommand{\ntx at scalesub}{%
@@ -82,6 +83,7 @@
 \newif\iftx at nozchvw
 \newif\iftx at stxtwo
 \newif\iftx at sbc
+\newif\iftx at noto \newif\iftx at notosans
 %\newif\iftx at spc
 \newif\iftx at nootone % do not switch to OT1 for operators
 \newif\iftx at digits % use digits from letters
@@ -242,6 +244,8 @@
 \DeclareOption{stickstoo}{\tx at stxtwotrue\tx at ntxmathfalse} % added in 1.55
 \DeclareOption{nc}{\tx at nctrue\tx at ntxmathfalse} % added in  1.62
 \DeclareOption{ncf}{\tx at nctrue\tx at ntxmathfalse\tx at fouriertrue} % added in  1.622
+\DeclareOption{noto}{\tx at nototrue\tx at notosansfalse\tx at ntxmathfalse} % added in 1.629
+\DeclareOption{notosans}{\tx at notosanstrue\tx at notofalse\tx at ntxmathfalse} % added in 1.629
 \DeclareOption{cochf}{\tx at cochftrue} % added in 1.604
 \DeclareOption{cochrho}{\tx at cochrhotrue} % added in 1.604
 \DeclareOption{alty}{\tx at XChaltytrue} % only in XCharter, added im 1.611
@@ -253,6 +257,28 @@
 \ExecuteOptions{%
 amssymbols,uprightGreek,nosubscriptcorrection}
 \ProcessOptions*
+
+% noto option requires special handling because of scaling issues---
+% The noto package does not have an option that  controls the scale
+% factor for serifed text.
+%\newdimen\tx at dima
+%\newif\iftx at somenoto
+%\iftx at noto
+%  \tx at somenototrue
+%\else
+%  \iftx at notosans
+%    \tx at somenototrue
+%  \fi
+%\fi
+%\iftx at somenoto
+%  % use the scale from newtxmath to reset scale factors for noto
+%    \tx at dima=\tx at scale\p@
+%    \tx at dima=.9\tx at dima
+%    \edef\NotoSerif at scale{\strip at pt\tx at dima}
+%    \let\NotoSans at scale\NotoSerif at scale
+%    \let\NotoSansMono at scale\NotoSerif at scale
+%\fi
+
 % Check whether math face is enhanced
 \iftx at ntxmath\tx at isenhtrue\else
   \iftx at libertine\tx at isenhtrue\else
@@ -263,6 +289,10 @@
             \iftx at ut\tx at isenhtrue\else
               \iftx at nc\tx at isenhtrue\else
                 \iftx at minion\tx at isenhtrue\else
+                  \iftx at noto\tx at isenhtrue\else
+                    \iftx at notosans\tx at isenhtrue\else
+                    \fi
+                  \fi
                 \fi
               \fi
             \fi
@@ -320,6 +350,8 @@
   \fi\fi
 \fi
 \iftx at minion\edef\rmdefaultB{MinionPro-TLF}\fi
+\iftx at noto\edef\rmdefaultB{NotoSerif-TLF}\fi
+\iftx at notosans\edef\rmdefaultB{NotoSans-TLF}\fi
 \edef\bold at wt{\ifx\iflibertine at otf\undefined b\else sb\fi}
 \let\tx at enc\encodingdefault
 %:
@@ -429,10 +461,24 @@
       				    \DeclareFontSubstitution{OML}{zncmi}{m}{it}
 				      \fi
                     \else
-                      \def\tx at subs{newtx-subs.tex}
-                      \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
-                      \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
-                      \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+                      \iftx at noto
+                        \def\tx at subs{newtx-noto-subs.tex}
+                        \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}
+                          \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}
+                          \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
+                          \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
+                          \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+                        \fi
+                      \fi
                     \fi  
                   \fi  
                 \fi
@@ -444,6 +490,7 @@
     \fi
   \fi
 \fi
+
 %\show\tx at subs
 
 \iftx at isenh

Modified: trunk/Master/texmf-dist/tex/latex/newtx/untxmia.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/untxmia.fd	2020-08-05 06:28:57 UTC (rev 56048)
+++ trunk/Master/texmf-dist/tex/latex/newtx/untxmia.fd	2020-08-05 21:12:55 UTC (rev 56049)
@@ -89,12 +89,30 @@
 				    }{}
 				  \fi
 				\else
-                  \DeclareFontShape{U}{ntxmia}{m}{it}{
-                    <-> \ntxmath at scaled ntxmia
-                  }{}    
-                  \DeclareFontShape{U}{ntxmia}{b}{it}{
-                    <-> \ntxmath at scaled ntxbmia
-                  }{}
+                  \iftx at noto
+                    \DeclareFontShape{U}{ntxmia}{m}{it}{
+                     <-> \ntxmath at scaled notomia
+                    }{}    
+                    \DeclareFontShape{U}{ntxmia}{b}{it}{
+                      <-> \ntxmath at scaled notobmia
+                     }{}
+                   \else
+                     \iftx at notosans
+                       \DeclareFontShape{U}{ntxmia}{m}{it}{
+                        <-> \ntxmath at scaled notosansmia
+                       }{}    
+                       \DeclareFontShape{U}{ntxmia}{b}{it}{
+                        <-> \ntxmath at scaled notosansbmia
+                     }{}
+  					\else
+                      \DeclareFontShape{U}{ntxmia}{m}{it}{
+                        <-> \ntxmath at scaled ntxmia
+                      }{}    
+                      \DeclareFontShape{U}{ntxmia}{b}{it}{
+                        <-> \ntxmath at scaled ntxbmia
+                      }{}
+                    \fi  
+                  \fi
 				\fi
               \fi  
             \fi  



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