summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-05-04 03:02:37 +0000
committerNorbert Preining <norbert@preining.info>2020-05-04 03:02:37 +0000
commit47af91cb8475b7352015cf05ce881e6b8415112d (patch)
tree17afceb279a6187f83336bac3c72536ae1522a88 /fonts/newtx/tex
parentd78de17ddf0443233483fd98f40802cae5aa87c5 (diff)
CTAN sync 202005040302
Diffstat (limited to 'fonts/newtx/tex')
-rw-r--r--fonts/newtx/tex/newtxmath.sty19
1 files changed, 17 insertions, 2 deletions
diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty
index a2167aead8..88b2b1180c 100644
--- a/fonts/newtx/tex/newtxmath.sty
+++ b/fonts/newtx/tex/newtxmath.sty
@@ -11,8 +11,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.625}
-\def\filedate{2020/03/02}
+\def\fileversion{1.626}
+\def\filedate{2020/05/02}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -256,6 +256,8 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\iftx@coch\tx@isenhtrue\else
\iftx@ut\tx@isenhtrue\else
\iftx@nc\tx@isenhtrue\else
+ \iftx@minion\tx@isenhtrue\else
+ \fi
\fi
\fi
\fi
@@ -311,6 +313,7 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\tx@otfalse
\fi\fi
\fi
+\iftx@minion\edef\rmdefaultB{MinionPro-TLF}\fi
\edef\bold@wt{\ifx\iflibertine@otf\undefined b\else sb\fi}
\let\tx@enc\encodingdefault
\iftx@ot\let\tx@enc\ot@one\fi
@@ -2691,6 +2694,18 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\DeclareRobustCommand{\BIz}{\BI@{z}}
\fi% end \iftx@BI
+% Special constructions for Minion, where we cannot make real compund symbols
+ \iftx@minion % minion does not have hslash, lambdabar, lambdaslash,Zbar
+ \let\hslash\@empty \let\lambdaslash\@empty
+ \let\lambdabar\@empty \let\Zbar\@empty
+ \DeclareMathSymbol{\highbar}{\mathord}{lettersA}{252}
+ \DeclareMathSymbol{\slashbar}{\mathord}{lettersA}{253}
+ \DeclareMathSymbol{\midbar}{\mathord}{lettersA}{254}
+ \def\hslash{\text{\rlap{\hspace{.04em}$\slashbar$}$h$}}
+ \def\lambdaslash{\text{\rlap{\hspace{.1em}$\slashbar$}$\lambda$}}
+ \def\lambdabar{\text{\rlap{\hspace{.09em}$\highbar$}$\lambda$}}
+ \def\Zbar{\text{\rlap{$\midbar$}$\textrm{Z}$}}
+ \fi
\def\defaultscriptratio{.73} % default is .7
\def\defaultscriptscriptratio{.55} % default is .5