diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/ly1ntxdenoms.fd | 62 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxmath.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 35 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/ot1ntxdenoms.fd | 62 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/t1ntxdenoms.fd | 62 |
5 files changed, 221 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxdenoms.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxdenoms.fd new file mode 100644 index 00000000000..963b468be7e --- /dev/null +++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxdenoms.fd @@ -0,0 +1,62 @@ +\ProvidesFile{ly1ntxdenoms.fd}[2020/03/02 v1.0] +\expandafter\ifx\csname ntx@scaled\endcsname\relax + \let\ntx@scaled\@empty% +\fi + +\DeclareFontFamily{LY1}{ntxdenoms}{} +\DeclareFontShape{LY1}{ntxdenoms}{m}{n}{ %medium + <-> \ntx@scaled ntxdenoms-Regular-ly1% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{m}{it}{ %italic + <-> ssub * ntxdenoms/m/n%% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{b}{n}{ %bold + <-> ssub * ntxdenoms/m/n%% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{b}{it}{ %bold italic + <-> ssub * ntxdenoms/m/n%% +}{} + +\DeclareFontShape{LY1}{ntxdenoms}{m}{sc}{ %cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{m}{sl}{ %slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{m}{scit}{ %italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{m}{ui}{ %unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{bx}{sc}{ %bold extended cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{bx}{sl}{ %bold extended slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{bx}{it}{ %bold extended italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{bx}{scit}{ %bold extended italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{bx}{ui}{ %bold extended unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{bx}{n}{ %bold extended + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{b}{sc}{ %bold cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{b}{sl}{ %bold slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{b}{ui}{ %bold unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{LY1}{ntxdenoms}{b}{scit}{ %bold italic + <-> ssub * ntxdenoms/m/n% +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty index 4f1dd2a2606..a2167aead84 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.624} -\def\filedate{2020/01/25} +\def\fileversion{1.625} +\def\filedate{2020/03/02} \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ] \@ifundefined{newtxmathLoaded}{}{\endinput} @@ -2443,7 +2443,7 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \iftx@varbb \let\mathbb\vmathbb %\DeclareRobustCommand*{\mathbb}{\varmathbb} \else - \iftx@ams\else\let\mathbb\vmathbb \let\Bbbk=\vmathbb{k}\fi + \iftx@ams\else\let\mathbb\vmathbb\fi \fi \fi \DeclareRobustCommand{\Bbbk}{\mathbb{k}} diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index 11e388118cc..bc8191c238f 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e} -\def\fileversion{1.531} -\def\filedate{2018/03/27} +\def\fileversion{1.625} +\def\filedate{2020/03/02} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] \message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)} @@ -18,6 +18,7 @@ \@onlypreamble\useosf \def\useproportional{\edef\ntx@figurealign{}} \@onlypreamble\useproportional +\RequirePackage{etoolbox} \def\ntx@figurestyle{lf}% default is lining figure style \def\ntx@figurealign{t}% default is tabular figure alignment @@ -92,7 +93,35 @@ \DeclareRobustCommand{\sustyle}{% \not@math@alphabet\sustyle\relax \fontfamily{ntxsups}\selectfont} - +\DeclareRobustCommand{\infigures}{% + \not@math@alphabet\infigures\relax + \fontfamily{ntxdenoms}\selectfont} +\DeclareTextFontCommand{\textin}{\infigures} +\providecommand*{\textfrac}[2]{% + {\ntxt@printfalse\edef\ntxt@denom{#1\char"F5}\ntxt@textinf #2\@nil% + \ifntxt@print\textsu{\ntxt@denom}\fi}} + +\newcount\ntxt@cntz +\newif\ifntxt@print +%\newcount\ntxt@Isdigit +\def\ntxt@isdigit#1{% #1 should be a single character +\ntxt@cntz=\number`#1\relax% +\ifnum\ntxt@cntz>47\relax% + \ifnum\ntxt@cntz<58\relax% + \advance\ntxt@cntz by 198 % 246 (0.inf) -48 + \edef\ntxt@denom{\ntxt@denom\char\the\ntxt@cntz}% + \else + \edef\ntxt@denom{\ntxt@denom X}% + \fi% +\else + \edef\ntxt@denom{\ntxt@denom X}% +\fi% +%\show\ntxt@denom +} +\def\ntxt@textinf#1#2\@nil{% +\ntxt@isdigit{#1}% +\ifblank{#2}{\ntxt@printtrue}{\ntxt@textinf #2\@nil}% +} \ifntx@scosf % \DeclareRobustCommand{\textsc}[1]{% {\fontfamily{ntx\ntx@figurealign osf}\scshape\selectfont #1}% diff --git a/Master/texmf-dist/tex/latex/newtx/ot1ntxdenoms.fd b/Master/texmf-dist/tex/latex/newtx/ot1ntxdenoms.fd new file mode 100644 index 00000000000..88fe0a6a4d1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/newtx/ot1ntxdenoms.fd @@ -0,0 +1,62 @@ +\ProvidesFile{ot1ntxdenoms.fd}[2020/03/02 v1.0] +\expandafter\ifx\csname ntx@scaled\endcsname\relax + \let\ntx@scaled\@empty% +\fi + +\DeclareFontFamily{OT1}{ntxdenoms}{} +\DeclareFontShape{OT1}{ntxdenoms}{m}{n}{ %medium + <-> \ntx@scaled ntxdenoms-Regular-ot1% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{m}{it}{ %italic + <-> ssub * ntxdenoms/m/n%% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{b}{n}{ %bold + <-> ssub * ntxdenoms/m/n%% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{b}{it}{ %bold italic + <-> ssub * ntxdenoms/m/n%% +}{} + +\DeclareFontShape{OT1}{ntxdenoms}{m}{sc}{ %cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{m}{sl}{ %slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{m}{scit}{ %italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{m}{ui}{ %unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{bx}{sc}{ %bold extended cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{bx}{sl}{ %bold extended slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{bx}{it}{ %bold extended italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{bx}{scit}{ %bold extended italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{bx}{ui}{ %bold extended unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{bx}{n}{ %bold extended + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{b}{sc}{ %bold cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{b}{sl}{ %bold slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{b}{ui}{ %bold unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{OT1}{ntxdenoms}{b}{scit}{ %bold italic + <-> ssub * ntxdenoms/m/n% +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/newtx/t1ntxdenoms.fd b/Master/texmf-dist/tex/latex/newtx/t1ntxdenoms.fd new file mode 100644 index 00000000000..3f5cb96c969 --- /dev/null +++ b/Master/texmf-dist/tex/latex/newtx/t1ntxdenoms.fd @@ -0,0 +1,62 @@ +\ProvidesFile{t1ntxdenoms.fd}[2020/03/02 v1.0] +\expandafter\ifx\csname ntx@scaled\endcsname\relax + \let\ntx@scaled\@empty% +\fi + +\DeclareFontFamily{T1}{ntxdenoms}{} +\DeclareFontShape{T1}{ntxdenoms}{m}{n}{ %medium + <-> \ntx@scaled ntxdenoms-Regular-t1% +}{} +\DeclareFontShape{T1}{ntxdenoms}{m}{it}{ %italic + <-> ssub * ntxdenoms/m/n%% +}{} +\DeclareFontShape{T1}{ntxdenoms}{b}{n}{ %bold + <-> ssub * ntxdenoms/m/n%% +}{} +\DeclareFontShape{T1}{ntxdenoms}{b}{it}{ %bold italic + <-> ssub * ntxdenoms/m/n%% +}{} + +\DeclareFontShape{T1}{ntxdenoms}{m}{sc}{ %cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{m}{sl}{ %slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{m}{scit}{ %italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{m}{ui}{ %unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{bx}{sc}{ %bold extended cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{bx}{sl}{ %bold extended slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{bx}{it}{ %bold extended italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{bx}{scit}{ %bold extended italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{bx}{ui}{ %bold extended unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{bx}{n}{ %bold extended + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{b}{sc}{ %bold cap & small cap + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{b}{sl}{ %bold slanted + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{b}{ui}{ %bold unslanted italic + <-> ssub * ntxdenoms/m/n% +}{} +\DeclareFontShape{T1}{ntxdenoms}{b}{scit}{ %bold italic + <-> ssub * ntxdenoms/m/n% +}{} +\endinput |