From 4b86eedca83371e7f325fee86bd3d17a32dd9bf3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 15 Sep 2015 22:07:39 +0000 Subject: newtx (15sep15) git-svn-id: svn://tug.org/texlive/trunk@38381 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/newtx/README | 7 ++++++- Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf | Bin 386294 -> 385862 bytes Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex | 25 +++++++++++++++++++++---- 3 files changed, 27 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc/fonts/newtx') 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 Binary files a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf and b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf 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} @@ -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} + +[optional] \usepackage{substitutefont} % so you can change babel's fonts \usepackage[]{babel} \usepackage{newtxtext} - + \usepackage{newtxmath} -\useosf % must be after loading math package +\useosf % must immediately follow math package + \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. -- cgit v1.2.3