diff options
Diffstat (limited to 'fonts/newtx')
-rw-r--r-- | fonts/newtx/README | 6 | ||||
-rw-r--r-- | fonts/newtx/doc/newtxdoc.pdf | bin | 1011248 -> 1012618 bytes | |||
-rw-r--r-- | fonts/newtx/doc/newtxdoc.tex | 11 | ||||
-rw-r--r-- | fonts/newtx/map/newtx.map | 28 | ||||
-rw-r--r-- | fonts/newtx/tex/newtxmath.sty | 26 | ||||
-rw-r--r-- | fonts/newtx/tex/omlntxebgmi.fd | 29 | ||||
-rw-r--r-- | fonts/newtx/tex/untxebgmia.fd | 29 | ||||
-rw-r--r-- | fonts/newtx/tfm/ebgmi0.tfm | bin | 3404 -> 0 bytes | |||
-rw-r--r-- | fonts/newtx/tfm/zutbmi.tfm | bin | 1972 -> 3328 bytes | |||
-rw-r--r-- | fonts/newtx/tfm/zutmi.tfm | bin | 2900 -> 4744 bytes | |||
-rw-r--r-- | fonts/newtx/vf/zutbmi.vf | bin | 1508 -> 2808 bytes | |||
-rw-r--r-- | fonts/newtx/vf/zutmi.vf | bin | 1512 -> 2708 bytes |
12 files changed, 110 insertions, 19 deletions
diff --git a/fonts/newtx/README b/fonts/newtx/README index 51b3fa217b..c57f484e46 100644 --- a/fonts/newtx/README +++ b/fonts/newtx/README @@ -1,10 +1,14 @@ 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.604 2019-10-11 +Current version: 1.605 2019-10-23 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.605 +1. Added the missing pieces (fd files, map entries) of the math support files for ebgaramond. +2. Modified zut[b]mi.{tfm,vf} so that math support for {utopia, heuristica, erewhon} is declared to be of enhanced, though not 100%. Exceptions are (i) you cannot reliably generate pdf/A-1b; (ii) the added symbols are from Times, not Utopia. + Changes in version 1.604 Removed the files ntxsts2* that are now located in the stickstoo package. diff --git a/fonts/newtx/doc/newtxdoc.pdf b/fonts/newtx/doc/newtxdoc.pdf Binary files differindex b6a20b19d1..9e55340896 100644 --- a/fonts/newtx/doc/newtxdoc.pdf +++ b/fonts/newtx/doc/newtxdoc.pdf diff --git a/fonts/newtx/doc/newtxdoc.tex b/fonts/newtx/doc/newtxdoc.tex index 17a75bb05b..9a6b597a8f 100644 --- a/fonts/newtx/doc/newtxdoc.tex +++ b/fonts/newtx/doc/newtxdoc.tex @@ -161,7 +161,7 @@ Compare this to traditional {\tt plain} theoremstyle with the same text: 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|. +If you are using another theorem package (e.g., ntheorem, theorem) you will have to add your own descriptors as specified in 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. @@ -228,7 +228,12 @@ Don't use these unless you know what you're doing. \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. \textbf{As of version 1.53, Greek letters in all styles are taken from new alphabets constructed to match the Charter style.} \item {\tt noxchvw} (or {\tt noXchvw} is new as of version 1.54, and applies only when math mode uses Charter alphabets. It causes math italic v and w to be rendered using Charter italic glyphs. Use this only if you don't care if math italic v is hard to distinguish from Greek \verb|\nu|. -\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 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. There are two additional options specific to {\tt cochineal}. +\begin{itemize} +\item +Option {\tt cochf} replaces the default short math italic f with the long italic f used in text. +\item Option {\tt cochrho} replaces the default short form of \verb|\rho| with the the long form used in text. +\end{itemize} \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: \begin{verbatim} \usepackage[osf]{erewhon} %extension of Utopia @@ -744,7 +749,7 @@ A final goal was to make better use of the remaining space in some of the math f The following changes were made to both {\tt newtx} and {\tt newpx}. \subsection{Archivability} -Some of the individual font files from which the math fonts are built turned out to have some fairly minor structural issues. These have all been corrected. The more major issue was the lack of unicode mapping for all characters in the fonts. For the symbol and math extension fonts, this issue was largely solved by Ross Moore's {\tt glyphtounicode} files that are now accessible as part of TeXLive and MiKTeX. The main problem was the math alphabets like math italic, bold math italic, upright Greek and slanted Greek, all of which have now been assigned their own unicode points. For all of these, I constructed new fonts using unicode names for the glyphs, then made \textsf{fontinst} scripts that renamed those unicode values to the original simple names as used in the encoding files so that I could use my old encoding and adjustment files. This exercise has now been carried out for {\tt newtxmath}, {\tt newpxmath}, {\tt newtxmath/libertine}, {\tt newtxmath/stix2} and {\tt newtxmath/xcharter.} Each of these can now be considered to have an ``enhanced'' status that allows them to share all the new assets described below. The other packages which may be specified as an option to {\tt newtxmath} (e.g., {\tt cochineal, baskervillef}) must be considered for the moment to be ``unenhanced'' and able to share only some of the new assets. In particular, only the enhanced items can generate archivable pdf. +Some of the individual font files from which the math fonts are built turned out to have some fairly minor structural issues. These have all been corrected. The more major issue was the lack of unicode mapping for all characters in the fonts. For the symbol and math extension fonts, this issue was largely solved by Ross Moore's {\tt glyphtounicode} files that are now accessible as part of TeXLive and MiKTeX. The main problem was the math alphabets like math italic, bold math italic, upright Greek and slanted Greek, all of which have now been assigned their own unicode points. For all of these, I constructed new fonts using unicode names for the glyphs, then made \textsf{fontinst} scripts that renamed those unicode values to the original simple names as used in the encoding files so that I could use my old encoding and adjustment files. This exercise has now been carried out for {\tt newtxmath}, {\tt newpxmath}, {\tt newtxmath/libertine}, {\tt newtxmath/cochineal}, {\tt newtxmath/stix2} and {\tt newtxmath/xcharter.} Each of these can now be considered to have an ``enhanced'' status that allows them to share all the new assets described below. Enhancement is for the moment only partial with {\tt newtxmath/utopia}, as conformance to PDF/A-1b is not likely, but the additional alphabets are present. The other packages which may be specified as an option to {\tt newtxmath} (e.g., {\tt baskervaldx, baskervillef}) must be considered for the moment to be ``unenhanced'' and able to share only some of the new assets. In particular, only the enhanced items can generate archivable pdf. Also modified were the {\tt sups} fonts in {newtxtext}, where the main issue was unicode mapping. Superior number and some superior letters do have assigned unicode values, but in may cases a more creative approach was needed, and provided once again by Ross Moore. I rebuilt the superior font files using those unicode names, solving that particular problem. diff --git a/fonts/newtx/map/newtx.map b/fonts/newtx/map/newtx.map index 5609a13587..b154afdb74 100644 --- a/fonts/newtx/map/newtx.map +++ b/fonts/newtx/map/newtx.map @@ -192,18 +192,18 @@ ntx-Italic-osf-sc-ot1 TeXGyreTermes-Italic " encntx-ot1-osf-sc ReEncodeFont " <[ ntx-Italic-lf-sc-ot1 TeXGyreTermes-Italic " encntx-ot1-lf-sc ReEncodeFont " <[ntx-ot1-lf-sc.enc <qtmri.pfb ntx-Italic-tosf-sc-ot1 TeXGyreTermes-Italic " encntx-ot1-tosf-sc ReEncodeFont " <[ntx-ot1-tosf-sc.enc <qtmri.pfb -ntxsups-Regular-ot1 ntxsups-Regular " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_ot1.enc <ntxsups-Regular.pfb -ntxsups-Regular-t1 ntxsups-Regular " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_t1.enc <ntxsups-Regular.pfb -ntxsups-Regular-ly1 ntxsups-Regular " ntxsupsLY1Encoding ReEncodeFont " <[ntxsups_ly1.enc <ntxsups-Regular.pfb -ntxsups-Italic-ot1 ntxsups-Italic " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_ot1.enc <ntxsups-Italic.pfb -ntxsups-Italic-t1 ntxsups-Italic " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_t1.enc <ntxsups-Italic.pfb -ntxsups-Italic-ly1 ntxsups-Italic " ntxsupsLY1Encoding ReEncodeFont " <[ntxsups_ly1.enc <ntxsups-Italic.pfb -ntxsups-Bold-ot1 ntxsups-Bold " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_ot1.enc <ntxsups-Bold.pfb -ntxsups-Bold-t1 ntxsups-Bold " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_t1.enc <ntxsups-Bold.pfb -ntxsups-Bold-ly1 ntxsups-Bold " ntxsupsLY1Encoding ReEncodeFont " <[ntxsups_ly1.enc <ntxsups-Bold.pfb -ntxsups-BoldItalic-ot1 ntxsups-BoldItalic " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_ot1.enc <ntxsups-BoldItalic.pfb -ntxsups-BoldItalic-t1 ntxsups-BoldItalic " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_t1.enc <ntxsups-BoldItalic.pfb -ntxsups-BoldItalic-ly1 ntxsups-BoldItalic " ntxsupsLY1Encoding ReEncodeFont " <ntxsups_ly1.enc <ntxsups-BoldItalic.pfb +ntxsups-Regular-ot1 ntxsups-Regular " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_OT1.enc <ntxsups-Regular.pfb +ntxsups-Regular-t1 ntxsups-Regular " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_T1.enc <ntxsups-Regular.pfb +ntxsups-Regular-ly1 ntxsups-Regular " ntxsupsLY1Encoding ReEncodeFont " <[ntxsups_LY1.enc <ntxsups-Regular.pfb +ntxsups-Italic-ot1 ntxsups-Italic " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_OT1.enc <ntxsups-Italic.pfb +ntxsups-Italic-t1 ntxsups-Italic " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_T1.enc <ntxsups-Italic.pfb +ntxsups-Italic-ly1 ntxsups-Italic " ntxsupsLY1Encoding ReEncodeFont " <[ntxsups_LY1.enc <ntxsups-Italic.pfb +ntxsups-Bold-ot1 ntxsups-Bold " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_OT1.enc <ntxsups-Bold.pfb +ntxsups-Bold-t1 ntxsups-Bold " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_T1.enc <ntxsups-Bold.pfb +ntxsups-Bold-ly1 ntxsups-Bold " ntxsupsLY1Encoding ReEncodeFont " <[ntxsups_LY1.enc <ntxsups-Bold.pfb +ntxsups-BoldItalic-ot1 ntxsups-BoldItalic " ntxsupsOT1Encoding ReEncodeFont " <[ntxsups_OT1.enc <ntxsups-BoldItalic.pfb +ntxsups-BoldItalic-t1 ntxsups-BoldItalic " ntxsupsT1Encoding ReEncodeFont " <[ntxsups_T1.enc <ntxsups-BoldItalic.pfb +ntxsups-BoldItalic-ly1 ntxsups-BoldItalic " ntxsupsLY1Encoding ReEncodeFont " <ntxsups_LY1.enc <ntxsups-BoldItalic.pfb ntx-Bold-tlf-scl-ot1 ntxtmb " encntx-ot1-tlf-sc ReEncodeFont " <[ntx-ot1-tlf-sc.enc <ntxtmb.pfb ntx-Bold-osf-scl-ot1 ntxtmb " encntx-ot1-osf-sc ReEncodeFont " <[ntx-ot1-osf-sc.enc <ntxtmb.pfb @@ -276,3 +276,7 @@ LibertineMathMI5 LibertineMathMI5 <LibertineMathMI5.pfb LibertineMathBMI5 LibertineMathBMI5 <LibertineMathBMI5.pfb LibertineMathBMI7 LibertineMathBMI7 <LibertineMathBMI7.pfb stxscr stxscr <stxscr.pfb +ebgMRM ebgMRM <ebgMRM.pfb +ebgBRM ebgBRM <ebgBRM.pfb +ebgMI ebgMI <ebgMI.pfb +ebgBMI ebgBMI <ebgBMI.pfb diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty index ce72d71b6c..d03ae102a4 100644 --- a/fonts/newtx/tex/newtxmath.sty +++ b/fonts/newtx/tex/newtxmath.sty @@ -1,5 +1,6 @@ \NeedsTeXFormat{LaTeX2e}[1997/06/01] % +%: % Based on Young Ryu's txfonts.sty, v.3.2.1 % Text and math are now loaded in separate sty files---the text % font family need not be txtext. The text font loaded when this package @@ -10,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.602} -\def\filedate{2019/10/09} +\def\fileversion{1.605} +\def\filedate{2019/10/23} \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ] \@ifundefined{newtxmathLoaded}{}{\endinput} @@ -83,7 +84,9 @@ \newif\iftx@sbc %\newif\iftx@spc \newif\iftx@isenh % the math style is enhanced and can make use of new macros -% Currently (2019-0921) only txmath, libertine and XCharter have been enhanced. +% Currently (2019-10-15) only txmath, libertine, XCharter, ebgaramond, stickstoo and cochineal have been enhanced. +\newif\iftx@cochf % switch to long f +\newif\iftx@cochrho % switch to long rho %\show\rmdefault \edef\tx@rmdefault{\rmdefault} \edef\tx@encdefault{\encodingdefault} @@ -227,6 +230,9 @@ \DeclareOption{noXchvw}{\tx@nozchvwtrue} \DeclareOption{stix2}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55 \DeclareOption{stickstoo}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55 +\DeclareOption{cochf}{\tx@cochftrue} % added in 1.604 +\DeclareOption{cochrho}{\tx@cochrhotrue} % added in 1.604 + \ExecuteOptions{% amssymbols,uprightGreek,nosubscriptcorrection} \ProcessOptions* @@ -236,6 +242,10 @@ amssymbols,uprightGreek,nosubscriptcorrection} \iftx@ch\tx@isenhtrue\else \iftx@ebgm\tx@isenhtrue\else \iftx@stxtwo\tx@isenhtrue\else + \iftx@coch\tx@isenhtrue\else + \iftx@ut\tx@isenhtrue\else + \fi + \fi \fi \fi \fi @@ -419,6 +429,16 @@ amssymbols,uprightGreek,nosubscriptcorrection} \DeclareMathSymbol{\jmathscr}{\mathord}{letters}{195} \fi \fi +\iftx@coch + \DeclareMathSymbol{\fAlt}{\mathord}{letters}{250} + \DeclareMathSymbol{\rhoAlt}{\mathord}{letters}{251} + \iftx@cochf + \DeclareMathSymbol{f}{\mathord}{letters}{250} + \fi + \iftx@cochrho + \let\rho\rhoAlt + \fi +\fi %%%%%%%%%%%%%%%%% % Math Italic A % %%%%%%%%%%%%%%%%% diff --git a/fonts/newtx/tex/omlntxebgmi.fd b/fonts/newtx/tex/omlntxebgmi.fd new file mode 100644 index 0000000000..631a974b4e --- /dev/null +++ b/fonts/newtx/tex/omlntxebgmi.fd @@ -0,0 +1,29 @@ +%Filename: omlntxebgmi.fd +%Created by: tex ebg-drv +%Created using fontinst v1.933 + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{omlntxebgmi.fd} + [2019/10/02 Fontinst v1.933 font definitions for OML/ntxebgmi.] + +\expandafter\ifx\csname ntxmath@scaled\endcsname\relax + \let\ntxmath@scaled\@empty% +\fi + +\DeclareFontFamily{OML}{ntxebgmi}{\skewchar \font =127} + +\DeclareFontShape{OML}{ntxebgmi}{m}{it}{ + <-> \ntxmath@scaled ntxebgmi +}{} + +\DeclareFontShape{OML}{ntxebgmi}{b}{it}{ + <-> \ntxmath@scaled ntxebgbmi +}{} + +\DeclareFontShape{OML}{ntxebgmi}{m}{sl}{<->ssub * ntxebgmi/m/it}{} +\DeclareFontShape{OML}{ntxebgmi}{bx}{it}{<->ssub * ntxebgmi/b/it}{} +\DeclareFontShape{OML}{ntxebgmi}{b}{sl}{<->ssub * ntxebgmi/b/it}{} +\DeclareFontShape{OML}{ntxebgmi}{bx}{sl}{<->ssub * ntxebgmi/b/sl}{} + +\endinput diff --git a/fonts/newtx/tex/untxebgmia.fd b/fonts/newtx/tex/untxebgmia.fd new file mode 100644 index 0000000000..7f7c753c50 --- /dev/null +++ b/fonts/newtx/tex/untxebgmia.fd @@ -0,0 +1,29 @@ +%Filename: untxebgmia.fd +%Created by: tex ebg-drv +%Created using fontinst v1.933 + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{untxebgmia.fd} + [2019/10/02 Fontinst v1.933 font definitions for U/ntxebgmia.] + +\expandafter\ifx\csname ntxmath@scaled\endcsname\relax + \let\ntxmath@scaled\@empty% +\fi + +\DeclareFontFamily{U}{ntxebgmia}{\skewchar \font =127} + +\DeclareFontShape{U}{ntxebgmia}{m}{it}{ + <-> \ntxmath@scaled ntxebgmia +}{} + +\DeclareFontShape{U}{ntxebgmia}{b}{it}{ + <-> \ntxmath@scaled ntxebgbmia +}{} + +\DeclareFontShape{U}{ntxebgmia}{m}{sl}{<->ssub * ntxebgmia/m/it}{} +\DeclareFontShape{U}{ntxebgmia}{bx}{it}{<->ssub * ntxebgmia/b/it}{} +\DeclareFontShape{U}{ntxebgmia}{b}{sl}{<->ssub * ntxebgmia/b/it}{} +\DeclareFontShape{U}{ntxebgmia}{bx}{sl}{<->ssub * ntxebgmia/b/sl}{} + +\endinput diff --git a/fonts/newtx/tfm/ebgmi0.tfm b/fonts/newtx/tfm/ebgmi0.tfm Binary files differdeleted file mode 100644 index ead467ba4f..0000000000 --- a/fonts/newtx/tfm/ebgmi0.tfm +++ /dev/null diff --git a/fonts/newtx/tfm/zutbmi.tfm b/fonts/newtx/tfm/zutbmi.tfm Binary files differindex 3e95e2cb3b..f094ee6cff 100644 --- a/fonts/newtx/tfm/zutbmi.tfm +++ b/fonts/newtx/tfm/zutbmi.tfm diff --git a/fonts/newtx/tfm/zutmi.tfm b/fonts/newtx/tfm/zutmi.tfm Binary files differindex 554ab8ccda..e682a636eb 100644 --- a/fonts/newtx/tfm/zutmi.tfm +++ b/fonts/newtx/tfm/zutmi.tfm diff --git a/fonts/newtx/vf/zutbmi.vf b/fonts/newtx/vf/zutbmi.vf Binary files differindex 7b0806cf5c..4f78742b4b 100644 --- a/fonts/newtx/vf/zutbmi.vf +++ b/fonts/newtx/vf/zutbmi.vf diff --git a/fonts/newtx/vf/zutmi.vf b/fonts/newtx/vf/zutmi.vf Binary files differindex 4ff17a04df..b783ece16c 100644 --- a/fonts/newtx/vf/zutmi.vf +++ b/fonts/newtx/vf/zutmi.vf |