summaryrefslogtreecommitdiff
path: root/fonts/newtxtt/doc/newtxtt-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/newtxtt/doc/newtxtt-doc.tex')
-rw-r--r--fonts/newtxtt/doc/newtxtt-doc.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/fonts/newtxtt/doc/newtxtt-doc.tex b/fonts/newtxtt/doc/newtxtt-doc.tex
index 125acf3da0..a5f4ca0973 100644
--- a/fonts/newtxtt/doc/newtxtt-doc.tex
+++ b/fonts/newtxtt/doc/newtxtt-doc.tex
@@ -1,16 +1,16 @@
% !TEX TS-program = pdflatexmk
-\documentclass{article}
+\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
-\pdfmapfile{=newtxtt.map}
+%\pdfmapfile{=newtxtt.map}
\usepackage{graphicx}
%SetFonts
\usepackage{XCharter}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[zerostyle=a,scale=1.1]{newtxtt} % TX typewriter
-\usepackage[libertine,bigdelims]{newtxmath}
+\usepackage[xcharter]{newtxmath}
\usepackage{upquote}
\useosf
\font\fonta newtxtta at 11pt
@@ -40,12 +40,12 @@ There is a relative paucity of free serifed typewriter fonts available for use
\usepackage{newtxtt} % options can be added
\end{verbatim}
provides access to its features, no matter what other text fonts you might be using. It should be placed after all your other text font loading packages that might contain instructions to change \verb|\ttdefault|, and before loading math packages so that the math packages can make a suitable definition of \verb|\mathtt|. With no options specified, as above, you'll get full functionality as a monospaced typewriter font family, with typewriter text rendered using essentially {\tt txtt}, but with a five choices for the glyph `zero'. In addition, the package provides italic (slanted) and bold versions, plus small caps in regular (medium) and bold weights, upright shape only. It is offered only in T$1$ (plus full TS$1$) encoding. The macros \verb|\ttdefault|, \verb|\ttfamily|, \verb|\texttt| and the obsolete but convenient macro \verb|\tt| may be used to access this font.
- The package provides, by means of options or macros, an alternate form of {\tt newtxtt} differing from it in some important ways:
+ The package provides, by means of options or macros, an alternate form of {\tt newtxtt} with names containing a {\ttz 'z'}, differing from it in some important ways:
\begin{itemize}
\item
the interword spacing is no longer the same as the glyph spacing, but is variable though generally smaller---{\tt fontdimen} settings have been changed to resemble those of text fonts;
\item
- where monospaced typewriter fonts typically add an an extra space at the end of a sentence, the modified version does not;
+where monospaced typewriter fonts typically add an an extra space with full glyph at the end of a sentence, the modified {\ttz 'z'} version adds a considerable smaller space;
\item
hyphenation is not suppressed.
\end{itemize}
@@ -89,7 +89,7 @@ This document uses the following font settings:
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[zerostyle=a]{newtxtt} % TX typewriter
-\usepackage[libertine,bigdelims]{newtxmath}
+\usepackage[xcharter]{newtxmath}
\end{verbatim}
If you use {\tt microtype} and have blocks of verbatim of typewriter text, you may find it best to prevent protrusion in that mode with the command (following \verb|\usepackage{microtype}|)\begin{verbatim}