summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty15
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxtext.sty10
2 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index c9c6a204388..ec3580bb8db 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.433}
-\def\filedate{2015/04/06}
+\def\fileversion{1.434}
+\def\filedate{2015/04/07}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -1655,8 +1655,15 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
%%%
%%% for AMS classes
%%%
-\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
-\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
+\chardef\newtxmath@openbox 131 % was 3 in ntxsya
+\DeclareRobustCommand{\textsquare}{\begingroup
+ \usefont{U}{ntxsym}{m}{n}\newtxmath@openbox\endgroup}
+\DeclareRobustCommand{\openbox}{}
+% the spaces below after openbox and textsquare should not be removed
+\expandafter\let\csname openbox \expandafter\endcsname
+ \csname textsquare \endcsname
+%\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
+%\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
\def\defaultscriptratio{.73} % default is .7
\def\defaultscriptscriptratio{.55} % default is .5
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty
index 4858d54f699..37655b9c211 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.433}
-\def\filedate{2015/04/06}
+\def\fileversion{1.434}
+\def\filedate{2015/04/07}
\ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
\message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)}
@@ -15,6 +15,8 @@
\renewcommand*{\familydefault}{\rmdefault}
\def\useosf{\edef\ntx@figurestyle{osf}}
\@onlypreamble\useosf
+\def\useproportional{\edef\ntx@figurealign{}}
+\@onlypreamble\useproportional
\def\ntx@figurestyle{lf}% default is lining figure style
\def\ntx@figurealign{t}% default is tabular figure alignment
@@ -45,8 +47,8 @@
\DeclareOption{oldstyle}{\useosf}
\DeclareOption{osf}{\useosf}
\DeclareOption{tabular}{\edef\ntx@figurealign{t}}
-\DeclareOption{p}{\edef\ntx@figurealign{}}
-\DeclareOption{proportional}{\edef\ntx@figurealign{}}
+\DeclareOption{p}{\useproportional}
+\DeclareOption{proportional}{\useproportional}
%\DeclareOption{sups}{\ntx@defaultsupsfalse}
\DeclareOption{scosf}{\ntx@scosftrue}
\ExecuteOptions{lining,tabular}