summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex37
1 files changed, 22 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
index fce1173a64f..50c08ed0b2d 100644
--- a/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newtx/newtxdoc.tex
@@ -1,20 +1,24 @@
+% !TEX TS-program = pdflatexmk
\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
-\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
+\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{url}
%SetFonts
% libertine text and newtxmath
-\usepackage{libertine}
-\usepackage[TS1,T1]{fontenc}
+\usepackage{lmodern}
+\usepackage[lining,semibold]{libertine-type1}
+\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[scaled=.85]{beramono}
\usepackage{amsmath,amsthm}
\usepackage[libertine]{newtxmath}
-%\usepackage[bb=boondox,frak=boondox,scr=rsfso]{mathalfa}
\usepackage{bm}
-\renewcommand*{\rmdefault}{fxlj} %old-style figures in text, not math
-\def\libertine{\fontfamily{fxlj}\selectfont}
+\renewcommand*
+ {\rmdefault}
+ {LinuxLibertineO-OsF}
+%\renewcommand*{\rmdefault}{zxlj} %old-style figures in text, not math
+%\def\libertine{\fontfamily{zxlj}\selectfont}
%SetFonts
\usepackage{booktabs}\title{New TX font package}
\author{Michael Sharpe}
@@ -82,8 +86,11 @@ allows you to use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \ver
\item The \textsf{newtxmath} package contains three different Blackboard Bold alphabets, where original \textsf{txfonts} contained two. The default, triggered by \verb|\mathbb{}|, takes its glyphs from the font which replaces {\tt msbm} and has the same overall appearance of a hollowed-out text font, which I find neither bold nor blackboard-like. The second option, taken from \textsf{txfonts}, is triggered by \verb|\varmathbb{}|, is more geometric and, in my opinion, preferable but not optimal. The option {\tt varbb} makes \verb|\mathbb{}| synonymous with \verb|\varmathbb{}|. The third option is the double-struck glyphs from the STIX collection. See the expanded discussion below.
\item {\tt nosymbolsc} causes the package to not load the {\tt symbolsC} fonts, saving a math family. (This font contains mostly exotic symbols, along with some very useful, commonly used symbols like \verb|\coloneq| $\coloneq$, \verb|\eqcolon| $\eqcolon$, \verb|\notin| $\notin$, \verb|\notni| $\notni$, \verb|\neq| $\neq$, \verb|\nsubset| $\nsubset$ and \verb|\nsupset| $\nsupset$, but these have been moved (virtually) to {\tt lettersA} so they may continue to be used even if you use the option {\tt nosymbolsc}.)
\item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt txfonts} versions of the \textsc{ams} symbols ({\tt msam}, {\tt msbm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save two of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalfa} package.)
-\item {\tt libaltvw} has effect only if the libertine option is selected---in this case, it substitutes for math italic v and w hand-crafted versions based on the Liberine upsilon glyphs.
+\item {\tt libaltvw} has effect only if the libertine option is selected---in this case, it substitutes for math italic v and w hand-crafted versions based on the Libertine upsilon glyphs.
+\item {largelibfigs} has effect only if the libertine option is selected---with this option, full-sized figures are substituted in math mode for the default Libertine figures, which are about 8\% below Libertine's Capheight.
\end{itemize}
+\textbf{IMPORTANT:} The Libertine text package is now {\tt libertine-type1}, which requires arguments that are different from the original libertine package.
+
\textsc{Example 1:}
\begin{verbatim}
\usepackage{newtxtext} % T1, lining figures so math uses lf
@@ -95,17 +102,16 @@ allows you to use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \ver
\end{verbatim}
\textsc{Example 2:}
\begin{verbatim}
-\usepackage[nf]{libertine} % a bit lighter than Times--no osf in math
-\usepackage[T1]{fontenc} %the only LaTeX encoding that works with libertine
+\usepackage[lining,semibold]{libertine-type1} % a bit lighter than Times--no osf in math
+\usepackage[T1]{fontenc} % best for Western European languages
\usepackage{textcomp} % required to get special symbols
-\renewcommand{\bfdefault}{z} % libertine package uses z, not sb, for semibold
\usepackage[scaled=.85]{beramono}% a typewriter font must be defined
\usepackage{amsmath,amsthm}
\usepackage[libertine,cmintegrals,cmbraces,vvmathbb]{newtxmath}
\usepackage[scr=rsfso]{mathalfa}
\usepackage{bm}% load after all math to give access to bold math
-\renewcommand*{\rmdefault}{fxlj} %old-style figures in text, not math
-\def\libertine{\fontfamily{fxlj}\selectfont}
+\renewcommand*{\rmdefault}{LinuxLibertineO-OsF} %old-style figures in text, not math
+% use TOsF for tabular figures rather than proportional
\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.
@@ -172,7 +178,7 @@ The text glyphs dotlessi (\verb|\i|) and dotlessj (\verb|\j|) are rarely needed
\hline
\end{tabular}
\end{center}
-\newcommand{\xyvec}[2]{\ensuremath{#1\bm{\textbf{\i}}#2\bm{\textbf{\j}}}}
+\newcommand{\xyvec}[2]{\ensuremath{#1\mkern1.5mu\bm{\textbf{\i}}#2\mkern1.5mu\bm{\textbf{\j}}}}
In math, bold roman characters are often used to indicate vector quantities, and for this one uses constructions like
\begin{itemize}
@@ -187,7 +193,8 @@ In math, bold roman characters are often used to indicate vector quantities, and
\item \verb|$\bm{\dot{x}}$| produces $\bm{\dot{x}}$ (bold but not roman);
\item the macro definition
\begin{verbatim}
-\newcommand{\xyvec}[2]{\ensuremath{#1\bm{\textbf{\i}}#2\bm{\textbf{\j}}}}
+\newcommand{\xyvec}[2]{%
+\ensuremath{#1\mkern1.5mu\bm{\textbf{\i}}#2\mkern1.5mu\bm{\textbf{\j}}}}
\end{verbatim}
allows you to write \verb|\xyvec{x}{+y}| to output $\xyvec{x}{+y}$;
\item \verb|$\bm{\Gamma}$| produces $\bm{\Gamma}$ (bold Gamma);
@@ -316,7 +323,7 @@ Good match between text and math size and weight, though the summation symbol (f
\item infinity symbol not sufficiently large?
\item the package lacks a number of amenities that are present in other packages.
\end{itemize}
-\section{Items installed} As well as a collection of PostScript fonts, virtual fonts, font definition files and the central {\tt newtxtext.sty} and {\tt newtxmath.sty} files, the package contains one map file {\tt ntx.map} that must be enabled for the package to function correctly. The file \texttt{implementation.pdf} in this distribution provides a manifest of all files installed together with a brief indication of the sources.
+\section{Items installed} As well as a collection of PostScript fonts, virtual fonts, font definition files and the central {\tt newtxtext.sty} and {\tt newtxmath.sty} files, the package contains one map file {\tt newtx.map} that must be enabled for the package to function correctly. Its name was changed from {\tt ntx.map} to mirror the package name.) The file \texttt{implementation.pdf} in this distribution provides a manifest of all files installed together with a brief indication of the sources.
%It is the glue that allows. The two {\tt fxl*.pfb} files to which they refer are part of the Libertine-Legacy collection that is part of \TeX\ Live. The map file {\tt libertine.map} must not have been disabled. The other {\tt.pfb} files are either part of the \textsf{txfonts} or are fonts derived from them or from the \textsf{Computer Modern} fonts in some manner.
%\begin{verbatim}