summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-01-10 23:19:39 +0000
committerKarl Berry <karl@freefriends.org>2014-01-10 23:19:39 +0000
commit5a142b6af0acc78a549773d33c2e09fb0f6abd64 (patch)
tree911be252d6fe0776dca5ca7be1b1bf3b83771755 /Master/texmf-dist
parent2beb28d9364942cafba87c0fd5ace4b9803079c6 (diff)
newtx (10jan14)
git-svn-id: svn://tug.org/texlive/trunk@32628 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/README7
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdfbin470244 -> 470648 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex7
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty4
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxtext.sty25
5 files changed, 29 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README
index 2e29f202839..5a3a5a42e00 100644
--- a/Master/texmf-dist/doc/fonts/newtx/README
+++ b/Master/texmf-dist/doc/fonts/newtx/README
@@ -1,9 +1,14 @@
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.18
+Current version: 1.19
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.19
+1. Changed the default sans serif font from the txfonts version of Helvetica (or a clone) to the TeX-Gyre Heros family, which is more developed. (In particular, its textasteriskcentered is much better.)
+2. Changed a part of the footnote macro to prevent a subsequent space, adding instead a smaller horizontal space to prevent the footnote marker in the footer from colliding with its text.
+3. Added a new option helvratio to allow changes in the scale for sans serif. If omitted, it defaults to .9 so that if, in effect, scaled=s, helvetica will be scaled to .9*s.
+
Changes in version 1.18
1. Corrected some misbehaviors under bigdelims.
2. Added a number of new math accents and macros. See newtxdoc.pdf for details.
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
index 2bc64b49720..2fe3095472d 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
index b2273ae1565..0183e952d77 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
@@ -42,6 +42,7 @@ the new package is split into separate text and math packages that do not need t
\item \verb|\coloneq| and \verb|\eqcolon| now point to the correct glyphs;
\item The problem with the {\tt ogonek} accent and tabular environments (bad definition of \verb|\k|) is fixed;
\item The default encoding for \textsf{newtxtext} is now T$1$, but support is offered also for OT$1$ and LY$1$. As some add-on packages are available only in T$1$, that seems the best current choice.
+\item Sans serif is by default taken from TeXGyreHeros, and by default at 90\% of the scale factor (set by {\tt scaled}, default value {\tt1}). The option {\tt helvratio=.98} will change that to 98\%.
\end{itemize}
\section{Text mode options}
The text mode environment invoked by
@@ -52,7 +53,11 @@ 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.
+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 options
+\begin{verbatim}
+\usepackage[scaled=.95,helvratio=.96]{newtxtext}
+\end{verbatim}
+load roman and typewriter text fonts at 95\% of normal size, and the sans serif (\textsf{Helvetica} clone) at scale $0.95*0.96$.
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}
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index 0ed1c13743b..f2588d44f6e 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.18}
-\def\filedate{2013/12/28}
+\def\fileversion{1.19}
+\def\filedate{2014/01/09}
\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 d97d91713bd..0de62094d3d 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.18}
-\def\filedate{2013/12/28}
+\def\fileversion{1.19}
+\def\filedate{2014/01/09}
\ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
\message{`newtxtext' v\fileversion, \filedate\space Text macros based on txfonts (msharpe)}
@@ -24,13 +24,12 @@
\let\orig@makefnmark=\@makefnmark
\RequirePackage{xkeyval}
-\def\ntx@helvscaled{s*[.9]}
\newif\ifntx@defaultsups
\define@boolkey{ntx}{defaultsups}[true]{%
\csname ntx@defaultsups#1\endcsname}
+\define@key{ntx}{helvratio}[0.9]{\def\ntx@helvratio{#1}}
\define@key{ntx}{scaled}[1.0]{\def\ntx@scaled{s*[#1]}%
-\@tempdima=#1\p@\@tempdima=.9\@tempdima%
-\edef\ntx@helvscaled{s*[\strip@pt\@tempdima]}}
+\def\ntx@scale{#1}}
\DeclareOption*{%
\begingroup
\edef\x{\endgroup
@@ -39,8 +38,11 @@
\def\ntx@style{x}% default is lining figures
\DeclareOption{osf}{\def\ntx@style{j}}
\DeclareOption{oldstyle}{\def\ntx@style{j}}
-
+\setkeys{ntx}{helvratio} % set this first, at least to default 0.9
+\setkeys{ntx}{scaled} % get at least default
\ProcessOptions*
+\@tempdima=\ntx@scale\p@\@tempdima=\ntx@helvratio\@tempdima%
+\edef\qhv@scale{\strip@pt\@tempdima}
\RequirePackage[T1]{fontenc}
\DeclareRobustCommand{\sustyle}{%
@@ -54,12 +56,12 @@
\def\@makefnmark{%
\ifx\@mpfn\f@@tn@te%
\ifx\thefootnote\orig@footnote%
- \hbox{\sustyle\hspace*{.04em}\@thefnmark}
+ \hbox{\sustyle\hspace*{.04em}\@thefnmark\hspace*{.03em}}%
\else%
- \orig@makefnmark
+ \orig@makefnmark%
\fi
\else%
- \orig@makefnmark
+ \orig@makefnmark%
\fi}
\fi
@@ -89,7 +91,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\renewcommand{\sfdefault}{ntxss}
+%\renewcommand{\sfdefault}{ntxss}
+\renewcommand*{\sfdefault}{qhv}
+%\show\qhv@scale
+%\show\ntx@helvratio
%\DeclareMathAlphabet{\mathsf}{OT1}{txss}{m}{n}
%\SetMathAlphabet{\mathsf}{bold}{OT1}{txss}{b}{n}