summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx/newpxtext.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
index d182289d342..776533b9749 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.321}
-\def\filedate{2017/08/18}
+\def\fileversion{1.415}
+\def\filedate{2021/03/22}
\ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
\message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)}
@@ -31,6 +31,7 @@
\newif\ifzpl@adobesc % we don't use this exc. in fd, but may in future
\newif\ifzpl@scosf
\newif\ifzpl@largesc
+\newif\ifzpl@helv \zpl@helvtrue % deefault is to load helvetica as sans serif font
%\newif\ifzpl@babel
%\ifdefined\bbl@tempa \zpl@babeltrue\fi
\define@key{zpl}{babel}[true]{\relax}% for backward compatibility
@@ -51,6 +52,7 @@
\define@key{zpl}{stretch}[.2em]{\gdef\zpl@stretch{#1}}
\define@key{zpl}{shrink}[.1em]{\gdef\zpl@shrink{#1}}
+\DeclareOption{nohelv}{\zpl@helvfalse}
\DeclareOption{lining}{\edef\zpl@figurestyle{lf}}
\DeclareOption{lf}{\edef\zpl@figurestyle{lf}}
\DeclareOption{theoremfont}{\zpl@thrmtrue}
@@ -177,7 +179,7 @@
%\renewcommand*{\sfdefault}{npxss}
-\renewcommand*{\sfdefault}{qhv}
+\ifzpl@helv\renewcommand*{\sfdefault}{qhv}\fi
%\show\qhv@scale
%\show\zpl@helvratio