summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-04 23:49:32 +0000
committerKarl Berry <karl@freefriends.org>2017-06-04 23:49:32 +0000
commit0d21d2e5515bdeb022e32adf30afebdf4b229866 (patch)
treecd3433dbd4e3f5346c684b76b2fea8d4b408fa13 /Master/texmf-dist/tex/latex/newpx/newpxtext.sty
parent6308a28c98e8070b0e12ca3598864c94cd2d4428 (diff)
newpx (1jun17)
git-svn-id: svn://tug.org/texlive/trunk@44457 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx/newpxtext.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty30
1 files changed, 18 insertions, 12 deletions
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]{%