diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/newtxtext.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index bc9e52d7b77..49f5c4bbc4e 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} -\def\fileversion{1.516} +\def\fileversion{1.517} \def\filedate{2017/01/30} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] @@ -126,17 +126,20 @@ }% to get sup style \ifntx@thrm - \RequirePackage{amsmath,amsthm} % in case of theoremfont - \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] - %\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 %\DeclareTextFontCommand{\textsu}{\sustyle} %\def\@makefnmark{\ifx \thefootnote\orig@footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig@makefnmark\fi} |