diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-04 23:50:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-04 23:50:01 +0000 |
commit | 06bdf39cb22e68650de215aef8bf137ca7ce5366 (patch) | |
tree | fa5ae929aaef7c1dd929819e235fd6f89ea4a7e1 /Master/texmf-dist/tex/latex/newtx/newtxtext.sty | |
parent | 0d21d2e5515bdeb022e32adf30afebdf4b229866 (diff) |
newtx (1jun17)
git-svn-id: svn://tug.org/texlive/trunk@44458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/newtxtext.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index a476d66b5f5..6c9df4ed4a2 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e} -\def\fileversion{1.521} -\def\filedate{2017/03/11} +\def\fileversion{1.523} +\def\filedate{2017/05/28} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] \message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)} @@ -21,6 +21,9 @@ \def\ntx@figurestyle{lf}% default is lining figure style \def\ntx@figurealign{t}% default is tabular figure alignment \newif\ifntx@defaultsups +\newif\ifntx@KOMA +\@ifundefined{KOMAClassName}{}{\ntx@KOMAtrue} +\@ifundefined{ver@scrextend.sty}{}{\ntx@KOMAtrue} \newif\ifntx@adobesc \newif\ifntx@scosf \newif\ifntx@largesc @@ -28,6 +31,7 @@ %\ifdefined\bbl@version \ntx@babeltrue\fi \define@boolkey{ntx}{defaultsups}[true]{% \csname ntx@defaultsups#1\endcsname} + \define@boolkey{ntx}{largesc}[true]{% \csname ntx@largesc#1\endcsname} \define@boolkey{ntx}{adobesc}[true]{% @@ -143,22 +147,27 @@ \fi %\DeclareTextFontCommand{\textsu}{\sustyle} %\def\@makefnmark{\ifx \thefootnote\orig@footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig@makefnmark\fi} + \ifntx@defaultsups % \else - \def\f@@tn@te{footnote} - \def\@makefnmark{% - \ifx\@mpfn\f@@tn@te% footnote not in a minipage - \ifx\thefootnote\orig@footnote% - \hbox{\sustyle\hspace*{.04em}\@thefnmark\hspace*{.03em}}% - \else% - \orig@makefnmark% - \fi - \else% footnote in a minipage + \ifntx@KOMA % + \let\textsuperscript\sustyle + \else + \def\f@@tn@te{footnote} + \def\@makefnmark{% + \ifx\@mpfn\f@@tn@te% footnote not in a minipage + \ifx\thefootnote\orig@footnote% + \hbox{\sustyle\hspace*{.04em}\@thefnmark\hspace*{.03em}}% + \else% + \orig@makefnmark% + \fi + \else% footnote in a minipage % \ntx@fs=\f@size\p@ % \ntx@fs=1.05\ntx@fs %\hbox{{\itshape\sustyle\fontsize{\strip@pt\ntx@fs}{12}\selectfont \@thefnmark\hspace*{.1em}}}% - \orig@makefnmark% - \fi} + \orig@makefnmark% + \fi}% + \fi \fi %%%%%%%%%%%%%%%%%%%%%% |