diff options
Diffstat (limited to 'Master/texmf-dist')
17 files changed, 73 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README index 0fa395e86c1..14bc47c8fd5 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.436 2015-04-27 +Current version: 1.437 2015-05-01 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.437 +1. Added possibility of word spacing changes with options tighter, looser, spacing, stretch and shrink. +2. Minor changes to .sty files. + Changes in version 1.436 Added encoding files ntx-*th*.enc that had been misplaced in newpx. diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf Binary files differindex d86b5ee368a..485799bcc19 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 a4083b32052..c947e368a6b 100644 --- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex @@ -110,6 +110,25 @@ Compare this to traditional {\tt plain} theoremstyle with the same text: \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} +\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} + txfonts Termes +fontdimen2 (interword space) .25em .25em +fontdimen3 (interword stretch) .15em .2em +fontdimen4 (interword shrink) .06em .1em +\end{verbatim} +That is, {\tt Termes} has the same normal spacing as {\tt txfonts} but its spacing is more flexible in terms of both stretch and shrink. More frequently than not, a paragraph built with {\tt Termes} will occupy more space than the same built with {\tt txfonts}. For this reason, the package offers some ways to change the spacing parameters. This may be important if you are trying to imitate the pagination of a document built using~{\tt txfonts}. + +Option {\tt tighter} sets the three fontdimen values to those of {\tt txfonts}. + +Option {\tt looser} sets the three fontdimen values to \verb|{.3em,.2em,.1em}| respectively. + +If you want full control, the options {\tt spacing, stretch, shrink} allow you to modify one or more of the above fontdimens. For example, +\begin{verbatim} +\usepackage[stretch=.15em,shrink=.095em]{newtxtext} +\end{verbatim} + \section{Math mode options} The package invoked by \begin{verbatim} diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxlf.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxlf.fd index 1b8c4893cf5..d3395d04c3b 100644 --- a/Master/texmf-dist/tex/latex/newtx/ly1ntxlf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxlf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{LY1}{ntxlf}{} +\DeclareFontFamily{LY1}{ntxlf}{\ntx@spacing} \DeclareFontShape{LY1}{ntxlf}{b}{sc}{<-> \ntx@scaled ntx-Bold-lf-sc\ntx@lsfx-ly1}{} \DeclareFontShape{LY1}{ntxlf}{b}{n}{<-> \ntx@scaled ntx-Bold-lf-ly1}{} \DeclareFontShape{LY1}{ntxlf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-lf-sc\ntx@lsfx-ly1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxosf.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxosf.fd index a8cfb9e85cb..a9026bdd90b 100644 --- a/Master/texmf-dist/tex/latex/newtx/ly1ntxosf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxosf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{LY1}{ntxosf}{} +\DeclareFontFamily{LY1}{ntxosf}{\ntx@spacing} \DeclareFontShape{LY1}{ntxosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-osf-sc\ntx@lsfx-ly1}{} \DeclareFontShape{LY1}{ntxosf}{b}{n}{<-> \ntx@scaled ntx-Bold-osf-ly1}{} \DeclareFontShape{LY1}{ntxosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-osf-sc\ntx@lsfx-ly1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd index e4de72608f5..02c7aef37cc 100644 --- a/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxtlf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{LY1}{ntxtlf}{} +\DeclareFontFamily{LY1}{ntxtlf}{\ntx@spacing} \DeclareFontShape{LY1}{ntxtlf}{b}{sc}{<-> \ntx@scaled ntx-Bold-tlf-sc\ntx@lsfx-ly1}{} \DeclareFontShape{LY1}{ntxtlf}{b}{n}{<-> \ntx@scaled ntx-Bold-tlf-ly1}{} \DeclareFontShape{LY1}{ntxtlf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-tlf-sc\ntx@lsfx-ly1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd b/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd index 195ab7a9e95..32c7f2fee4c 100644 --- a/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ly1ntxtosf.fd @@ -8,8 +8,9 @@ \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi} \ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{LY1}{ntxtosf}{} +\DeclareFontFamily{LY1}{ntxtosf}{\ntx@spacing} \DeclareFontShape{LY1}{ntxtosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-tosf-sc\ntx@lsfx\ntx@asfx-ly1}{} \DeclareFontShape{LY1}{ntxtosf}{b}{n}{<-> \ntx@scaled ntx-Bold-tosf-ly1}{} \DeclareFontShape{LY1}{ntxtosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-tosf-sc\ntx@lsfx-ly1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty index 6c5210118b3..6253b6320ca 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.436} -\def\filedate{2015/04/27} +\def\fileversion{1.437} +\def\filedate{2015/05/01} \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 c44943b2a86..5668ca8aaac 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.436} -\def\filedate{2015/04/27} +\def\fileversion{1.437} +\def\filedate{2015/05/01} \ProvidesPackage{newtxtext}[\filedate\space v\fileversion] \message{`newtxtext' v\fileversion, \filedate\space Text macros taking advantage of TeX-Gyre Termes fonts (msharpe)} @@ -41,6 +41,15 @@ \def\ntx@scale{#1}} \setkeys{ntx}{helvratio} % set this first, at least to default 0.9 \setkeys{ntx}{scaled} % get at least default + +\def\ntx@spc{.25em} +\def\ntx@stretch{.2em} +\def\ntx@shrink{.1em} +\define@key{ntx}{spacing}[.25em]{\gdef\ntx@spc{#1}} +\define@key{ntx}{stretch}[.2em]{\gdef\ntx@stretch{#1}} +\define@key{ntx}{shrink}[.1em]{\gdef\ntx@shrink{#1}} + + \DeclareOption{lining}{\edef\ntx@figurestyle{lf}} \DeclareOption{lf}{\edef\ntx@figurestyle{lf}} \DeclareOption{theoremfont}{\ntx@thrmtrue} @@ -51,6 +60,11 @@ \DeclareOption{proportional}{\useproportional} %\DeclareOption{sups}{\ntx@defaultsupsfalse} \DeclareOption{scosf}{\ntx@scosftrue} +\DeclareOption{tighter}{% +\gdef\ntx@spc{.25em}\gdef\ntx@stretch{.15em}\gdef\ntx@shrink{.06em}} +\DeclareOption{looser}{% +\gdef\ntx@spc{.3em}\gdef\ntx@stretch{.2em}\gdef\ntx@shrink{.15em} +} \ExecuteOptions{lining,tabular} \DeclareOption*{% @@ -60,6 +74,12 @@ \x} \ProcessOptions* +\def\ntx@spacing{% + \fontdimen2\font=\ntx@spc + \fontdimen3\font=\ntx@stretch + \fontdimen4\font=\ntx@shrink +} + \@tempdima=\ntx@scale\p@\@tempdima=\ntx@helvratio\@tempdima% \edef\qhv@scale{\strip@pt\@tempdima} diff --git a/Master/texmf-dist/tex/latex/newtx/ot1ntxlf.fd b/Master/texmf-dist/tex/latex/newtx/ot1ntxlf.fd index 93d7796f082..215a44ed6d7 100644 --- a/Master/texmf-dist/tex/latex/newtx/ot1ntxlf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ot1ntxlf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{OT1}{ntxlf}{} +\DeclareFontFamily{OT1}{ntxlf}{\ntx@spacing} \DeclareFontShape{OT1}{ntxlf}{b}{sc}{<-> \ntx@scaled ntx-Bold-lf-sc\ntx@lsfx-ot1}{} \DeclareFontShape{OT1}{ntxlf}{b}{n}{<-> \ntx@scaled ntx-Bold-lf-ot1}{} \DeclareFontShape{OT1}{ntxlf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-lf-sc\ntx@lsfx-ot1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/ot1ntxosf.fd b/Master/texmf-dist/tex/latex/newtx/ot1ntxosf.fd index 718b6507681..3cf89bf7bf4 100644 --- a/Master/texmf-dist/tex/latex/newtx/ot1ntxosf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ot1ntxosf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{OT1}{ntxosf}{} +\DeclareFontFamily{OT1}{ntxosf}{\ntx@spacing} \DeclareFontShape{OT1}{ntxosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-osf-sc\ntx@lsfx-ot1}{} \DeclareFontShape{OT1}{ntxosf}{b}{n}{<-> \ntx@scaled ntx-Bold-osf-ot1}{} \DeclareFontShape{OT1}{ntxosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-osf-sc\ntx@lsfx-ot1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/ot1ntxtlf.fd b/Master/texmf-dist/tex/latex/newtx/ot1ntxtlf.fd index 5f4a25a9590..c566647cdcf 100644 --- a/Master/texmf-dist/tex/latex/newtx/ot1ntxtlf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ot1ntxtlf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{OT1}{ntxtlf}{} +\DeclareFontFamily{OT1}{ntxtlf}{\ntx@spacing} \DeclareFontShape{OT1}{ntxtlf}{b}{sc}{<-> \ntx@scaled ntx-Bold-tlf-sc\ntx@lsfx-ot1}{} \DeclareFontShape{OT1}{ntxtlf}{b}{n}{<-> \ntx@scaled ntx-Bold-tlf-ot1}{} \DeclareFontShape{OT1}{ntxtlf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-tlf-sc\ntx@lsfx-ot1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/ot1ntxtosf.fd b/Master/texmf-dist/tex/latex/newtx/ot1ntxtosf.fd index 5e897d0ced2..14a6cb7dc71 100644 --- a/Master/texmf-dist/tex/latex/newtx/ot1ntxtosf.fd +++ b/Master/texmf-dist/tex/latex/newtx/ot1ntxtosf.fd @@ -8,8 +8,9 @@ \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi} \ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{OT1}{ntxtosf}{} +\DeclareFontFamily{OT1}{ntxtosf}{\ntx@spacing} \DeclareFontShape{OT1}{ntxtosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-tosf-sc\ntx@lsfx\ntx@asfx-ot1}{} \DeclareFontShape{OT1}{ntxtosf}{b}{n}{<-> \ntx@scaled ntx-Bold-tosf-ot1}{} \DeclareFontShape{OT1}{ntxtosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-tosf-sc\ntx@lsfx-ot1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/t1ntxlf.fd b/Master/texmf-dist/tex/latex/newtx/t1ntxlf.fd index b3a3719719a..449bfc32b59 100644 --- a/Master/texmf-dist/tex/latex/newtx/t1ntxlf.fd +++ b/Master/texmf-dist/tex/latex/newtx/t1ntxlf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{T1}{ntxlf}{} +\DeclareFontFamily{T1}{ntxlf}{\ntx@spacing} \DeclareFontShape{T1}{ntxlf}{b}{sc}{<-> \ntx@scaled ntx-Bold-lf-sc\ntx@lsfx-t1}{} \DeclareFontShape{T1}{ntxlf}{b}{n}{<-> \ntx@scaled ntx-Bold-lf-t1}{} \DeclareFontShape{T1}{ntxlf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-lf-sc\ntx@lsfx-t1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/t1ntxosf.fd b/Master/texmf-dist/tex/latex/newtx/t1ntxosf.fd index d1033fee06f..d84c8bd7705 100644 --- a/Master/texmf-dist/tex/latex/newtx/t1ntxosf.fd +++ b/Master/texmf-dist/tex/latex/newtx/t1ntxosf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{T1}{ntxosf}{} +\DeclareFontFamily{T1}{ntxosf}{\ntx@spacing} \DeclareFontShape{T1}{ntxosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-osf-sc\ntx@lsfx-t1}{} \DeclareFontShape{T1}{ntxosf}{b}{n}{<-> \ntx@scaled ntx-Bold-osf-t1}{} \DeclareFontShape{T1}{ntxosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-osf-sc\ntx@lsfx-t1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/t1ntxtlf.fd b/Master/texmf-dist/tex/latex/newtx/t1ntxtlf.fd index 034ef27a64e..2c3182cc808 100644 --- a/Master/texmf-dist/tex/latex/newtx/t1ntxtlf.fd +++ b/Master/texmf-dist/tex/latex/newtx/t1ntxtlf.fd @@ -6,8 +6,9 @@ \def\ntx@lsfx{} \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \ifdefined\ntx@largescfalse \ntx@makelsfx\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{T1}{ntxtlf}{} +\DeclareFontFamily{T1}{ntxtlf}{\ntx@spacing} \DeclareFontShape{T1}{ntxtlf}{b}{sc}{<-> \ntx@scaled ntx-Bold-tlf-sc\ntx@lsfx-t1}{} \DeclareFontShape{T1}{ntxtlf}{b}{n}{<-> \ntx@scaled ntx-Bold-tlf-t1}{} \DeclareFontShape{T1}{ntxtlf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-tlf-sc\ntx@lsfx-t1}{} diff --git a/Master/texmf-dist/tex/latex/newtx/t1ntxtosf.fd b/Master/texmf-dist/tex/latex/newtx/t1ntxtosf.fd index 0b6eba7489e..ee3e68f46b4 100644 --- a/Master/texmf-dist/tex/latex/newtx/t1ntxtosf.fd +++ b/Master/texmf-dist/tex/latex/newtx/t1ntxtosf.fd @@ -8,8 +8,9 @@ \def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi} \def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi} \ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi +\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi -\DeclareFontFamily{T1}{ntxtosf}{} +\DeclareFontFamily{T1}{ntxtosf}{\ntx@spacing} \DeclareFontShape{T1}{ntxtosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-tosf-sc\ntx@lsfx\ntx@asfx-t1}{} \DeclareFontShape{T1}{ntxtosf}{b}{n}{<-> \ntx@scaled ntx-Bold-tosf-t1}{} \DeclareFontShape{T1}{ntxtosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-tosf-sc\ntx@lsfx-t1}{} |