texlive[43106] Master/texmf-dist: newtx (31jan17)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 31 23:45:55 CET 2017


Revision: 43106
          http://tug.org/svn/texlive?view=revision&revision=43106
Author:   karl
Date:     2017-01-31 23:45:55 +0100 (Tue, 31 Jan 2017)
Log Message:
-----------
newtx (31jan17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newtx/README
    trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
    trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
    trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
    trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/README	2017-01-31 22:45:32 UTC (rev 43105)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/README	2017-01-31 22:45:55 UTC (rev 43106)
@@ -1,10 +1,13 @@
 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.516 2017-01-30
+Current version: 1.517 2017-01-30
 
 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.517
+Reworked the effects of the theoremfont option to newtxtext, which now defines the plain theorem style only if amsthm was loaded before newtxtext.
+
 Changes in version 1.516
 Corrected an incompatibility with ntheorem package.
 

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex	2017-01-31 22:45:32 UTC (rev 43105)
+++ trunk/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex	2017-01-31 22:45:55 UTC (rev 43106)
@@ -84,7 +84,7 @@
 \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$. 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 
+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} changes the default to old-style figures in text at the very end of the preamble, forcing the use of old-style figures in text, but not math. In previous versions, it was necessary to run 
 \verb|\useosf| after loading {\tt newtxmath}. This is no longer required except in the circumstances described below.
 
 If you use the {\tt babel} package, you should load it before {\tt newtxtext}---for example:
@@ -119,7 +119,7 @@
 \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}.
+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 make \texttt{proportional} the default, 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.
 
@@ -127,7 +127,7 @@
 
 Option \texttt{adobesc} is only for those who own licenses for \textsf{Adobe Times Small Caps} and install them into the \texttt{ptmsc} package downloaded from \textsc{ctan}. This option loads \texttt{largesc} and substitutes the Adobe glyphs, where available, including their larger Regular and Bold tabular oldstyle figures.
 
-The {\tt theoremfont} option changes the default font used for the {\tt plain} theoremstyle of {\tt amsthm}, keeping italic text but substituting upright figures and punctuation, and, provided you have loaded {\tt theorem} or {\tt amsthm} before {\tt newtxtext}, it will redefine the plain theoremstyle.  For example, with this option, you get theorem statements like this:
+The {\tt theoremfont} option changes the default font used for the {\tt plain} theoremstyle of {\tt amsthm}, keeping italic text but substituting upright figures and punctuation, and, provided you have loaded {\tt amsthm} before {\tt newtxtext}, it will redefine the plain theoremstyle.  For example, with this option, you get theorem statements like this:
 
 \begin{thm}
 This is Theorem Italic: text numbers are upright---12345; punctuation is in many cases upright (also, parens, braces \{\} and brackets []). What about question marks and exclamations? Also upright! [These fit better with math mode punctuation and figures, like: for all $x\in[0,1]$, let $f(x)\coloneq \exp(\alpha x)$].
@@ -136,6 +136,9 @@
 \begin{oldthm}
 This is Theorem Italic: text numbers are upright---12345; punctuation is in many cases upright (also, parens, braces \{\} and brackets []). What about question marks and exclamations? Also upright! [These fit better with math mode punctuation and figures, like: for all $x\in[0,1]$, let $f(x)\coloneq \exp(\alpha x)$].
 \end{oldthm}
+
+If you are using another theorem package (e.g., ntheorem, theorem) you will have to add your own descriptors as specified in the its documentation and set the body font to \verb|\slshape|.
+
 \section{Spacing issues}
 This new version of {\tt newtxtext} has spacing that is a little different, in its default state, from that of the old {\tt newtxtext}. In small part this is due to the finer kerning of TeXGyre Termes, but mostly because the three parameters that govern inter-word spacing are not the same.
 \begin{verbatim}
@@ -196,6 +199,7 @@
 \item {\tt minion} loads different versions of math italic and bold math italic based on \textsf{MinionPro} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default---see the extended discussion below;
 \item {\tt garamondx} loads different versions of math italic and bold math italic based on \textsf{garamondx} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
 \item {\tt baskervaldx} (or {\tt Baskervaldx}) loads different versions of math italic and bold math italic based on \textsf{Baskervaldx} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
+\item {\tt baskerville} (or {\tt Baskerville}, or {\tt baskervillef} or {\tt BaskervilleF}) loads different versions of math italic and bold math italic based on \textsf{BaskervilleF} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
 \item {\tt charter} (or {\tt xcharter}) loads different versions of math italic and bold math italic based on \textsf{XCharter} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default.
 \item {\tt cochineal}  loads different versions of math italic and bold math italic based on \textsf{cochineal} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case.
 \item {\tt utopia} (or {\tt heuristica} or {\tt erewhon}) loads different versions of math italic and bold math italic based on \textsf{Utopia} rather than \textsf{Times}---the {\tt varg} and {\tt varvw} options are disabled in this case, as the equivalent variant forms are made available by default. The Heuristica or Erewhon font package must be installed to use this option. (Erewhon is based on Heuristica, but is 6\% smaller and has more complete figures styles and small cap styles, as well as a variety of smaller figures---superior, inferior, numerator, denominator.)  For example:

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2017-01-31 22:45:32 UTC (rev 43105)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxmath.sty	2017-01-31 22:45:55 UTC (rev 43106)
@@ -10,8 +10,8 @@
 % of glyph collisions.
 % These modifications are by Michael Sharpe, msharpe at ucsd dot edu
 
-\def\fileversion{1.515}
-\def\filedate{2017/01/22}
+\def\fileversion{1.517}
+\def\filedate{2017/01/30}
 \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
 \@ifundefined{newtxmathLoaded}{}{\endinput}
 
@@ -89,6 +89,8 @@
 \DeclareOption{garamondx}{\tx at gmtrue\tx at ntxmathfalse\tx at otfalse}
 \DeclareOption{baskerville}{\tx at batrue\tx at ntxmathfalse}
 \DeclareOption{Baskerville}{\tx at batrue\tx at ntxmathfalse}
+\DeclareOption{baskervillef}{\tx at batrue\tx at ntxmathfalse}
+\DeclareOption{BaskervilleF}{\tx at batrue\tx at ntxmathfalse}
 \DeclareOption{baskervaldx}{\tx at bvtrue\tx at ntxmathfalse\tx at otfalse}
 \DeclareOption{Baskervaldx}{\tx at bvtrue\tx at ntxmathfalse\tx at otfalse}
 \DeclareOption{utopia}{\tx at uttrue\tx at ntxmathfalse\tx at otfalse}

Modified: trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty	2017-01-31 22:45:32 UTC (rev 43105)
+++ trunk/Master/texmf-dist/tex/latex/newtx/newtxtext.sty	2017-01-31 22:45:55 UTC (rev 43106)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}
 
-\def\fileversion{1.516}
+\def\fileversion{1.517}
 \def\filedate{2017/01/30}
 \ProvidesPackage{newtxtext}[\filedate\space v\fileversion]
 
@@ -126,17 +126,20 @@
 }% to get sup style
 
 \ifntx at thrm
-	\RequirePackage{amsmath,amsthm} % in case of theoremfont
-	\newtheoremstyle{plain}
-	{\medskipamount}   % ABOVESPACE, was \topsep
-    {\medskipamount}   % BELOWSPACE, was \topsep
-    {\slshape}  % BODYFONT--\slshape is defined to be \itshape with upright figures and punctuation
-    {}       % INDENT (empty value is the same as 0pt)
-    {\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection
-    {.}         % HEADPUNCT
-    {5pt plus 1pt minus 1pt} % HEADSPACE
-    {}          % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section]
-    %\fi%
+	%\RequirePackage{amsmath,amsthm} % in case of theoremfont
+	\ifdefined\newtheoremstyle %amsthm and ntheorem, not theorem.sty
+		\@ifpackageloaded{ntheorem}\relax{%
+		\newtheoremstyle{plain}
+		{\medskipamount}   % ABOVESPACE, was \topsep
+    	{\medskipamount}   % BELOWSPACE, was \topsep
+    	{\slshape}  % BODYFONT--\slshape is defined to be \itshape with upright figures and punctuation
+    	{}       % INDENT (empty value is the same as 0pt)
+    	{\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection
+    	{.}         % HEADPUNCT
+    	{5pt plus 1pt minus 1pt} % HEADSPACE
+    	{}          % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section]
+    	} % end @ifpackageloaded
+    \fi%
 \fi
 %\DeclareTextFontCommand{\textsu}{\sustyle}
 %\def\@makefnmark{\ifx \thefootnote\orig at footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig at makefnmark\fi}



More information about the tex-live-commits mailing list