diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-31 22:45:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-31 22:45:32 +0000 |
commit | de77475851d7b580126fd8e0462aedd815ce19ba (patch) | |
tree | a469a23e0eef0eaa51212ca392f02c417a2177d6 /Master/texmf-dist/tex/latex/newpx | |
parent | 5bd60d90d4a1de506f6d2f4a17c8f05ed24843ca (diff) |
newpx (31jan17)
git-svn-id: svn://tug.org/texlive/trunk@43105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx')
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxtext.sty | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index b74a28dfdd5..df7c1a99baa 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty @@ -8,7 +8,7 @@ % 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.315} +\def\fileversion{1.316} \def\filedate{2017/01/30} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] @@ -143,18 +143,20 @@ %\AtEndPreamble{% \ifzpl@thrm - \RequirePackage{amsmath,amsthm} % in case of theoremfont - \newtheoremstyle{plain} - {\medskipamount} % ABOVESPACE, was \topset - {\medskipamount} % BELOWSPACE, was \topset - {\slshape} % BODYFONT--\slshape is defined to be \itshape with upright figures and punctuation - {} % INDENT (empty value is the same as 0pt) - {\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] - %\fi% + %\RequirePackage{amsmath,amsthm} % in case of theoremfont + \ifdefined\newtheoremstyle %amsthm and ntheorem, not theorem.sty + \@ifpackageloaded{ntheorem}\relax{% + \newtheoremstyle{plain} + {\medskipamount} % ABOVESPACE, was \topsep + {\medskipamount} % BELOWSPACE, was \topsep + {\slshape} % BODYFONT--\slshape is defined to be \itshape with upright figures and punctuation + {} % INDENT (empty value is the same as 0pt) + {\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] + } % end @ifpackageloaded + \fi% \fi%} %%%%%%%%%%%%%%%%%%%%%% |