summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-04 21:10:06 +0000
committerKarl Berry <karl@freefriends.org>2024-03-04 21:10:06 +0000
commit5bccf06d8aaf521811f41d99f62d18138d26d097 (patch)
treee5d3f0d5ef144dff000c6719dca59dccaf4480c1 /Master/texmf-dist/doc/fonts
parent255bb790cfebbdfc93a9d90fd7263756624558c1 (diff)
newtxtt (4mar24)
git-svn-id: svn://tug.org/texlive/trunk@70391 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r--Master/texmf-dist/doc/fonts/newtxtt/README9
-rw-r--r--Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdfbin193103 -> 340849 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex34
3 files changed, 32 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/README b/Master/texmf-dist/doc/fonts/newtxtt/README
index c6c1990ea5b..144a8c5e6e5 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.057, 2024-01-14
+Current version: 1.058, 2024-03-03
As the fonts on which these were based are licensed under GPL 3.0, so are the fonts in
@@ -19,6 +19,11 @@ 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.058
+1. Corrected some technical errors in the bold versions
+of the fonts. (Thanks to Edgaras Ĺ akuras for catching this.)
+2. Expanded the TS1 coverage to honor the zerostyle option.
+
Changes in version 1.057
1. Corrected or added appropriate values for \fontdimen7 (EXTRASPACE). (Thanks Jean-Francois Burnol.)
2. Corrected the documentation in line with these changes.
@@ -44,7 +49,7 @@ Corrected a bug in the T1 fd files from v1.05 that showed up only under some spe
Changes in version 1.05
1. Added a Knuthian zero more like a rounded oblong. Set this using the option zerostyle=e.
-2. Changed figures in small caps fonts to oldstyle. There are five styles for oldstyle zero, conrolled jst as for lining figures.
+2. Changed figures in small caps fonts to oldstyle. There are five styles for oldstyle zero, conrolled just as for lining figures.
3. Added a straightquotes option whose effect is to change the quote style from curly to straight.
4. Added options ttdefault, ttzdefault whose effects are to change the default text font to \ttfamily, \ttzfamily repectively.
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf
index 7bfd5390da7..36ca76631d3 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 a5f4ca0973a..319a3d06736 100644
--- a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex
+++ b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex
@@ -3,7 +3,7 @@
\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}
@@ -20,7 +20,8 @@
\font\fonte newtxtte at 11pt
\font\fontf newtxttsce at 11pt
%\font\fontg cmtt10 at 11pt
-\renewcommand*{\sfdefault}{lmtt}% sans serif is otherwise not used
+\usepackage{fonttable}
+\renewcommand*{\sfdefault}{qhv}% sans serif is otherwise not used
%SetFonts
\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.09emX\@}
\DeclareRobustCommand{\LaTeX}{L\kern-.28em%
@@ -45,11 +46,11 @@ provides access to its features, no matter what other text fonts you might be us
\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 with full glyph at the end of a sentence, the modified {\ttz 'z'} version adds a considerable smaller space;
+where monospaced typewriter fonts typically add an an extra space with full width at the end of a sentence, the modified {\ttz 'z'} version adds a considerably smaller space;
\item
hyphenation is not suppressed.
\end{itemize}
-These features may be accessed by means of the new macros \verb|\ttzdefault|, \verb|\ttzfamily|, \verb|\textttz| and \verb|\ttz| which are in all ways analogous to their monospace cousins. (Verbatim modes will continue to use the monospaced version.) The purpose of the {\tt ttz} version to allow use of \texttt{newtxtt} for blocks of {\tt TypeWriter}-like text, though not monospaced and respecting right justification. Eg,
+These features may be accessed by means of the new macros \verb|\ttzdefault|, \verb|\ttzfamily|, \verb|\textttz| and \verb|\ttz| which are in all ways analogous to their monospace cousins. (Verbatim modes will continue to use the monospaced version.) The purpose of the {\tt ttz} version to allow use of \texttt{newtxtt} for blocks of {\tt TypeWriter}-like text, though not monospaced and respecting right justification. E.g.,
\begin{verbatim}
{\ttz Block of text, perhaps many lines long, will be rendered right-justified.}
\end{verbatim}
@@ -64,7 +65,10 @@ The options you may use in loading this package are:
{\fontc 0} ---form {\tt c}, slashed, narrower than capital {\tt O};\\
{\fontd 0} ---form {\tt d}, dotted, narrower than capital {\tt O};\\
{\fonte 0} ---form {\tt e}, narrower than capital {\tt O}, more oblong.\\
-The option {\tt zerostyle} also affects the oldstyle figures that are available in \textsc{Small Caps}. That is, to obtain oldstyle typewriter figures, you have to use something like \verb|\texttt{\textsc{012}}|---the result using {\tt zerostyle=e} would be {\fontf 012}.
+The option {\tt zerostyle} also affects the oldstyle figures that are available in \textsc{Small Caps} and in \textsc{Text Companion} (TS1). That is, to obtain oldstyle typewriter figures, you have to use something like:
+\verb|\texttt{\textsc{012}}|, or \\
+\verb|\textzerooldstyle \textoneoldstyle \texttwooldstyle|.\\
+The result using {\tt zerostyle=e} would be {\fontf 012}.
\item
{\tt nomono} changes the {\tt tt} macro definitions replacing them, in effect, by their {\tt ttz} versions. I do not necessarily recommend this, but I find it useful when text alignment is not important, and I do not wish to change all existing \verb|\tt| to \verb|\ttz|. It affects verbatim modes also.
\item
@@ -72,12 +76,13 @@ The option {\tt zerostyle} also affects the oldstyle figures that are available
Single left and right quotes entered in \TeX\ source code as \verb|`| and \verb|'| normally render as curly quotes, {\tt `} and {\tt '}. With {\tt straightquotes}, they will render as \verb|`| and \verb|'|, and double quotes will render as {\tt \char`"}.
\item The option {\tt ttdefault} sets \verb|\familydefault| to \verb|\ttdefault| so the default Roman text will be rendered using {\tt newtxtt}.
\item The option {\tt ttzdefault} works similarly, but sets Roman text to use the non-monospaced {\tt newtxttz}.
+\item There are slanted versions of the fonts. You may use \verb|\textsl| or \verb|\textit| within typewriter text to activate them. E.g, \verb|\texttt{\textsl{Slanted text}}| produces \texttt{\textsl{Slanted text}}.
\end{itemize}
\textsc{New Macros:}
\begin{itemize}
\item
\verb|\ttz| switches to non-monospace typewriter mode; \\
-eg, \verb|{\ttz text in ttz mode}| renders as \\
+e.g., \verb|{\ttz text in ttz mode}| renders as \\
{\ttz text in ttz mode}.
\item Essentially the same effect with \verb|{\ttzfamily text in ttz mode}|.
\item \verb|\textttz{}| renders its argument in {\tt ttz} mode.
@@ -102,7 +107,7 @@ Comparison with Latin Modern Typewriter:
\texttt{TX Typewriter: This is just a line to illustrate typewriter 0123456789.}\\
\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''.
+\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 a much shorter 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}
@@ -119,7 +124,18 @@ For further control, you may add in your preamble lines like the following to se
\newif\iftxtt@upq\txtt@upqtrue % same effect as option straightquotes
% remove the \txtt@upqtrue for not straightquotes, the default
\makeatother
-
\end{verbatim}
-
+\newpage
+\section*{Font Samples}
+\textbf{\texttt{newtxtta}}:\\
+(Default for {\tt newtxtt}, {\tt T1} encoded.)\\
+\fonttable{newtxtta}
+\newpage
+\textbf{\texttt{newtxttscb}}:\\
+(Small Caps, {\tt T1} encoded with {\tt zerostyle=b}.)\\
+\fonttable{newtxttscb}
+\newpage
+\textbf{\texttt{newtcxtte}}:\\
+(Text companion {\tt ts1} with oldstyle figures, zero styled in more oblong shape.)\\
+\fonttable{newtcxtte}
\end{document} \ No newline at end of file