summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-26 21:38:38 +0000
committerKarl Berry <karl@freefriends.org>2014-06-26 21:38:38 +0000
commit1c5beb1d203e923164ba90ff299590076e4458e5 (patch)
tree01c09b38caba55e73a12b63a16ae423e8b5b69ef /Master/texmf-dist/tex/latex/newpx
parentfa270934a06684f332679e4d5d35972734403b36 (diff)
newpx (26jun14)
git-svn-id: svn://tug.org/texlive/trunk@34431 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxmath.sty74
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty4
2 files changed, 72 insertions, 6 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}
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
index b66f0bb3ade..be50704ade9 100644
--- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
+++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
@@ -8,8 +8,8 @@
% Modified the definition of \k to bypass problem with grouping.
% Text is now directed to a small modification of TeXGyrePagella rather than ppl.
-\def\fileversion{1.122}
-\def\filedate{2014/04/04}
+\def\fileversion{1.13}
+\def\filedate{2014/06/25}
\ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
\message{`newpxtext' v\fileversion, \filedate\space Text macros based on pxfonts (msharpe)}