diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-04 21:35:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-04 21:35:34 +0000 |
commit | d14c2b8b85a2d293f88f66729a7ddae211daedf7 (patch) | |
tree | 77e13b6854829efecc3de3edf088bee21d5405ab /Master/texmf-dist/doc/fonts | |
parent | f9822caf9ce5ac6d46ea90d6c8ceff29a96a4fb3 (diff) |
newtxtt (4may14)
git-svn-id: svn://tug.org/texlive/trunk@33819 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxtt/README | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf | bin | 0 -> 63911 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex | 61 |
3 files changed, 84 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/README b/Master/texmf-dist/doc/fonts/newtxtt/README new file mode 100644 index 00000000000..8352732a073 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/newtxtt/README @@ -0,0 +1,23 @@ +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.0 + +As the fonts on which these were based are licensed under GPL 3.0, so are the fonts in +this package. More specifically, the fonts in this package are covered by the GNU +General Public License (GPL) with a special exception. See http://www.gnu.org/licenses/licenses.html#GPL +for the details of GPL. The special exception is as follows: + + Permission is granted to include the fonts + in a document in the Postscript, PDF, or any other + formats that may be displayed or printed using these + fonts, regardless of the licensing condition applied + to the document itself. + +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. + +Please send comments and bug reports or suggestions for improvement to + +msharpe at ucsd dot edu
\ No newline at end of file diff --git a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf Binary files differnew file mode 100644 index 00000000000..f410734ec07 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf diff --git a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex new file mode 100644 index 00000000000..c4197ff8c50 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex @@ -0,0 +1,61 @@ +\documentclass{article} +\usepackage[margin=1in]{geometry} +\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent +\usepackage{graphicx} +\usepackage{amssymb}% do not use with mtpro2 except lite version +%SetFonts +% fbb+newtxmath +\usepackage{XCharter} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage[zerostyle=a]{newtxtt} % TX typewriter +\usepackage[libertine,bigdelims]{newtxmath} +\useosf +\font\fonta newtxtta +\font\fontb newtxttb +\font\fontc newtxttc +\font\fontd newtxttd +\renewcommand*{\sfdefault}{lmtt} +%\usepackage[supstfm=libertinesups,% +% supscaled=1.2,% +% raised=-.13em]{superiors} +%SetFonts +\title{Using {\tt newtxtt} to Access the TX Typewriter Fonts} +\author{Michael Sharpe} +\date{\today} % Activate to display a given date or no date + +\begin{document} +\maketitle +There is a relative paucity of free serifed typewriter fonts available in \LaTeX---{\tt courier} and (extensions of) {\tt cmtt} are the most common. In my opinion, {\tt cmtt} and its enhancements, especially {\tt zlmtt}, are a much better choice than {\tt courier} in almost every circumstance, as the latter is so light and so wide that it looks poor on screen and causes endless problems with overfull boxes. (The ratio of their glyph widths is $723/525\approx1.38$.) This package provides an interface to another alternative---the typewriter fonts provided with {\tt txfonts}, with some enhancements. They have the same widths as {\tt cmtt}, but are taller, heavier, more geometric and less shapely, with very low contrast, and are more suited to match Roman fonts of height and weight approximating that of Times. This small package, loaded with +\begin{verbatim} +\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 different `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 options you may use in loading this package are: +\begin{itemize} +\item {\tt scaled=.97} will load the fonts scaled to $.97$ times natural size. This is useful with Roman fonts having an x-height smaller than Times, for which {\tt txtt} was designed. +\item +{\tt zerostyle} selects the form of {\tt `zero'} from one of four forms: {\tt a, b, c, d}, ({\tt a} being the default) which result respectively in\\[6pt] +{\fonta 0} ---form {\tt a}, narrower than capital {\tt O};\\ +{\fontb 0} ---form {\tt b}, original version from {\tt txtt};\\ +{\fontc 0} ---form {\tt c}, slashed, narrower than capital {\tt O};\\ +{\fontd 0} ---form {\tt d}, dotted, narrower than capital {\tt O}.\\ +\end{itemize} + + +This document uses the following font settings: +\begin{verbatim} +\usepackage[osf]{XCharter} % osf in text, lining figures in math +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage[zerostyle=a]{newtxtt} % TX typewriter +\usepackage[libertine,bigdelims]{newtxmath} +\end{verbatim} + +Comparison with Latin Modern Typewriter: + +\textsf{LM Typewriter: This is just a line to illustrate typewriter 0123456789.}\\ +\texttt{TX Typewriter: This is just a line to illustrate typewriter 0123456789.} + +\end{document}
\ No newline at end of file |