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.sty54
1 files changed, 35 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index 2713a926e47..62375bd05f8 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.221}
-\def\filedate{2014/02/12}
+\def\fileversion{1.24}
+\def\filedate{2014/03/11}
\ProvidesPackage{newtxmath}
[\filedate\space v\fileversion]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -344,25 +344,36 @@ amssymbols,uprightGreek}
%\DeclareMathAccent{\dot}{\mathalpha}{operators}{95}
%\DeclareMathAccent{\tilde}{\mathalpha}{operators}{126}
%\DeclareMathAccent{\ddot}{\mathalpha}{operators}{127}
+\re@DeclareMathAccent{\grave}{\mathalpha}{lettersA}{254}
+\re@DeclareMathAccent{\acute}{\mathalpha}{lettersA}{255}
+\re@DeclareMathAccent{\check}{\mathalpha}{lettersA}{186}
+\re@DeclareMathAccent{\breve}{\mathalpha}{lettersA}{187}
+\re@DeclareMathAccent{\bar}{\mathalpha}{lettersA}{221}
+\re@DeclareMathAccent{\mathring}{\mathalpha}{lettersA}{222}
+\re@DeclareMathAccent{\hat}{\mathalpha}{lettersA}{223}
+\re@DeclareMathAccent{\dot}{\mathalpha}{lettersA}{224}
+\re@DeclareMathAccent{\tilde}{\mathalpha}{lettersA}{219}
+\re@DeclareMathAccent{\ddot}{\mathalpha}{lettersA}{220}
+
\def\ly@one{LY1}
\def\t@one{T1}
-\ifx\encodingdefault\t@one%
- \re@DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
- \re@DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
- \re@DeclareMathAccent{\check}{\mathalpha}{operators}{7}
- \re@DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
- \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
- \re@DeclareMathAccent{\mathring}{\mathalpha}{operators}{6}
- \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
- \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
- \re@DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
- \re@DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
-\else\ifx\encodingdefault\ly@one
- \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{175}
- \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
- \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
+%\ifx\encodingdefault\t@one%
+% \re@DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
+% \re@DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
+% \re@DeclareMathAccent{\check}{\mathalpha}{operators}{7}
+% \re@DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
+% \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
+% \re@DeclareMathAccent{\mathring}{\mathalpha}{operators}{6}
+% \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
+% \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
+% \re@DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
+% \re@DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
+%\else\ifx\encodingdefault\ly@one
+% \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{175}
+% \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
+% \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
% \DeclareMathAccent{\tilde}{\mathalpha}{operators}{152}
-\fi\fi
+%\fi\fi
%
\iftx@slantedG
\re@DeclareMathSymbol{\Gamma}{\mathord}{letters}{0}
@@ -608,10 +619,13 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\def\upgroupfillla{$\m@th%
\grouplua\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\groupru$}
-
% Place a ring over an overgroup symbol, like yhmath \widering
\newcommand{\widering}[1]{\overset{\smash{\vbox to .2ex{%
\hbox{$\mathring{}$}}}}{\overgroup{#1}}}
+
+% \widearc, \wideOarc
+\DeclareMathAccent{\widearc}{\mathalpha}{largesymbols}{175}
+\DeclareMathAccent{\wideOarc}{\mathalpha}{largesymbols}{180}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbol A Definitions % AMSa
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -854,12 +868,14 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\iftx@symbolsC
\re@DeclareMathSymbol{\mappedfromchar}{\mathrel}{symbolsC}{0}
\def\mappedfrom{\leftarrow\mappedfromchar}
+ \let\mapsfrom\mappedfrom
\def\longmappedfrom{\longleftarrow\mappedfromchar}
\re@DeclareMathSymbol{\Mapstochar}{\mathrel}{symbolsC}{1}
\def\Mapsto{\Mapstochar\Rightarrow}
\def\Longmapsto{\Mapstochar\Longrightarrow}
\re@DeclareMathSymbol{\Mappedfromchar}{\mathrel}{symbolsC}{2}
\def\Mappedfrom{\Leftarrow\Mappedfromchar}
+ \let\Mapsfrom\Mappedfrom
\def\Longmappedfrom{\Longleftarrow\Mappedfromchar}
\re@DeclareMathSymbol{\mmapstochar}{\mathrel}{symbolsC}{3}
\def\mmapsto{\mmapstochar\rightarrow}