summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-30 23:30:49 +0000
committerKarl Berry <karl@freefriends.org>2017-01-30 23:30:49 +0000
commitff65a27ebe677247f26e1c6f4b82056716ef75aa (patch)
treec5215bdf65b5d7a65251f9c5de23ff4937cf183e
parentd137b351bcbb9f146bea8faf053d43d66c18fec4 (diff)
newpx (30jan17)
git-svn-id: svn://tug.org/texlive/trunk@43093 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/README5
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty10
2 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README
index 8ab38a3f3e6..85331b44a28 100644
--- a/Master/texmf-dist/doc/fonts/newpx/README
+++ b/Master/texmf-dist/doc/fonts/newpx/README
@@ -1,10 +1,13 @@
This package, based initially on pxfonts, provides many fixes and enhancements to that package, splitting it in two parts---newpxtext and newpxmath---which may be run independently of one another. It provides scaling, improved metrics, and other options. For proper operation, the packages require that the packages newtxmath, pxfonts and TeXGyrePagella be installed and their map files enabled. The text package now relies on an extension of the TeXGyrePagella Type1 fonts that is provided with this package. The accompanying MANIFEST-newpx.txt provides details of the extension as requested by GUST-FONT-LICENSE.txt
-Current version: 1.314 2017-01-26
+Current version: 1.315 2017-01-30
This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3
for the details of that license.
+Changes in version 1.315
+Changed newpxtext.sty so amsthm not loaded unless option theoremfont is specified. (Thanks Claudio Marsan.)
+
Changes in version 1.314
Removed a stray { in newpxtext.sty. (Thanks Enrico Gregorio.)
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
index 5ae63a8aa38..b74a28dfdd5 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.314}
-\def\filedate{2017/01/26}
+\def\fileversion{1.315}
+\def\filedate{2017/01/30}
\ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
\message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)}
@@ -18,7 +18,6 @@
\let\orig@footnote=\thefootnote
\let\orig@makefnmark=\@makefnmark
\RequirePackage{xkeyval,etoolbox}
-\RequirePackage{amsmath,amsthm} % in case of theoremfont
\renewcommand*{\rmdefault}{zpltlf} % the default until end of preamble
\def\useosf{\edef\zpl@figurestyle{osf}}
\@onlypreamble\useosf
@@ -144,7 +143,7 @@
%\AtEndPreamble{%
\ifzpl@thrm
- %\ifdefined\newtheoremstyle
+ \RequirePackage{amsmath,amsthm} % in case of theoremfont
\newtheoremstyle{plain}
{\medskipamount} % ABOVESPACE, was \topset
{\medskipamount} % BELOWSPACE, was \topset
@@ -153,7 +152,8 @@
{\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection
{.} % HEADPUNCT
{5pt plus 1pt minus 1pt} % HEADSPACE
- {} % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section]
+ {} % CUSTOM-HEAD-SPEC
+ %\newtheorem{thm}{Theorem}[section]
%\fi%
\fi%}