summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-16 22:06:12 +0000
committerKarl Berry <karl@freefriends.org>2020-02-16 22:06:12 +0000
commit5b7751d20d680a03271d6c9b5bf32b853edc8d00 (patch)
tree685403d27175af6c1b17d90fcf85c846e560ec76
parent55ee6ad1a8628eee2695cca6f37539dfffd95ed4 (diff)
newtxtt (16feb20)
git-svn-id: svn://tug.org/texlive/trunk@53809 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/newtxtt/README6
-rw-r--r--Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdfbin75948 -> 165916 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex19
-rw-r--r--Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd9
-rw-r--r--Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd10
5 files changed, 37 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/README b/Master/texmf-dist/doc/fonts/newtxtt/README
index 94747cd0c67..64de697938e 100644
--- a/Master/texmf-dist/doc/fonts/newtxtt/README
+++ b/Master/texmf-dist/doc/fonts/newtxtt/README
@@ -1,7 +1,7 @@
This small package provides a means of accessing all features (plus scaling) of an extension of the txfont typewriter fonts as a typewriter font family to accompany any other chosen font packages. These are serifed typewriter faces that are taller and heavier than Latin Modern Typewriter and much heavier than Courier.
-Current version: 1.055
+Current version: 1.056, 2020-02-15
As the fonts on which these were based are licensed under GPL 3.0, so are the fonts in
@@ -19,6 +19,10 @@ The support files are subject to the LaTeX Project Public License. See
http://www.ctan.org/license/lppl1.3
for the details of that license.
+Changes in version 1.056
+1. Corrected the fd files so as to be useable without loading the package. (Thanks Jean-Francois Burnol.)
+2. Added documentation about how to do this.
+
Changes in version 1.055
Corrected word-spacing parameters, broken in the prior version. (Thanks Yudai Nakata.)
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf
index 17c271ed534..db4803924a1 100644
--- a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf
+++ b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex
index efa9192ecad..125acf3da0b 100644
--- a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex
+++ b/Master/texmf-dist/doc/fonts/newtxtt/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
diff --git a/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd b/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
index 43fb99826e4..8016ed67ae4 100644
--- a/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
+++ b/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
@@ -1,5 +1,5 @@
\ProvidesFile{t1newtxtt.fd}
- [2014/12/23 Font definitions for T1/newtxtt.]
+ [2020/02/15 Font definitions for T1/newtxtt.]
\expandafter\ifx\csname newtxtt@scale\endcsname\relax
\let\newtxtt@@scale\@empty
@@ -14,8 +14,11 @@
\fi
\let\newtxtt@@upq\@empty
-\expandafter\ifx\csname txtt@upqfalse\endcsname\relax
-\else
+\expandafter\ifx\csname txtt@upqfalse\endcsname\relax
+\csname iftrue\endcsname
+% fix proposed by Jean Francois Burnol to prevent "extra \fi"
+% error when using newtxtt directly from fd.
+\else
\iftxtt@upq\def\newtxtt@@upq{q}\fi
\fi
diff --git a/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd b/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd
index 581276b72a3..0e01b22aef4 100644
--- a/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd
+++ b/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd
@@ -1,5 +1,5 @@
\ProvidesFile{t1newtxttz.fd}
- [2014/05/30 Font definitions for T1/newtxttz.]
+ [2020/02/15 Font definitions for T1/newtxttz.]
\expandafter\ifx\csname newtxtt@scale\endcsname\relax
\let\newtxtt@@scale\@empty
@@ -14,8 +14,11 @@
\fi
\let\newtxtt@@upq\@empty
-\expandafter\ifx\csname txtt@upqfalse\endcsname\relax
-\else
+\expandafter\ifx\csname txtt@upqfalse\endcsname\relax
+\csname iftrue\endcsname
+% fix proposed by Jean Francois Burnol to prevent "extra \fi"
+% error when using newtxtt directly from fd.
+\else
\iftxtt@upq\def\newtxtt@@upq{q}\fi
\fi
@@ -68,3 +71,4 @@
%}{}
\endinput
+