summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/newtxmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty73
1 files changed, 44 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index d10356b3e14..02704edebb7 100644
--- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
+++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
@@ -10,16 +10,16 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{0.92}
-\def\filedate{2012/05/09}
-\ProvidesPackage{ntxmath}
+\def\fileversion{0.93}
+\def\filedate{2012/05/19}
+\ProvidesPackage{newtxmath}
[\filedate\space v\fileversion]
\@ifundefined{ntxmathLoaded}{}{\endinput}
-\message{`ntxmath' v\fileversion, \filedate\space Math macros based on txfonts (msharpe)}
+\message{`newtxmath' v\fileversion, \filedate\space Math macros based on txfonts (msharpe)}
-\csname ntxmathLoaded\endcsname
-\let\ntxmathLoaded\endinput
+\csname newtxmathLoaded\endcsname
+\let\newtxmathLoaded\endinput
\RequirePackage{xkeyval}
\define@key{ntxmath}{scaled}[1.0]{\def\ntxmath@scaled{s*[#1]}}
@@ -1120,29 +1120,29 @@ amssymbols,uprightGreek}
\raise4\p@\hbox{$\m@th.$}\mkern2mu\raise\p@\hbox{$\m@th.$}\mkern1mu}}
%%% \sqrt redefined
-\let\sqrt=\undefined
-\DeclareRobustCommand\sqrt{\@ifnextchar[\@sqrt{\mathpalette\@x@sqrt}}
-\def\@x@sqrt#1#2{%
- \setbox\z@\hbox{$\m@th#1\sqrtsign{\mkern1mu #2}$}
- \mkern3mu\box\z@}
-\ifx\@@undefined\@amsmath@err
- \def\r@@t#1#2{% from latex.ltx
- \setbox\z@\hbox{$\m@th#1\sqrtsign{\mkern1mu #2}$}%
- \dimen@\ht\z@ \advance\dimen@-\dp\z@
-% \mkern5mu\raise.6\dimen@\copy\rootbox
- \mkern6mu\raise.68\dimen@\copy\rootbox
-% \mkern-10mu\box\z@}
- \mkern-9mu\box\z@}
-\else
- \def\r@@t#1#2{\setboxz@h{$\m@th#1\sqrtsign{\mkern1mu #2}$}% from amsmath.sty
- \dimen@\ht\z@\advance\dimen@-\dp\z@
- \setbox\@ne\hbox{$\m@th#1\mskip\uproot@ mu$}%
- \advance\dimen@ by1.667\wd\@ne
-% \mkern-\leftroot@ mu\mkern5mu\raise.6\dimen@\copy\rootbox
- \mkern-\leftroot@ mu\mkern6mu\raise.68\dimen@\copy\rootbox
-% \mkern-10mu\mkern\leftroot@ mu\boxz@}
- \mkern-9mu\mkern\leftroot@ mu\boxz@}
-\fi
+%\let\sqrt=\undefined
+%\DeclareRobustCommand\sqrt{\@ifnextchar[\@sqrt{\mathpalette\@x@sqrt}}
+%\def\@x@sqrt#1#2{%
+% \setbox\z@\hbox{$\m@th#1\sqrtsign{\mkern1mu #2}$}
+% \mkern3mu\box\z@}
+%\ifx\@@undefined\@amsmath@err
+% \def\r@@t#1#2{% from latex.ltx
+% \setbox\z@\hbox{$\m@th#1\sqrtsign{\mkern1mu #2}$}%
+% \dimen@\ht\z@ \advance\dimen@-\dp\z@
+%% \mkern5mu\raise.6\dimen@\copy\rootbox
+% \mkern6mu\raise.68\dimen@\copy\rootbox
+%% \mkern-10mu\box\z@}
+% \mkern-9mu\box\z@}
+%\else
+% \def\r@@t#1#2{\setboxz@h{$\m@th#1\sqrtsign{\mkern1mu #2}$}% from amsmath.sty
+% \dimen@\ht\z@\advance\dimen@-\dp\z@
+% \setbox\@ne\hbox{$\m@th#1\mskip\uproot@ mu$}%
+% \advance\dimen@ by1.667\wd\@ne
+%% \mkern-\leftroot@ mu\mkern5mu\raise.6\dimen@\copy\rootbox
+% \mkern-\leftroot@ mu\mkern6mu\raise.68\dimen@\copy\rootbox
+%% \mkern-10mu\mkern\leftroot@ mu\boxz@}
+% \mkern-9mu\mkern\leftroot@ mu\boxz@}
+%\fi
%%% For \underbrace and \overbrace:
%%% use brace extension bar (in "20 of ntxexa) instead of vrule
@@ -1188,4 +1188,19 @@ amssymbols,uprightGreek}
\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
+\DeclareMathSizes{5} {5.5} {5.5} {5.5}
+\DeclareMathSizes{6} {6.5} {5.5} {5.5}
+\DeclareMathSizes{7} {7.3} {5.5} {5.5}
+\DeclareMathSizes{8} {8} {6.2} {5.5}
+\DeclareMathSizes{9} {9} {7.3} {5.5}
+\DeclareMathSizes{10} {10} {7.3} {5.5}
+\DeclareMathSizes{10.95}{10.95}{8} {6.1}
+\DeclareMathSizes{12} {12} {8.8} {6.6}
+\DeclareMathSizes{14.4} {14.4} {10.5} {7.9}
+\DeclareMathSizes{17.28}{17.28}{12.5} {9.4}
+\DeclareMathSizes{20.74}{20.74}{16.1} {11.4}
+\DeclareMathSizes{24.88}{24.88}{18.2}{13.7}
+
\endinput