diff options
author | Karl Berry <karl@freefriends.org> | 2013-10-18 23:20:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-10-18 23:20:07 +0000 |
commit | b4775ec0da5d48800a6abad06e41a68fbe420292 (patch) | |
tree | e9536ccc52a74b7da774a4a5c0d5f7ba805265da /Master | |
parent | d6adda9b74f9be5ffc3757b5e00b781d64a4ebc4 (diff) |
newtx (18oct13)
git-svn-id: svn://tug.org/texlive/trunk@31942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtx/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf | bin | 459756 -> 460597 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxmath.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtx/newtxtext.sty | 24 |
5 files changed, 33 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README index b2e3c97914f..b24e3319c86 100644 --- a/Master/texmf-dist/doc/fonts/newtx/README +++ b/Master/texmf-dist/doc/fonts/newtx/README @@ -1,9 +1,12 @@ This package, based on txfonts, provides many fixes and enhancements to the txfonts package, splitting it into two separate packages---newtxtext and newtxmath, which may be run independently of one another. It provides scaling, improved metrics, and other options. In particular, newtxmath offers a libertine option which substitutes Linux Libertine (provided with TeXLive and MikTeX) italic and Greek letters for the default Times letters, providing a good match for the Libertine text font, which is heavier than Computer Modern but lighter than Times, and in my experience, looks very sharp and clear on the screen. -Current version: 1.15 +Current version: 1.151 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. +Changes in version 1.151 +Changed handling of superiors so as not to ignore those in minipages. + Changes in version 1.15 Added minlibertine fonts and modified newtxmath.sty to improve behavior under XeLaTeX and LuaLaTeX. diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf Binary files differindex 497feb442a7..32a88e1c3ac 100644 --- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf +++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex index 3a83992f858..4df7f994307 100644 --- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex @@ -48,15 +48,19 @@ The text mode environment invoked by \begin{verbatim} \usepackage{newtxtext} \end{verbatim} -has two options: you may write +has three options: you may write \begin{verbatim} \usepackage[scaled=.93]{newtxtext} \end{verbatim} -to load the roman and typewriter text fonts at 93\% of normal size, and the sans serif (\textsf{Helvetica} clone) at scale $0.9*0.93$. This is not of much utility if the package is used with the math package {\tt newtxmath} to which it is already matched, but may be with other math packages. The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. In general, it is best to load {\tt newtxtext} with lining figures so the math package uses lining figures in math mode. After loading the math package, you can specify the command +to load the roman and typewriter text fonts at 93\% of normal size, and the sans serif (\textsf{Helvetica} clone) at scale $0.9*0.93$. This is not of much utility if the package is used with the math package {\tt newtxmath} to which it is already matched, but may be with other math packages. + +The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. In general, it is best to load {\tt newtxtext} with lining figures so the math package uses lining figures in math mode. After loading the math package, you can specify the command \begin{verbatim} \useosf \end{verbatim} to force the use of oldstyle figures in text, but not math. + +Option {\tt defaultsups} (same effect as {\tt defaultsups=true}) forces the package to use the \LaTeX\ default footnote markers (or, at least, those in force when the package is loaded) instead of preferred by the package---Times Roman superior figures instead of spindly ordinary Times lining figures reduced to about 70\%. (Footnote markers in minipages use the default lowercase alphabetic characters, unless otherwise specified by redefining \verb|\thempfootnote|.) For better control over position and size of footnote markers, use the {\tt superiors} package after loading {\tt newtxtext}. \section{Math mode options} The package invoked by \begin{verbatim} diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty index d68a351d058..dbc6ef10604 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty @@ -10,8 +10,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.15} -\def\filedate{2013/10/12} +\def\fileversion{1.151} +\def\filedate{2013/10/17} \ProvidesPackage{newtxmath} [\filedate\space v\fileversion] \@ifundefined{newtxmathLoaded}{}{\endinput} diff --git a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty index 5fdbb31aaf5..ca82cf14634 100644 --- a/Master/texmf-dist/tex/latex/newtx/newtxtext.sty +++ b/Master/texmf-dist/tex/latex/newtx/newtxtext.sty @@ -13,8 +13,8 @@ % Added scaled keyword and osf option; % Modified the definition of \k to bypass problem with grouping; -\def\fileversion{1.15} -\def\filedate{2013/10/12} +\def\fileversion{1.151} +\def\filedate{2013/10/15} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] \message{`newtxtext' v\fileversion, \filedate\space Text macros based on txfonts (msharpe)} @@ -22,8 +22,12 @@ \let\orig@footnote=\thefootnote \let\orig@makefnmark=\@makefnmark + \RequirePackage{xkeyval} \def\ntx@helvscaled{s*[.9]} +\newif\ifntx@defaultsups +\define@key{ntx}{defaultsups}[true]{% +\csname ntx@defaultsups#1\endcsname} \define@key{ntx}{scaled}[1.0]{\def\ntx@scaled{s*[#1]}% \@tempdima=#1\p@\@tempdima=.9\@tempdima% \edef\ntx@helvscaled{s*[\strip@pt\@tempdima]}} @@ -42,7 +46,21 @@ \not@math@alphabet\sustyle\relax \fontfamily{ntxr1}\selectfont} -\def\@makefnmark{\ifx \thefootnote\orig@footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig@makefnmark\fi} +%\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% + \ifx\thefootnote\orig@footnote% + \hbox{\sustyle\hspace*{.04em}\@thefnmark} + \else% + \orig@makefnmark + \fi + \else% + \orig@makefnmark + \fi} +\fi %%%%%%%%%%%%%%%%%%%%%% % Text Serif (Times) % |