summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/newtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-16 21:42:49 +0000
committerKarl Berry <karl@freefriends.org>2016-08-16 21:42:49 +0000
commit6351567b386c7a099226a10fa99f3472c3d14288 (patch)
tree40895172329a08328d56f17e8e0ba27aaf0042cd /Master/texmf-dist/doc/fonts/newtx
parentb9e5fb751f5fb86c0d56372ae874583cfc58ef77 (diff)
newtx (16aug16)
git-svn-id: svn://tug.org/texlive/trunk@41864 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newtx')
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/README11
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdfbin382249 -> 442501 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex142
3 files changed, 139 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README
index 314ae9b7cfb..7951cb2cf98 100644
--- a/Master/texmf-dist/doc/fonts/newtx/README
+++ b/Master/texmf-dist/doc/fonts/newtx/README
@@ -1,10 +1,19 @@
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.466 2016-03-27
+Current version: 1.5 2016-08-12
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.5
+1. Changes to metadata in some component math pfb files (family name and style name) for better CSS compliance.
+2. Addition of new slanted and upright integrals, replacing those in versions prior to 1.5.
+3. Added smaller versions of large operator symbols, called with option smallerops.
+4. Added macros to allow changes of math fontdimens---\setSYdimens and \setEXdimens.
+5. Replaced a few math glyphs with versions that are, IMO, better.
+6. Added a number of new math symbols and delimiters.
+7. Changed heights of large delimiters to match those in common usage.
+
Changes in version 1.466
Corrected some kerning issues involving bracket, f and paren in regular, bold and theoremitalic.
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf
index 71845eaa07f..ea92ee87a4d 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 5d543691678..ba5584e09dd 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
@@ -20,7 +20,7 @@
\newtheorem{oldthm}{Theorem}[section]
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
-\pdfmapfile{=newtx.map}
+%\pdfmapfile{=newtx.map}
\usepackage[osf,largesc,theoremfont]{newtxtext}
\usepackage[T1]{fontenc}
\usepackage[varqu,varl]{zi4}
@@ -28,7 +28,10 @@
%\useosf
\usepackage{bm}
%SetFonts
-\usepackage{booktabs}
+\makeatletter
+\DeclareMathSymbol{\Sumop}{\mathop}{largesymbols}{"50}
+\makeatother
+\usepackage{array,booktabs}
\title{New TX font package}
\author{Michael Sharpe}
\date{\today} % Activate to display a given date or no date
@@ -38,6 +41,10 @@
\section{Introduction}
This package is meant to be a replacement for Young Ryu's {\tt txfonts}. It is a complete text ({\tt newtxtext}) and math ({\tt newtxmath}) package with roman text font provided by a Times clone, sans serif based on a \textsf{Helvetica} clone, typewriter faces, plus math symbol fonts whose math italic letters are from a Times Italic clone. As of version 1.4, {\tt newtxtext} no longer depends on {\tt txfonts} but is based on the richer source \textsf{TeXGyre Termes}, but {\tt newtxmath} continues to use the {\tt txfonts} math glyphs with many metric adjustments and some wholesale modifications.
+\textsc{Very Important:} The math package changed substantially as of version 1.5, changing a number of glyphs, adding an option to reduce the sizes of large operators, and changing the integral signs to a choice of upright and slanted forms, each available in twelve variants. The new options are {\tt upint} (upright integrals) and {\tt smallerops} (smaller large operators.) Some previously available options may no longer have any effect. The changes are described in detail in the section on math mode options. A summary of the changes in version 1.5 is given in the Appendix.
+
+
+
This math package works, after possibly replacing its math Roman and Greek letters, with fonts other than Times that are intermediate in weight between Computer Modern and Times. The free font Linux Libertine is one particular target---it is of nearly the same x-height as Computer Modern, but, not being a \emph{modern} font, does not have a high contrast ratio, and so appears denser than Computer Modern but not as much so as Times. It is meant as a replacement for Times, but differs from it in many characteristics, more similar to MinionPro than Times, and provides a better range of variants than Times---three weights (regular, semi-bold and bold) rather than just two, and has expert features in all weights: old-style figures, more extensive and more interesting ligatures, and small caps. In my opinion, material typeset in Linux Libertine looks better than the corresponding material typeset in Times. This seems especially true on the screen. As of version 1.0, the package also offers support for MinionPro as a math font, but with limitations described in detail below. More recently, an option to provide math support for the \textsf{garamondx} text font package was added.
The {\tt newtx} package differs from {\tt txfonts} in the following ways:
@@ -152,6 +159,34 @@ The package invoked by
\end{verbatim}
loads the math part of the {\tt txfonts} (with revised metrics and additional glyphs) and should be loaded \emph{after} the text font and its encoding have been specified, as it uses the text font settings to define how operators, numbers, math accents, \verb|\mathrm|, \verb|\mathbf| etc.\ are rendered. You should also load a Typewriter font so as not to generate mysterious error messages about \textsf{metafont} trying to generate \texttt{ectt10}. The package offers a number of options.
\begin{itemize}
+\item {\tt upint} (new as of version 1.5) selects upright integrals---the default shape is slanted. Each shape/size of integral takes one of twelve form, illustrated below in the case of display size slanted integrals.
+\[\int\quad\oint\quad\iint\quad\iiint\quad\iiiint\quad\oiint\quad\oiiint\quad\varointclockwise\quad\ointctrclockwise\quad\fint\quad\sumint\quad\sqint\]
+named respectively
+\begin{verbatim}
+\int \oint \iint \iiint \iiiint \oiint
+\oiiint \varointclockwise \ointctrclockwise \fint \sumint \sqint
+\end{verbatim}
+The three sizes of the upright integrals look like:
+\begin{center}
+ \begin{tabular}{@{} cl @{}}
+ \hline
+ Glyph & Command\\
+ \hline
+ $\smallintup$ & \verb|\smallint[up]|\\
+ $\intup$ & \verb|\int[up]| \\
+ $\displaystyle{\intup}$ & \verb|\displaystyle{\int[up]}|\\
+ \hline
+ \end{tabular}
+\end{center}
+Note that the suffix {\tt up} is not required unless the document's integral style is slanted. You may find the \verb|\smallint| is useful for inline math mode when it is important not to change the line spacing.
+\item {\tt smallerops} (new as of version 1.5) causes big operators other than integrals to render up to 20\% less tall, so that displayed formulas may occupy less vertical space. For example, in the following display, the first operator is the usual \verb|\sum|, the second is what you would get with {\tt smallerops}, the third is \verb|\sum| and the fourth is \verb|\smallsum|, the latter being used mainly with inline math.
+\[\sum \Sumop \sum \smallsum\]
+Similarly, there are \verb|\smallprod| and \verb|\smallcoprod| which, along with \verb|\smallsum|, are of class {\tt mathop}, unlike their Greek letter equivalents.
+\item (New as of version 1.5.) Two new commands are provided to modify {\tt fontdimen} values in math mode: \verb|\setSYdimens| and \verb|\setEXdimens|, which allow you to change the {\tt fontdimen} parameters for the {\tt symbol} and {\tt extension} fonts respectively. Their arguments can be any valid \TeX\ commands to change {\tt fontdimen} values and must be used only in your preamble. For example:
+\begin{verbatim}
+\setSYdimens{\fontdimen16\font=2pt\fontdimen17\font=2pt }
+\end{verbatim}
+Don't use these unless you know what you're doing.
\item {\tt varg} causes the math italic letters \verb|g,v,w,y| to be replaced by versions which are more distinctive---eg, useful for distinguishing math italic \verb|v| from \verb|\nu|;
\item {\tt libertine} loads different versions of math italic and bold math italic based on \textsf{Libertine} rather than \textsf{Times}---the {\tt varg} option is disabled in this case, as the equivalent variant forms are made available by default;
\item {\tt minion} loads different versions of math italic and bold math italic based on \textsf{MinionPro} rather than \textsf{Times}---the {\tt varg} option is disabled in this case, as the equivalent variant forms are made available by default---see the extended discussion below;
@@ -167,18 +202,20 @@ loads the math part of the {\tt txfonts} (with revised metrics and additional gl
\item the {\tt libertine} option also replaces both slanted and upright Greek symbols by the corresponding Libertine glyphs, and similarly for {\tt minion}, {\tt garamondx} and {\tt cochineal};
\item
{\tt cmintegrals} instructs \textsf{newtxmath} to load a thicker version of the Computer Modern integral in place of the \textsf{newtxmath} default---the txfonts integral (identical to the integral in the Wolfram fonts), which is not to everyone's taste---a consequence is that none of the special forms of \textsf{txfonts} integrals are available;
+\textbf{As of version 1.5, this option does nothing, as the new default is slanted integrals.}
\item the combination
\begin{verbatim}
% The next line is no longer needed, as newtxmath Requires it
%\usepackage{amsmath}% loads amstext, amsbsy, amsopn but not amssymb
\usepackage{newtxmath}
\end{verbatim}
-causes no error, unlike the same combination with {\tt txfonts}, but does nothing significant. (Recall that {\tt amsmath} is loaded automatically if you use an \textsc{ams} document class such as {\tt amsart} or {\tt amsbook}, as is {\tt amsthm}.) The integrals are as defined in {\tt txfonts}. On the other hand,
-\begin{verbatim}
-%\usepackage{amsmath} % no longer needed
-\usepackage[cmintegrals]{newtxmath}
-\end{verbatim}
-allows you to use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \verb|\idotsint| defined in {\tt amsmath}, but using the pumped-up Computer Modern integral loaded by {\tt newtxmath}.
+causes no error, unlike the same combination with {\tt txfonts}, but does nothing significant. (Recall that {\tt amsmath} is loaded automatically if you use an \textsc{ams} document class such as {\tt amsart} or {\tt amsbook}, as is {\tt amsthm}.) The integrals are as defined in {\tt txfonts}.
+%On the other hand,
+%\begin{verbatim}
+%%\usepackage{amsmath} % no longer needed
+%\usepackage[cmintegrals]{newtxmath}
+%\end{verbatim}
+%allows you to use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \verb|\idotsint| defined in {\tt amsmath}, but using the pumped-up Computer Modern integral loaded by {\tt newtxmath}.
\item If you wish to use \verb|\usepackage{amsthm}|, place it before loading {\tt newtxmath} or the result will be
\begin{verbatim}
! LaTeX Error: Command \openbox already defined.
@@ -236,7 +273,7 @@ gives
\usepackage{textcomp} % required to get special symbols
\usepackage[varqu,varl]{inconsolata}% a typewriter font must be defined
\usepackage{amsthm}% must be loaded before newtxmath
-\usepackage[libertine,cmintegrals,bigdelims,vvarbb]{newtxmath}
+\usepackage[libertine,bigdelims,vvarbb]{newtxmath}
\usepackage[scr=rsfso]{mathalfa}
\usepackage{bm}% load after all math to give access to bold math
%After loading math package, switch to osf in text.
@@ -288,7 +325,7 @@ The next example is similar, but in math mode, numbers, basic symbols, operator
\usepackage[scaled=.85]{beramono}% used only by \mathtt
\usepackage[type1]{cabin}% used only by \mathsf
\usepackage{amsthm}% load before newtxmath
-\usepackage[libertine,cmintegrals,bigdelims,vvarbb]{newtxmath}
+\usepackage[libertine,bigdelims,vvarbb]{newtxmath}
% does not load minlibertine because another Roman text package was specified
\usepackage[scr=rsfso]{mathalfa}
\usepackage{bm}% load after all math to give access to bold math
@@ -299,7 +336,7 @@ The next example is similar, but in math mode, numbers, basic symbols, operator
\section{Alternate forms of glyphs}
-Several math glyphs have alternate forms:
+Prior to version 1.5, several math glyphs had alternate forms:
\begin{center}
\begin{tabular}{@{} llll @{}}
\hline
@@ -312,17 +349,19 @@ Several math glyphs have alternate forms:
\hline
\end{tabular}
\end{center}
-You should be aware that using \verb|\varnothing| requires loading AMSb.\\
+
To use an alternate form throughout your document without changing all occurrences of the usual command, insert something like the following in your preamble after loading \texttt{newtxmath}:
\begin{verbatim}
\let\forall\forallAlt
\end{verbatim}
+As of version 1.5, the old {\tt txfonts} versions of \verb|\forall|, \verb|\exists| and \verb|\nexists| have been removed and the {\tt Alt} versions substituted. Both \verb|\forall| and \verb|\forallAlt| generate $\forall$, and similarly with \verb|\exists| and \verb|\nexists|.
+
\section{Conformity with amsmath}
The {\tt newtxmath} package now contains a \verb|\RequirePackage{amsmath}|, as it uses a number of the macros defined there. To pass options to {\tt amsmath}, you can pass the options as options to \verb|\documentclass|. For example,
\begin{verbatim}
\documentclass[11pt,intlimits]{article}
\usepackage{newtxtext}
-\usepackage[bigdelims]{newtxmath}
+\usepackage{newtxmath}
\end{verbatim}
will load {\tt amsmath} with option {\tt intlimits}. As of version 1.14, {\tt newtxmath} respects the {\tt amsmath} macros for placement of limits on integrals.
@@ -540,5 +579,82 @@ The font files {\tt ntxexmods.pfb} and {\tt ntxbexmods.pfb} were derived from {\
The last two entries provide us with a way to access custom-encoded versions of {\tt fxlri.pfb} and {\tt fxlbi.map} in order to access some of the unencoded alternate characters---eg, Greek letters, {\tt J.alt} and {\tt v.alt}. The font file \textsf{LibertineTheta-Regular.pfb} was created from the Theta symbol in {\tt fxlri.pfb}, which requires some FontForge help to look correct.
This version contains optical versions of the math italic and symbol fonts at 7\texttt{pt} and 5\texttt{pt}, allowing better rendering in \verb|\scriptstyle| and \verb|\scriptscriptstyle|.
+\section{Appendix: Changes made in version 1.5}
+\begin{itemize}
+\item
+The large delimiters have been modified so match the heights in common usage by \texttt{cmex10} and other packages. (Those formerly used by \texttt{newtxmath} were somewhat shorter, resulting in unexpected behavior of \verb|\Big|, \verb|\bigg|, etc.)
+\item
+The integrals used in previous versions have been discarded and replaced by an upright and a slanted form, the latter being the default. The option {\tt upint} switches to the upright form. (The former option {\tt cmintegrals} now has no effect.) Integrals are of three types: small, textstyle and displaystyle. Each size is available in twelve variants. Assuming slanted (the default) is selected, there are 36 regular-weight forms:
+\setlength{\extrarowheight}{8pt}
+\begin{center}
+ \begin{tabular}{@{} llll @{}}
+ \toprule
+ Small && Text, Display& \\
+ \midrule
+$\smallint$ & \verb|$\smallint$|& $\int$, $\displaystyle{\int}$& \verb|$\int$|\\
+$\smalliint$ & \verb|$\smalliint$|& $\iint$, $\displaystyle{\iint}$&\verb|$\iint$|\\
+$\smalliiint$ & \verb|$\smalliiint$|& $\iiint$, $\displaystyle{\iiint}$& \verb|$\iiint$|\\
+$\smalliiiint$ & \verb|$\smalliiiint$|& $\iiiint$, $\displaystyle{\iiiint}$& \verb|$\iiiint$|\\
+$\smalloint$ & \verb|$\smalloint$|& $\oint$, $\displaystyle{\oint}$& \verb|$\oint$|\\
+$\smalloiint$ & \verb|$\smalloiint$|& $\oiint$, $\displaystyle{\oiint}$& \verb|$\oiint$|\\
+$\smalloiiint$ & \verb|$\smalloiiint$|& $\oiiint$, $\displaystyle{\oiiint}$& \verb|$\oiiint$|\\
+$\smallfint$ & \verb|$\smallfint$|& $\fint$, $\displaystyle{\fint}$& \verb|$\fint$|\\
+$\smallsqint$ & \verb|$\smallsqint$|& $\sqint$, $\displaystyle{\sqint}$& \verb|$\sqint$|\\
+$\smallsumint$ & \verb|$\smallsumint$|& $\sumint$, $\displaystyle{\sumint}$& \verb|$\sumint$|\\
+$\smallvarointclockwise$ & \verb|$\smallvarointclockwise$|& $\varointclockwise$, $\displaystyle{\varointclockwise}$& \verb|$\varointclockwise$|\\
+$\smallointctrclockwise$ & \verb|$\smallointctrclockwise$|& $\ointctrclockwise$, $\displaystyle{\ointctrclockwise}$& \verb|$\ointctrclockwise$|\\
+ \bottomrule
+ \end{tabular}
+\end{center}
+\item The overly small delimiters ([\{ in Times are no longer used in math mode, being replaced by bigger versions. The former option {\tt bigdelims} no longer has any effect.
+\item There is a new option {\tt smallerops} which chooses smaller renditions (20\% smaller in displaystyle, 10\% smaller in textstyle) of the {\tt bigoperators}:
+\begin{verbatim}
+\bigsqcup
+\bigodot
+\bigoplus
+\bigotimes
+\sum
+\prod
+\bigcup
+\bigcap
+\biguplus
+\bigwedge
+\bigvee
+\bigcupdot
+\bigcapplus
+\bigsqcupplus
+\bigsqcapplus
+\bigsqcap
+\bigtimes
+\coprod
+\end{verbatim}
+\item The dot accents are now taken from a slightly larger series, making available \verb|\dot|, \verb|\ddot|, \verb|\dddot| and \verb|\ddddot|. For best horizontal alignment with other accents, choose the option {\tt timesmathacc} when loading {\tt newtxmath}.
+\item New accents have been added and the old vector accent has been replaced. The new accents are:
+\verb|\vec|$\quad\vec{}$\\
+\verb|\lvec|$\quad\lvec{}$\\
+\verb|\lrvec|$\quad\lrvec{}$\\
+\verb|\harpoonacc|$\quad\harpoonacc{}$\\
+\verb|\lharpoonacc|$\quad\lharpoonacc{}$\\
+\verb|\lrharpoonacc|$\quad\lrharpoonacc{}$\\
+\verb|\barbar|$\quad\barbar{}$\\
+\verb|\bartilde|$\quad\bartilde{}$\\
+\verb|\barhat|$\quad\barhat{}$\\
+\verb|\tildebar|$\quad\tildebar{}$\\
+\verb|\tildetilde|$\quad\tildetilde{}$\\
+\verb|\tildehat|$\quad\tildehat{}$\\
+\verb|\hatbar|$\quad\hatbar{}$\\
+\verb|\hattilde|$\quad\hattilde{}$\\
+\verb|\hathat|$\quad\hathat{}$\\
+\item New glyphs: (B denotes bigger, S denotes smaller)\\
+\verb|\cdotB| $\quad\cdotB$ (cf. \verb|\cdot| $\quad\cdot$)\\
+\verb|\cdotBB| $\quad\cdotBB$\\
+\verb|\circS| $\quad\circS$ (cf. \verb|\circ| $\quad\circ$)\\
+\verb|\bulletS| $\quad\bulletS$ (cf. \verb|\bullet| $\quad\bullet$)\\
+\verb|\bulletSS| $\quad\bulletSS$\\
+\verb|\bulletSSS| $\quad\bulletSSS$\\
+\verb|\primeS| $\quad\primeS$ (cf. \verb|\prime| $\quad\prime$)\\
+
+\item New macros \verb|\setSYdimens| and \verb|\setEXdimens| allow experts to modify some math font dimensions.
+\end{itemize}
\end{document} \ No newline at end of file