diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/newtxtext.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index b5cf6eefcfa..18f9a7fa4d5 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty @@ -8,8 +8,8 @@ % Text is now directed to an extension of TeXGyreTermes rather than tx. % 2.0 is first version of newtxtext to support both [pdf]latex and unicode latex. -\def\fileversion{1.703} -\def\filedate{2022/01/04} +\def\fileversion{1.704} +\def\filedate{2022/01/09} \ProvidesPackage{newtxtext}[% \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyreTermesX] @@ -183,6 +183,7 @@ \DeclareOptionX{shrink}{% \def\ntx@shrink{#1} } +\def\ntx@thmshape{i} % other option is slanted \def\ntx@defaultfeatures{} \newif\ifntx@zeroslash \def\ntx@thmlin{X} % default is to not change to lining @@ -191,6 +192,7 @@ \DeclareOptionX{oldSS}{\advance\ntx@cnt 32 } \DeclareOptionX{slashedzero}{\ntx@zeroslashtrue} \DeclareOptionX{theoremfont}{\ntx@thrmtrue} +\DeclareOptionX{thmslshape}{\def\ntx@thmshape{s}} \DeclareOptionX{thmlining}{\edef\ntx@thmlin{l}} \DeclareOptionX{trueslanted}{\ntx@sltrue} \DeclareOptionX{scosf}{\ntx@scosftrue} @@ -202,7 +204,8 @@ \gdef\ntx@shrink{.1em}\def\ntx@nolo{F}} \ProcessOptionsX\relax -\ifntxotf \typeout{ntxotftrue^^J}\else\typeout{ntxotffalse^^J}\fi +%\ifntxotf \typeout{ntxotftrue^^J}\else\typeout{ntxotffalse^^J}\fi + \def\re@DeclareTextSymbol#1#2#3{% \let#1=\undefined \DeclareTextSymbol{#1}{#2}{#3}} @@ -366,8 +369,8 @@ RawFeature=-ss05 , \ntx@defaultfeatures , } - -\else % type1 + + \else % type1 \def\ntx@spacing{% \fontdimen2\font=\ntx@spc \fontdimen3\font=\ntx@stretch @@ -520,7 +523,7 @@ \hfil \raise .3ex\hbox{{% \normalfont {\scalefont{.6}\tlfstyle#1}}}% end hbox - \hfil \crcr \textbigcircle}% + \hfil \crcr {\usefont{TS1}{ntxtlf}{m}{n}\char"4F}}%\textbigcircle}% \egroup} \fi @@ -573,7 +576,7 @@ \let\ntx@sty\ntx@figurestyle \if l\ntx@thmlin\def\ntx@sty{Lining}\fi \newcommand{\thfamily}%{\@nameuse{ntx\ntx@figurestyle}% - {\itshape\addfontfeatures{% + {\@nameuse{\if i\ntx@thmshape itshape\else slshape\fi}\addfontfeatures{% Numbers={\ntx@figurealign,\ntx@sty} , RawFeature=+ss05} } % for theorems |