summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-05 21:12:55 +0000
committerKarl Berry <karl@freefriends.org>2020-08-05 21:12:55 +0000
commita7d07a0aa3b1007ef4a15a41c7d24a3cd8f3e560 (patch)
treeb44ea9cf10e30886156689f702cdc9fec506cccf
parent070d6f8b90292b935251ad1bfdfd574f349f8cc6 (diff)
newtx (5aug20)
git-svn-id: svn://tug.org/texlive/trunk@56049 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/README8
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdfbin1176270 -> 1177425 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex3
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty63
-rw-r--r--Master/texmf-dist/tex/latex/newtx/untxmia.fd30
5 files changed, 88 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README
index 1ac1f62feb5..9bd51d93ce5 100644
--- a/Master/texmf-dist/doc/fonts/newtx/README
+++ b/Master/texmf-dist/doc/fonts/newtx/README
@@ -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@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.
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
index b7e351b51ad..88aad45b1f5 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
index c35a35c8dbb..d12f31180f0 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
@@ -224,6 +224,7 @@ Don't use these unless you know what you're doing.
\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-erewhon-subs.tex
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.
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index 500ae8e321c..c81e3309390 100644
--- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
+++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
@@ -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@cntz
\input{binhex}
-\let\ntxmath@scaled\@empty
-\define@key{ntxmath}{scaled}[1.0]{\def\ntxmath@scaled{s*[#1]}}
+\let\ntxmath@scaled\@empty\def\tx@scale{1}
+\define@key{ntxmath}{scaled}[1.0]{\def\tx@scale{#1}\def\ntxmath@scaled{s*[#1]}}
+\define@key{ntxmath}{scale}[1.0]{\def\tx@scale{#1}\def\ntxmath@scaled{s*[#1]}}
\def\ntxmath@vecsep{.25ex}
\define@key{ntxmath}{vecsep}[.25ex]{\def\ntxmath@vecsep{#1}}
%\define@key{ntxmath}{scalesubdrop}[1.0]{\DeclareRobustCommand{\ntx@scalesub}{%
@@ -82,6 +83,7 @@
\newif\iftx@nozchvw
\newif\iftx@stxtwo
\newif\iftx@sbc
+\newif\iftx@noto \newif\iftx@notosans
%\newif\iftx@spc
\newif\iftx@nootone % do not switch to OT1 for operators
\newif\iftx@digits % use digits from letters
@@ -242,6 +244,8 @@
\DeclareOption{stickstoo}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55
\DeclareOption{nc}{\tx@nctrue\tx@ntxmathfalse} % added in 1.62
\DeclareOption{ncf}{\tx@nctrue\tx@ntxmathfalse\tx@fouriertrue} % added in 1.622
+\DeclareOption{noto}{\tx@nototrue\tx@notosansfalse\tx@ntxmathfalse} % added in 1.629
+\DeclareOption{notosans}{\tx@notosanstrue\tx@notofalse\tx@ntxmathfalse} % added in 1.629
\DeclareOption{cochf}{\tx@cochftrue} % added in 1.604
\DeclareOption{cochrho}{\tx@cochrhotrue} % added in 1.604
\DeclareOption{alty}{\tx@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@dima
+%\newif\iftx@somenoto
+%\iftx@noto
+% \tx@somenototrue
+%\else
+% \iftx@notosans
+% \tx@somenototrue
+% \fi
+%\fi
+%\iftx@somenoto
+% % use the scale from newtxmath to reset scale factors for noto
+% \tx@dima=\tx@scale\p@
+% \tx@dima=.9\tx@dima
+% \edef\NotoSerif@scale{\strip@pt\tx@dima}
+% \let\NotoSans@scale\NotoSerif@scale
+% \let\NotoSansMono@scale\NotoSerif@scale
+%\fi
+
% Check whether math face is enhanced
\iftx@ntxmath\tx@isenhtrue\else
\iftx@libertine\tx@isenhtrue\else
@@ -263,6 +289,10 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\iftx@ut\tx@isenhtrue\else
\iftx@nc\tx@isenhtrue\else
\iftx@minion\tx@isenhtrue\else
+ \iftx@noto\tx@isenhtrue\else
+ \iftx@notosans\tx@isenhtrue\else
+ \fi
+ \fi
\fi
\fi
\fi
@@ -320,6 +350,8 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\fi\fi
\fi
\iftx@minion\edef\rmdefaultB{MinionPro-TLF}\fi
+\iftx@noto\edef\rmdefaultB{NotoSerif-TLF}\fi
+\iftx@notosans\edef\rmdefaultB{NotoSans-TLF}\fi
\edef\bold@wt{\ifx\iflibertine@otf\undefined b\else sb\fi}
\let\tx@enc\encodingdefault
%:
@@ -429,10 +461,24 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\DeclareFontSubstitution{OML}{zncmi}{m}{it}
\fi
\else
- \def\tx@subs{newtx-subs.tex}
- \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
- \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
- \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+ \iftx@noto
+ \def\tx@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@notosans
+ \def\tx@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@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 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\fi
\fi
\fi
+
%\show\tx@subs
\iftx@isenh
diff --git a/Master/texmf-dist/tex/latex/newtx/untxmia.fd b/Master/texmf-dist/tex/latex/newtx/untxmia.fd
index b3f71b5ec6e..4e77bfc7e3c 100644
--- a/Master/texmf-dist/tex/latex/newtx/untxmia.fd
+++ b/Master/texmf-dist/tex/latex/newtx/untxmia.fd
@@ -89,12 +89,30 @@
}{}
\fi
\else
- \DeclareFontShape{U}{ntxmia}{m}{it}{
- <-> \ntxmath@scaled ntxmia
- }{}
- \DeclareFontShape{U}{ntxmia}{b}{it}{
- <-> \ntxmath@scaled ntxbmia
- }{}
+ \iftx@noto
+ \DeclareFontShape{U}{ntxmia}{m}{it}{
+ <-> \ntxmath@scaled notomia
+ }{}
+ \DeclareFontShape{U}{ntxmia}{b}{it}{
+ <-> \ntxmath@scaled notobmia
+ }{}
+ \else
+ \iftx@notosans
+ \DeclareFontShape{U}{ntxmia}{m}{it}{
+ <-> \ntxmath@scaled notosansmia
+ }{}
+ \DeclareFontShape{U}{ntxmia}{b}{it}{
+ <-> \ntxmath@scaled notosansbmia
+ }{}
+ \else
+ \DeclareFontShape{U}{ntxmia}{m}{it}{
+ <-> \ntxmath@scaled ntxmia
+ }{}
+ \DeclareFontShape{U}{ntxmia}{b}{it}{
+ <-> \ntxmath@scaled ntxbmia
+ }{}
+ \fi
+ \fi
\fi
\fi
\fi