diff options
author | Karl Berry <karl@freefriends.org> | 2015-07-11 22:21:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-07-11 22:21:10 +0000 |
commit | ebbd61ac629a2b9c128cb5b28d5875aded3af489 (patch) | |
tree | 9597d056ba6a94611fef9ba4e9cdd71cc7f6f54a /Master/texmf-dist/tex/latex/newpx | |
parent | 169f36cf85710819b29b10a3f1f2943b6282b437 (diff) |
newpx (11jul15)
git-svn-id: svn://tug.org/texlive/trunk@37838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx')
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 147 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxtext.sty | 4 |
2 files changed, 96 insertions, 55 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index 9e711635c4d..5f40bd68152 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.26} -\def\filedate{2015/07/04} +\def\fileversion{1.27} +\def\filedate{2015/07/09} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] \@ifundefined{newpxmathLoaded}{}{\endinput} @@ -24,6 +24,7 @@ \RequirePackage{amsmath} % for better \left \def\ly@one{LY1} \def\t@one{T1} +\def\ot@one{OT1} \input{binhex} \RequirePackage{xkeyval} @@ -59,16 +60,16 @@ amssymbols,uprightGreek} %bigdelims cancels cmbraces \ifpx@bigdelims\px@bracesfalse\fi % Use existing text fonts for operators, mathrm, etc -\DeclareSymbolFont{operators}{\encodingdefault}{\rmdefault}{m}{n} -\SetSymbolFont{operators}{bold}{\encodingdefault}{\rmdefault}{b}{n} +\DeclareSymbolFont{operators}{OT1}{\rmdefault}{m}{n} +\SetSymbolFont{operators}{bold}{OT1}{\rmdefault}{b}{n} \def\operator@font{\mathgroup\symoperators} \DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n} -\DeclareMathAlphabet{\mathit}{\encodingdefault}{\rmdefault}{m}{it} +\DeclareMathAlphabet{\mathit}{OT1}{\rmdefault}{m}{it} \DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n} \DeclareSymbolFontAlphabet{\mathrm}{operators} -\DeclareMathAlphabet{\mathbf}{\encodingdefault}{\rmdefault}{b}{n} -\SetMathAlphabet{\mathit}{bold}{\encodingdefault}{\rmdefault}{b}{it} +\DeclareMathAlphabet{\mathbf}{OT1}{\rmdefault}{b}{n} +\SetMathAlphabet{\mathit}{bold}{OT1}{\rmdefault}{b}{it} \SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n} \SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{b}{n} @@ -303,23 +304,23 @@ amssymbols,uprightGreek} %\DeclareMathAccent{\dot}{\mathalpha}{operators}{95} %\DeclareMathAccent{\tilde}{\mathalpha}{operators}{126} %\DeclareMathAccent{\ddot}{\mathalpha}{operators}{127} -\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 +%\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 % \ifpx@slantedG \re@DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} @@ -1066,35 +1067,35 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \re@DeclareMathSymbol{\Phiup}{\mathalpha}{lettersA}{8} \re@DeclareMathSymbol{\Psiup}{\mathalpha}{lettersA}{9} \re@DeclareMathSymbol{\Omegaup}{\mathalpha}{lettersA}{10} -\re@DeclareMathSymbol{\alphaup}{\mathalpha}{lettersA}{11} -\re@DeclareMathSymbol{\betaup}{\mathalpha}{lettersA}{12} -\re@DeclareMathSymbol{\gammaup}{\mathalpha}{lettersA}{13} -\re@DeclareMathSymbol{\deltaup}{\mathalpha}{lettersA}{14} -\re@DeclareMathSymbol{\epsilonup}{\mathalpha}{lettersA}{15} -\re@DeclareMathSymbol{\zetaup}{\mathalpha}{lettersA}{16} -\re@DeclareMathSymbol{\etaup}{\mathalpha}{lettersA}{17} -\re@DeclareMathSymbol{\thetaup}{\mathalpha}{lettersA}{18} -\re@DeclareMathSymbol{\iotaup}{\mathalpha}{lettersA}{19} -\re@DeclareMathSymbol{\kappaup}{\mathalpha}{lettersA}{20} -\re@DeclareMathSymbol{\lambdaup}{\mathalpha}{lettersA}{21} -\re@DeclareMathSymbol{\muup}{\mathalpha}{lettersA}{22} -\re@DeclareMathSymbol{\nuup}{\mathalpha}{lettersA}{23} -\re@DeclareMathSymbol{\xiup}{\mathalpha}{lettersA}{24} -\re@DeclareMathSymbol{\piup}{\mathalpha}{lettersA}{25} -\re@DeclareMathSymbol{\rhoup}{\mathalpha}{lettersA}{26} -\re@DeclareMathSymbol{\sigmaup}{\mathalpha}{lettersA}{27} -\re@DeclareMathSymbol{\tauup}{\mathalpha}{lettersA}{28} -\re@DeclareMathSymbol{\upsilonup}{\mathalpha}{lettersA}{29} -\re@DeclareMathSymbol{\phiup}{\mathalpha}{lettersA}{30} -\re@DeclareMathSymbol{\chiup}{\mathalpha}{lettersA}{31} -\re@DeclareMathSymbol{\psiup}{\mathalpha}{lettersA}{32} -\re@DeclareMathSymbol{\omegaup}{\mathalpha}{lettersA}{33} -\re@DeclareMathSymbol{\varepsilonup}{\mathalpha}{lettersA}{34} -\re@DeclareMathSymbol{\varthetaup}{\mathalpha}{lettersA}{35} -\re@DeclareMathSymbol{\varpiup}{\mathalpha}{lettersA}{36} -\re@DeclareMathSymbol{\varrhoup}{\mathalpha}{lettersA}{37} -\re@DeclareMathSymbol{\varsigmaup}{\mathalpha}{lettersA}{38} -\re@DeclareMathSymbol{\varphiup}{\mathalpha}{lettersA}{39} +\re@DeclareMathSymbol{\alphaup}{\mathord}{lettersA}{11} +\re@DeclareMathSymbol{\betaup}{\mathord}{lettersA}{12} +\re@DeclareMathSymbol{\gammaup}{\mathord}{lettersA}{13} +\re@DeclareMathSymbol{\deltaup}{\mathord}{lettersA}{14} +\re@DeclareMathSymbol{\epsilonup}{\mathord}{lettersA}{15} +\re@DeclareMathSymbol{\zetaup}{\mathord}{lettersA}{16} +\re@DeclareMathSymbol{\etaup}{\mathord}{lettersA}{17} +\re@DeclareMathSymbol{\thetaup}{\mathord}{lettersA}{18} +\re@DeclareMathSymbol{\iotaup}{\mathord}{lettersA}{19} +\re@DeclareMathSymbol{\kappaup}{\mathord}{lettersA}{20} +\re@DeclareMathSymbol{\lambdaup}{\mathord}{lettersA}{21} +\re@DeclareMathSymbol{\muup}{\mathord}{lettersA}{22} +\re@DeclareMathSymbol{\nuup}{\mathord}{lettersA}{23} +\re@DeclareMathSymbol{\xiup}{\mathord}{lettersA}{24} +\re@DeclareMathSymbol{\piup}{\mathord}{lettersA}{25} +\re@DeclareMathSymbol{\rhoup}{\mathord}{lettersA}{26} +\re@DeclareMathSymbol{\sigmaup}{\mathord}{lettersA}{27} +\re@DeclareMathSymbol{\tauup}{\mathord}{lettersA}{28} +\re@DeclareMathSymbol{\upsilonup}{\mathord}{lettersA}{29} +\re@DeclareMathSymbol{\phiup}{\mathord}{lettersA}{30} +\re@DeclareMathSymbol{\chiup}{\mathord}{lettersA}{31} +\re@DeclareMathSymbol{\psiup}{\mathord}{lettersA}{32} +\re@DeclareMathSymbol{\omegaup}{\mathord}{lettersA}{33} +\re@DeclareMathSymbol{\varepsilonup}{\mathord}{lettersA}{34} +\re@DeclareMathSymbol{\varthetaup}{\mathord}{lettersA}{35} +\re@DeclareMathSymbol{\varpiup}{\mathord}{lettersA}{36} +\re@DeclareMathSymbol{\varrhoup}{\mathord}{lettersA}{37} +\re@DeclareMathSymbol{\varsigmaup}{\mathord}{lettersA}{38} +\re@DeclareMathSymbol{\varphiup}{\mathord}{lettersA}{39} % and, for compatability with other packages (mtpro2, lucida, etc) \let\upGamma\Gammaup \let\upDelta\Deltaup @@ -1197,6 +1198,46 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \DeclareMathSymbol{Y}{\mathalpha}{operators}{89} \DeclareMathSymbol{Z}{\mathalpha}{operators}{90} \fi +\re@DeclareMathSymbol{\Gammait}{\mathalpha}{letters}{0} +\re@DeclareMathSymbol{\Deltait}{\mathalpha}{letters}{1} +\re@DeclareMathSymbol{\Thetait}{\mathalpha}{letters}{2} +\re@DeclareMathSymbol{\Lambdait}{\mathalpha}{letters}{3} +\re@DeclareMathSymbol{\Xiit}{\mathalpha}{letters}{4} +\re@DeclareMathSymbol{\Piit}{\mathalpha}{letters}{5} +\re@DeclareMathSymbol{\Sigmait}{\mathalpha}{letters}{6} +\re@DeclareMathSymbol{\Upsilonit}{\mathalpha}{letters}{7} +\re@DeclareMathSymbol{\Phiit}{\mathalpha}{letters}{8} +\re@DeclareMathSymbol{\Psiit}{\mathalpha}{letters}{9} +\re@DeclareMathSymbol{\Omegait}{\mathalpha}{letters}{10} +\re@DeclareMathSymbol{\alphait}{\mathord}{letters}{11} +\re@DeclareMathSymbol{\betait}{\mathord}{letters}{12} +\re@DeclareMathSymbol{\gammait}{\mathord}{letters}{13} +\re@DeclareMathSymbol{\deltait}{\mathord}{letters}{14} +\re@DeclareMathSymbol{\epsilonit}{\mathord}{letters}{15} +\re@DeclareMathSymbol{\zetait}{\mathord}{letters}{16} +\re@DeclareMathSymbol{\etait}{\mathord}{letters}{17} +\re@DeclareMathSymbol{\thetait}{\mathord}{letters}{18} +\re@DeclareMathSymbol{\iotait}{\mathord}{letters}{19} +\re@DeclareMathSymbol{\kappait}{\mathord}{letters}{20} +\re@DeclareMathSymbol{\lambdait}{\mathord}{letters}{21} +\re@DeclareMathSymbol{\muit}{\mathord}{letters}{22} +\re@DeclareMathSymbol{\nuit}{\mathord}{letters}{23} +\re@DeclareMathSymbol{\xiit}{\mathord}{letters}{24} +\re@DeclareMathSymbol{\piit}{\mathord}{letters}{25} +\re@DeclareMathSymbol{\rhoit}{\mathord}{letters}{26} +\re@DeclareMathSymbol{\sigmait}{\mathord}{letters}{27} +\re@DeclareMathSymbol{\tauit}{\mathord}{letters}{28} +\re@DeclareMathSymbol{\upsilonit}{\mathord}{letters}{29} +\re@DeclareMathSymbol{\phiit}{\mathord}{letters}{30} +\re@DeclareMathSymbol{\chiit}{\mathord}{letters}{31} +\re@DeclareMathSymbol{\psiit}{\mathord}{letters}{32} +\re@DeclareMathSymbol{\omegait}{\mathord}{letters}{33} +\re@DeclareMathSymbol{\varepsilonit}{\mathord}{letters}{34} +\re@DeclareMathSymbol{\varthetait}{\mathord}{letters}{35} +\re@DeclareMathSymbol{\varpiit}{\mathord}{letters}{36} +\re@DeclareMathSymbol{\varrhoit}{\mathord}{letters}{37} +\re@DeclareMathSymbol{\varsigmait}{\mathord}{letters}{38} +\re@DeclareMathSymbol{\varphiit}{\mathord}{letters}{39} \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 661e204b21f..b429189bc07 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 an extension of TeXGyrePagella rather than ppl. -\def\fileversion{1.26} -\def\filedate{2015/07/04} +\def\fileversion{1.27} +\def\filedate{2015/07/10} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] \message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)} |