From 0e1db9a175dc6e40e5975bd72684d0caf449ed3a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Oct 2013 00:07:19 +0000 Subject: newtx (15oct13) git-svn-id: svn://tug.org/texlive/trunk@31911 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/newtx/README | 5 ++- Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf | Bin 456387 -> 459756 bytes Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex | 56 ++++++++++++++++++++++++- 3 files changed, 59 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/doc/fonts') diff --git a/Master/texmf-dist/doc/fonts/newtx/README b/Master/texmf-dist/doc/fonts/newtx/README index ef0988cc1f5..b2e3c97914f 100644 --- a/Master/texmf-dist/doc/fonts/newtx/README +++ b/Master/texmf-dist/doc/fonts/newtx/README @@ -1,9 +1,12 @@ This package, 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.141 +Current version: 1.15 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. +Changes in version 1.15 +Added minlibertine fonts and modified newtxmath.sty to improve behavior under XeLaTeX and LuaLaTeX. + Changes in version 1.141 Corrected two errors in definitions of math delimiters <,> under bigdelims option. diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.pdf index 95376942858..497feb442a7 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 b97d8a377d9..3a83992f858 100644 --- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex @@ -117,6 +117,60 @@ allows you to use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \ver \end{verbatim} \textbf{Caution:} In encodings {\tt T1} and {\tt LY1}, the macro \verb|\mathrm| does not produce what you might expect for Greek letters, due to the difference between those encodings and {\tt OT1}. But what were you expecting with \verb|\mathrm{Gamma}| anyway? In {\tt T1} and {\tt LY1}, you'll get a math accent. + +\section{Usage with Lua\LaTeX\ and Xe\LaTeX} +As far as I can tell, \textsf{newtxmath} works with both, but requires a very specific loading order and choice of options. Briefly, except for {\tt libertine} text, the math options must all be loaded prior to loading and using {\tt fontspec}. Be aware that some text packages (eg, {\tt cabin}) may contain a line like +\begin{verbatim} +\RequirePackage{fontspec} +\end{verbatim} +which would prevent (``option clash'' error) a subsequent +\begin{verbatim} +\usepackage[no-math]{fontspec} +\end{verbatim} +unless suppressed by an appropriate option. Eg, +\begin{verbatim} +\usepackage[type1]{cabin} +\end{verbatim} +prevents the problem with the {\tt cabin} package. + +The following examples illustrate some general models, the most unintuitive being the first because it loads a small version, {\tt minlibertine}, of libertine text for use in math mode as numbers, basic symbols and operators. + +\textsc{Example 3:} +\begin{verbatim} +%load text components other than libertine text to be used in math +\usepackage[T1]{fontenc} +\usepackage[scaled=.85]{beramono}% used only by \mathtt +\usepackage[type1]{cabin}% used only by \mathsf +\usepackage{amsmath,amsthm} +\usepackage[libertine,bigdelims]{newtxmath} +% loads minlibertine because no other Roman text package was specified +% so that \mathrm and \mathbf also use minlibertine +\usepackage[scr=rsfso]{mathalfa} +\usepackage{bm}% load after all math to give access to bold math +%Now load the otf text fonts using fontspec---won't affect math +\usepackage[no-math]{fontspec} % process with XeLaTeX or LuaLaTeX +\usepackage{libertine} +\end{verbatim} +The next example is similar, but in math mode, numbers, basic symbols, operator names, \verb|\mathrm| and \verb|\mathbf| will render with {\tt fbb-LF}, though math italic and math Greek letters will be from {\tt libertine}. (Note that one specifies the encoding and redefines \verb|\rmdefault|. For reasons I don't yet understand, it may not work to load the font package---ie, don't substitute \verb|\usepackage{fbb}|, as that will mess up bold in the libertine text package.) + +\textsc{Example 4:} +\begin{verbatim} +%load text components other than libertine text to be used in math +\usepackage[T1]{fontenc} +\renewcommand{\rmdefault}{fbb-LF}% Roman font for use in math mode +\usepackage[scaled=.85]{beramono}% used only by \mathtt +\usepackage[type1]{cabin}% used only by \mathsf +\usepackage{amsmath,amsthm} +\usepackage[libertine,cmintegrals,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 +%Now load the otf text fonts using fontspec---won't affect math +\usepackage[no-math]{fontspec} % process with XeLaTeX or LuaLaTeX +\usepackage{libertine} +\end{verbatim} + + \section{Alternate forms of glyphs} Several math glyphs have alternate forms: \begin{center} @@ -137,7 +191,7 @@ To use an alternate form throughout your document without changing all occurrenc \let\forall\forallAlt \end{verbatim} \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, +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} -- cgit v1.2.3