summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-10 23:05:27 +0000
committerKarl Berry <karl@freefriends.org>2016-11-10 23:05:27 +0000
commitb692eb65efb591db6c8b00e5ea44933f46edebef (patch)
tree807ca82d4a9de2e83e8e10fd937fa61b780c0358 /Master/texmf-dist/tex/latex/newtx/newtxmath.sty
parent826cfcb9289b9f084253810e2bb65fe2ea98dc85 (diff)
newtx (10nov16)
git-svn-id: svn://tug.org/texlive/trunk@42480 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/newtxmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty11
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index 45437951d08..07ff12e172b 100644
--- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
+++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
@@ -10,8 +10,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.512}
-\def\filedate{2016/11/03}
+\def\fileversion{1.513}
+\def\filedate{2016/11/10}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -55,11 +55,13 @@
\newif\iftx@altnu
\newif\iftx@largelibfigs \newif\iftx@frenchm % french math
\newif\iftx@minion \newif\iftx@libaltvw \newif\iftx@bv \newif\iftx@ut
+\newif\iftx@ba % new Baskerville fonts
\newif\iftx@ch \newif\iftx@coch
\newif\iftx@ot % use OT1 for operators
\newif\iftx@ntxmath \tx@ntxmathtrue % default is Times operators and math italic
\newif\iftx@upint %default is sloped
\newif\iftx@smops %default is large binary operators
+\newif\iftx@BI \tx@BIfalse
\def\@tx@ptm{ptm}
\newif\iftx@ptm
\edef\tx@rmdefault{\rmdefault}
@@ -85,6 +87,8 @@
\DeclareOption{minion}{\tx@miniontrue\tx@ntxmathfalse\tx@otfalse}
\DeclareOption{cochineal}{\tx@cochtrue\tx@ntxmathfalse}
\DeclareOption{garamondx}{\tx@gmtrue\tx@ntxmathfalse\tx@otfalse}
+\DeclareOption{baskerville}{\tx@batrue\tx@ntxmathfalse}
+\DeclareOption{Baskerville}{\tx@batrue\tx@ntxmathfalse}
\DeclareOption{baskervaldx}{\tx@bvtrue\tx@ntxmathfalse\tx@otfalse}
\DeclareOption{Baskervaldx}{\tx@bvtrue\tx@ntxmathfalse\tx@otfalse}
\DeclareOption{utopia}{\tx@uttrue\tx@ntxmathfalse\tx@otfalse}
@@ -108,6 +112,7 @@
\DeclareOption{scale}{\tx@noopttrue}
\DeclareOption{upint}{\tx@upinttrue}
\DeclareOption{smallerops}{\tx@smopstrue}
+\DeclareOption{useBImacros}{\tx@BItrue}
\ExecuteOptions{%
amssymbols,uprightGreek,nosubscriptcorrection}
\ProcessOptions*
@@ -351,6 +356,7 @@ amssymbols,uprightGreek,nosubscriptcorrection}
}
\DeclareRobustCommand{\BI@}[1]{%
\begingroup\text{\mathversion{bold}$#1$}\endgroup}
+\iftx@BI
\DeclareRobustCommand{\BIA}{\BI@{A}}
\DeclareRobustCommand{\BIB}{\BI@{B}}
\DeclareRobustCommand{\BIC}{\BI@{C}}
@@ -403,6 +409,7 @@ amssymbols,uprightGreek,nosubscriptcorrection}
\DeclareRobustCommand{\BIx}{\BI@{x}}
\DeclareRobustCommand{\BIy}{\BI@{y}}
\DeclareRobustCommand{\BIz}{\BI@{z}}
+\fi% end \iftx@BI
\def\tx@XXX#1#2\@nil{% #1=first character, #2=rest of string
\tx@isdigit{#1}%