diff options
author | Karl Berry <karl@freefriends.org> | 2013-10-19 22:39:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-10-19 22:39:13 +0000 |
commit | 029e1cf653d4e4a38b8c8297283655ad807d7600 (patch) | |
tree | 4e0a69810b0f092bb780bc2f07d140cba354b755 /Master/texmf-dist/tex/latex/newpx/newpxtext.sty | |
parent | 89b2ebca12f7c21e65f7d13976b1c114afc98062 (diff) |
newpx (19oct13)
git-svn-id: svn://tug.org/texlive/trunk@31949 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.sty | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index 8336a225f53..24a197e2347 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty @@ -8,17 +8,20 @@ % 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.05} -\def\filedate{2013/09/30} +\def\fileversion{1.051} +\def\filedate{2013/10/18} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] \message{`newpxtext' v\fileversion, \filedate\space Text macros based on pxfonts (msharpe)} -%\RequirePackage{fontaxes}% so we can have [bold] italic small caps +\RequirePackage{fontaxes}% so we can have [bold] italic small caps \let\orig@footnote=\thefootnote \let\orig@makefnmark=\@makefnmark \RequirePackage{xkeyval} \def\zpl@helvscaled{s*[.93]} +\newif\ifzpl@defaultsups +\define@boolkey{zpl}{defaultsups}[true]{% +\csname zpl@defaultsups#1\endcsname} \define@key{zpl}{scaled}[1.0]{\def\zpl@scaled{s*[#1]}% \@tempdima=#1\p@\@tempdima=.93\@tempdima% \def\zpl@helvscaled{s*[\strip@pt\@tempdima]}} @@ -40,7 +43,21 @@ \not@math@alphabet\sustyle\relax \fontfamily{zpl1}\selectfont} -\def\@makefnmark{\ifx \thefootnote\orig@footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig@makefnmark\fi} +%\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*{.04em}\@thefnmark} + \else% + \orig@makefnmark + \fi + \else% + \orig@makefnmark + \fi} +\fi %%%%%%%%%%%%%%%%%%%%%% % Text Serif (TGPagellaX) % |