diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-17 03:02:28 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-17 03:02:28 +0000 |
commit | 67394fd2cfa6167f7e2316237629bec93851c1fb (patch) | |
tree | 7cb1cd102e6b083d4cc4ad6ad5ef19262d2e21b1 /fonts/newtxtt/doc | |
parent | 7b19cae701283a0c7c6cb760c3b28ba912abdaea (diff) |
CTAN sync 202002170302
Diffstat (limited to 'fonts/newtxtt/doc')
-rw-r--r-- | fonts/newtxtt/doc/newtxtt-doc.pdf | bin | 75948 -> 165916 bytes | |||
-rw-r--r-- | fonts/newtxtt/doc/newtxtt-doc.tex | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/fonts/newtxtt/doc/newtxtt-doc.pdf b/fonts/newtxtt/doc/newtxtt-doc.pdf Binary files differindex 17c271ed53..db4803924a 100644 --- a/fonts/newtxtt/doc/newtxtt-doc.pdf +++ b/fonts/newtxtt/doc/newtxtt-doc.pdf 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 |