From 0d21d2e5515bdeb022e32adf30afebdf4b229866 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 4 Jun 2017 23:49:32 +0000 Subject: newpx (1jun17) git-svn-id: svn://tug.org/texlive/trunk@44457 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 10 +++++++-- Master/texmf-dist/tex/latex/newpx/newpxtext.sty | 30 +++++++++++++++---------- 2 files changed, 26 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/tex/latex/newpx') diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index e38c3a06e55..29f408e04f0 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.317} -\def\filedate{2017/02/12} +\def\fileversion{1.32} +\def\filedate{2017/05/31} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] %\@ifundefined{newpxmathLoaded}{}{\endinput} @@ -315,6 +315,12 @@ amssymbols,uprightGreek} %\DeclareMathAccent{\dot}{\mathalpha}{operators}{95} %\DeclareMathAccent{\tilde}{\mathalpha}{operators}{126} %\DeclareMathAccent{\ddot}{\mathalpha}{operators}{127} +\re@DeclareMathAccent{\hat}{\mathalpha}{symbols}{198} +\re@DeclareMathAccent{\grave}{\mathalpha}{symbols}{199} +\re@DeclareMathAccent{\acute}{\mathalpha}{symbols}{200} +\re@DeclareMathAccent{\breve}{\mathalpha}{symbols}{201} +\re@DeclareMathAccent{\check}{\mathalpha}{symbols}{202} +\DeclareMathSymbol{\transp}{\mathord}{symbols}{203} \re@DeclareMathAccent{\dot}{\mathalpha}{symbols}{219} \re@DeclareMathAccent{\ddot}{\mathalpha}{symbols}{220} \re@DeclareMathAccent{\dddot}{\mathord}{symbols}{221} diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index 3d6b077a6c2..6db4282c577 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.318} -\def\filedate{2017/03/11} +\def\fileversion{1.319} +\def\filedate{2017/05/28} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] \message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)} @@ -25,6 +25,9 @@ \@onlypreamble\useproportional \newif\ifzpl@defaultsups +\newif\ifzpl@KOMA +\@ifundefined{KOMAClassName}{}{\zpl@KOMAtrue} +\@ifundefined{ver@scrextend.sty}{}{\zpl@KOMAtrue} \newif\ifzpl@adobesc % we don't use this exc. in fd, but may in future \newif\ifzpl@scosf \newif\ifzpl@largesc @@ -89,20 +92,23 @@ \not@math@alphabet\sustyle\relax \fontfamily{zplsups}\selectfont} -%\def\@makefnmark{\ifx \thefootnote\orig@footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig@makefnmark\fi} \ifzpl@defaultsups % \else - \def\f@@tn@te{footnote} - \def\@makefnmark{% - \ifx\@mpfn\f@@tn@te% - \ifx\thefootnote\orig@footnote% - \hbox{\sustyle\hspace*{.05em}\@thefnmark\hspace*{.05em}}% + \ifzpl@KOMA + \let\textsuperscript\sustyle + \else + \def\f@@tn@te{footnote} + \def\@makefnmark{% + \ifx\@mpfn\f@@tn@te% + \ifx\thefootnote\orig@footnote% + \hbox{\sustyle\hspace*{.05em}\@thefnmark\hspace*{.05em}}% + \else% + \orig@makefnmark% + \fi \else% \orig@makefnmark% - \fi - \else% - \orig@makefnmark% - \fi} + \fi}% + \fi \fi \ifzpl@scosf % \DeclareRobustCommand{\textsc}[1]{% -- cgit v1.2.3