diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx/newpxmath.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 74 |
1 files changed, 70 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index c8b2955c816..ff870121eb4 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty @@ -11,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.122} -\def\filedate{2014/04/04} +\def\fileversion{1.13} +\def\filedate{2014/06/25} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] \@ifundefined{newpxmathLoaded}{}{\endinput} @@ -35,7 +35,7 @@ \DeclareOption{varg}{\def\X@s@v@rg{}} \newcount\px@Isdigit \newif\ifpx@ams \newif\ifpx@slantedG \newif\ifpx@cmint \newif\ifpx@braces -\newif\ifpx@varbb \newif\ifpx@vvarbb \newif\ifpx@symbolsC \newif\ifpx@bigdelims +\newif\ifpx@varbb \newif\ifpx@vvarbb \newif\ifpx@symbolsC \newif\ifpx@bigdelims \newif\ifpx@frenchm % french math \px@symbolsCtrue \DeclareOption{bigdelims}{\px@bigdelimstrue} \DeclareOption{varbb}{\px@varbbtrue} @@ -47,10 +47,13 @@ \DeclareOption{amssymbols}{\px@amstrue} \DeclareOption{uprightGreek}{\px@slantedGfalse} \DeclareOption{slantedGreek}{\px@slantedGtrue} +\DeclareOption{frenchmath}{\px@frenchmtrue} \ExecuteOptions{% amssymbols,uprightGreek} \ProcessOptions* +% frenchmath implies uprightGreek +\ifpx@frenchm\px@slantedGfalse\fi %bigdelims cancels cmbraces \ifpx@bigdelims\px@bracesfalse\fi % Use existing text fonts for operators, mathrm, etc @@ -529,11 +532,14 @@ $\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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -776,12 +782,14 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \ifpx@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} @@ -1121,6 +1129,64 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \let\upvarkappa\varkappaup % the mathgroup of lettersA is stored in macro \symlettersA +\ifpx@frenchm + \let\alpha\alphaup + \let\beta\betaup + \let\gamma\gammaup + \let\delta\deltaup + \let\epsilon\epsilonup + \let\zeta\zetaup + \let\eta\etaup + \let\theta\thetaup + \let\iota\iotaup + \let\kappa\kappaup + \let\lambda\lambdaup + \let\mu\muup + \let\nu\nuup + \let\xi\xiup + \let\pi\piup + \let\rho\rhoup + \let\sigma\sigmaup + \let\tau\tauup + \let\upsilon\upsilonup + \let\phi\phiup + \let\chi\chiup + \let\psi\psiup + \let\omega\omegaup + \let\varepsilon\varepsilonup + \let\vartheta\varthetaup + \let\varpi\varpiup + \let\varrho\varrhoup + \let\varsigma\varsigmaup + \let\varphi\varphiup + \DeclareMathSymbol{A}{\mathalpha}{operators}{65} + \DeclareMathSymbol{B}{\mathalpha}{operators}{66} + \DeclareMathSymbol{C}{\mathalpha}{operators}{67} + \DeclareMathSymbol{D}{\mathalpha}{operators}{68} + \DeclareMathSymbol{E}{\mathalpha}{operators}{69} + \DeclareMathSymbol{F}{\mathalpha}{operators}{70} + \DeclareMathSymbol{G}{\mathalpha}{operators}{71} + \DeclareMathSymbol{H}{\mathalpha}{operators}{72} + \DeclareMathSymbol{I}{\mathalpha}{operators}{73} + \DeclareMathSymbol{J}{\mathalpha}{operators}{74} + \DeclareMathSymbol{K}{\mathalpha}{operators}{75} + \DeclareMathSymbol{L}{\mathalpha}{operators}{76} + \DeclareMathSymbol{M}{\mathalpha}{operators}{77} + \DeclareMathSymbol{N}{\mathalpha}{operators}{78} + \DeclareMathSymbol{O}{\mathalpha}{operators}{79} + \DeclareMathSymbol{P}{\mathalpha}{operators}{80} + \DeclareMathSymbol{Q}{\mathalpha}{operators}{81} + \DeclareMathSymbol{R}{\mathalpha}{operators}{82} + \DeclareMathSymbol{S}{\mathalpha}{operators}{83} + \DeclareMathSymbol{T}{\mathalpha}{operators}{84} + \DeclareMathSymbol{U}{\mathalpha}{operators}{85} + \DeclareMathSymbol{V}{\mathalpha}{operators}{86} + \DeclareMathSymbol{W}{\mathalpha}{operators}{87} + \DeclareMathSymbol{X}{\mathalpha}{operators}{88} + \DeclareMathSymbol{Y}{\mathalpha}{operators}{89} + \DeclareMathSymbol{Z}{\mathalpha}{operators}{90} +\fi + \re@DeclareMathSymbol{\varg}{\mathord}{lettersA}{49} \DeclareMathSymbol{\uppartial}{\mathord}{lettersA}{64} |