diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-31 03:01:42 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-31 03:01:42 +0000 |
commit | bf3e5a0ef8f4536286b8606775c8d34fd9840b18 (patch) | |
tree | 6cd7f3919b0ae4fa43995c3fd721346e2eb03c7e /fonts/newpx/tex/newpxtext.sty | |
parent | 7ee4987532f1c1d25e5a2683ae21b7c298d103b5 (diff) |
CTAN sync 202201310301
Diffstat (limited to 'fonts/newpx/tex/newpxtext.sty')
-rw-r--r-- | fonts/newpx/tex/newpxtext.sty | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fonts/newpx/tex/newpxtext.sty b/fonts/newpx/tex/newpxtext.sty index ba838af3fd..046df984b0 100644 --- a/fonts/newpx/tex/newpxtext.sty +++ b/fonts/newpx/tex/newpxtext.sty @@ -8,8 +8,8 @@ % Text is now directed to an extension of TeXGyrePagella rather than ppl. % 1.5 is first version of newpxtext to support both [pdf]latex and unicode latex. -\def\fileversion{1.503} -\def\filedate{2021/12/09} +\def\fileversion{1.504} +\def\filedate{2022/01/30} \ProvidesPackage{newpxtext}[% \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyrePagellaX] @@ -560,8 +560,10 @@ } %both \ifzpl@thrm - \theoremstyle{plain} - \patchcmd{\th@plain}{\itshape}{\thfamily}{\message{Replaced itshape by thfamily in theorem style plain.}}{\message{Unable to replace itshape by thfamily in theorem style plain.}} + \@ifundefined{theoremstyle}{}{ + \theoremstyle{plain} + \patchcmd{\th@plain}{\itshape}{\thfamily}{\message{Replaced itshape by thfamily in theorem style plain.}}{\message{Unable to replace itshape by thfamily in theorem style plain.}} +} \fi % Define \oldstylenums, \liningnums ,\tabularnums and \proportionalnums |