summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-15 22:07:39 +0000
committerKarl Berry <karl@freefriends.org>2015-09-15 22:07:39 +0000
commit4b86eedca83371e7f325fee86bd3d17a32dd9bf3 (patch)
treebbb9a142c160a3927eccd07b7c2ef287fddd3826
parent6288336560e9a1f89172c976ffe22bb08267f284 (diff)
newtx (15sep15)
git-svn-id: svn://tug.org/texlive/trunk@38381 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/README7
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdfbin386294 -> 385862 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex25
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty4
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxtext.sty16
5 files changed, 40 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README
index 53af5b441a5..866fc1880f6 100644
--- a/Master/texmf-dist/doc/fonts/newtx/README
+++ b/Master/texmf-dist/doc/fonts/newtx/README
@@ -1,10 +1,15 @@
This package, initially 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.46 2015-08-29
+Current version: 1.461 2015-09-14
This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3
for the details of that license.
+Changes in version 1.461
+1. Removed second \newif\ntx@babel, which was causing misbehavior.
+2. Added definition of \LGCscale for use with Tempora and similar packages containing Greek and Cyrillic to match Times text.
+3. Changed documentation to better explain the use of babel and substitutefont with the \useosf macro in newtxtext.
+
Changes in version 1.46
There are several changes to newtxmath, all related to its subscript rendering.
(i) A new option, nonewtxmathopt, prevents the use of optical sizes for mathematical subscripts. This can in some cases improve the rendering in cases where spacing is problematic.
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
index 6f1770cb41e..df1c77b00b8 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 7b1ebe2beea..c007961ecbc 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
@@ -75,9 +75,9 @@ to load the roman and typewriter text fonts at 93\% of normal size, and the sans
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$. As of version $1.23$, {\tt newtxtext} loads initially with lining figures so the math package uses lining figures in math mode. The option {\tt osf} switches to old-style figures in text at the very end of the preamble, forcing the use of oldstyle figures in text, but not math. In previous versions, it was necessary to run
-\verb|\useosf| after loading math. This is no longer required, but does no harm.
+\verb|\useosf| after loading {\tt newtxmath}. This is no longer required except in the circumstances described below.
-There is one special case where \verb|\useosf| is necessary: in you use the {\tt babel} package, you should load it before {\tt newtxtext}---for example:
+If you use the {\tt babel} package, you should load it before {\tt newtxtext}---for example:
%may receive puzzling error messages if you used a preamble containing
\begin{verbatim}
\usepackage[<babel options>]{babel}
@@ -86,12 +86,29 @@ There is one special case where \verb|\useosf| is necessary: in you use the {\tt
\end{verbatim}
If you want to use {\tt babel} and a math package, you have to be aware of an incompatibility between some {\tt babel} code and the {\tt etoolbox} command \verb|\AtEndPreamble|. In this case, use instead the more cumbersome form:
\begin{verbatim}
+<encoding options>
+[optional] \usepackage{substitutefont} % so you can change babel's fonts
\usepackage[<babel options>]{babel}
\usepackage{newtxtext}
-<other babel font loading commands>
+<other font loading commands>
\usepackage{newtxmath}
-\useosf % must be after loading math package
+\useosf % must immediately follow math package
+<substitutefont commands>
\end{verbatim}
+Here is a specific example following this pattern.
+\begin{verbatim}
+\usepackage[LGR,T1]{fontenc} % spell out all text encodings used
+\usepackage[utf8]{inputenc} %
+\usepackage{substitutefont} % so we can use fonts other than those in babel
+\usepackage[greek.polutoniko,english]{babel}
+\usepackage[largesc]{newtxtext} %
+\usepackage[varqu,varl]{zi4}% inconsolata
+\usepackage{cabin}% sans serif
+\usepackage[bigdelims,vvarbb]{newtxmath}
+\useosf % use oldstyle figures except in math
+\substitutefont{LGR}{\rmdefault}{Tempora} % use Tempora to render Greek text
+\end{verbatim}
+
As of version 1.4, there are four normal figure styles: tabular lining, tabular oldstyle, proportional lining and proportional oldstyle, the default figure alignment being \texttt{tabular}. To switch to \texttt{proportional}, use the option \texttt{p} or \texttt{proportional}.
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 those 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 italic 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}. The \verb|\sustyle| font switch and its related \verb|\textsu| macro know not only about figures, but also the lower case letters, including \texttt{egrave}, so that traditional French expressions like \textlf{1}\textsu{i\`ere} may be typeset correctly.
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index 3ea9457e135..93b12c33956 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.46}
-\def\filedate{2015/08/29}
+\def\fileversion{1.461}
+\def\filedate{2015/09/14}
\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 c14667f8169..42bd4ea4650 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.46}
-\def\filedate{2015/08/29}
+\def\fileversion{1.461}
+\def\filedate{2015/09/14}
\ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
\message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)}
@@ -25,20 +25,19 @@
\newif\ifntx@scosf
\newif\ifntx@largesc
\newif\ifntx@babel
-\ifdefined\bbl@tempa \ntx@babeltrue\fi
+\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]{%
\csname ntx@adobesc#1\endcsname}
-\newif\ifntx@babel
\define@key{ntx}{babel}[true]{%
\csname ntx@babel#1\endcsname}
\newif\ifntx@thrm
\define@key{ntx}{helvratio}[0.9]{\def\ntx@helvratio{#1}}
\define@key{ntx}{scaled}[1.0]{\def\ntx@scaled{s*[#1]}%
-\def\ntx@scale{#1}}
+\def\ntx@scale{#1}\def\LGCscale{#1}}
\setkeys{ntx}{helvratio} % set this first, at least to default 0.9
\setkeys{ntx}{scaled} % get at least default
@@ -239,6 +238,13 @@
}
\ifntx@babel
+ \message{^^JBabel^^J}
+\else
+ \message{^^JNo Babel^^J}
+\fi
+
+
+\ifntx@babel
\renewcommand*{\rmdefault}{ntx\ntx@figurealign%
\ntx@figurestyle}
\normalfont