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.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/fonts/newtxtt/doc/newtxtt-doc.tex b/fonts/newtxtt/doc/newtxtt-doc.tex
index efa9192eca..125acf3da0 100644
--- a/fonts/newtxtt/doc/newtxtt-doc.tex
+++ b/fonts/newtxtt/doc/newtxtt-doc.tex
@@ -103,4 +103,23 @@ Comparison with Latin Modern Typewriter:
\textttz{TX Typewriter: This is just a line to illustrate typewriter 0123456789. (ttz)}
\textsc{Notes:} The first two are standard monospaced with the same spacing---the : is considered to be the end of a sentence---while the words in the third are spaced more compactly, it would hyphenate if necessary, and lacks the extra space at the end of a ``sentence''.
+
+\textbf{Using the fonts without using the package:} If you wish to use these fonts without making one of the them the \verb|\ttdefault|, you may call them directly from the {\tt fd}:
+\begin{verbatim}
+{\fontfamily{newtxtt}\selectfont ...} % or newtxttz
+\end{verbatim}
+or, for finer control of the \textsc{nfss} parameters,
+\begin{verbatim}
+{\usefont{T1}{newtxtt}{b}{n} ...} % or {newtxttz}{m}{sc}, etc
+\end{verbatim}
+For further control, you may add in your preamble lines like the following to select the zero style (five choices, a to e) and the shape of quotes:
+\begin{verbatim}
+\makeatletter
+\edef\newtxtt@fig{c} % one of a--e to determine the zerostyle, defaults to a
+\newif\iftxtt@upq\txtt@upqtrue % same effect as option straightquotes
+% remove the \txtt@upqtrue for not straightquotes, the default
+\makeatother
+
+\end{verbatim}
+
\end{document} \ No newline at end of file