diff options
author | Karl Berry <karl@freefriends.org> | 2014-06-24 22:40:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-06-24 22:40:02 +0000 |
commit | 30899a0b2f9c153b100471780c2e536fd9653835 (patch) | |
tree | 9fd26416ee6b361a1742b6059c6a87afb31de883 /Master | |
parent | f6eb5e32a3216df4119aa66ebf304146e1556600 (diff) |
newtxtt (3jun14)
git-svn-id: svn://tug.org/texlive/trunk@34388 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxtt/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf | bin | 63911 -> 67793 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex | 54 | ||||
-rw-r--r-- | Master/texmf-dist/fonts/map/dvips/newtxtt/newtxtt.map | 28 | ||||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttz.tfm | bin | 0 -> 1336 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttzsl.tfm | bin | 0 -> 1512 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttz.tfm | bin | 0 -> 1292 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttzsl.tfm | bin | 0 -> 1488 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxtt/newtxtt.sty | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd | 65 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxtt/ts1newtxtt.fd | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxtt/ts1newtxttz.fd | 58 |
13 files changed, 211 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxtt/README b/Master/texmf-dist/doc/fonts/newtxtt/README index 8352732a073..1bd13b4a41b 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.0 +Current version: 1.01 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 @@ -18,6 +18,9 @@ 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.01 +Added variant versions of the tfm files which are not monospaced though they share the same glyphs and glyph widths. The variant version permits hyphenation and has spacing more like a text font, so that it can be used to achieve right-justified blocks of text with a typewritten appearance. See the documentation for details. + 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 differindex f410734ec07..d34f17985df 100644 --- a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.pdf +++ 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 index c4197ff8c50..644557721c2 100644 --- a/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex +++ b/Master/texmf-dist/doc/fonts/newtxtt/newtxtt-doc.tex @@ -1,10 +1,11 @@ +% !TEX TS-program = pdflatexmk \documentclass{article} + \usepackage[margin=1in]{geometry} \usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent +\pdfmapfile{=newtxtt.map} \usepackage{graphicx} -\usepackage{amssymb}% do not use with mtpro2 except lite version %SetFonts -% fbb+newtxmath \usepackage{XCharter} \usepackage[T1]{fontenc} \usepackage{textcomp} @@ -15,34 +16,58 @@ \font\fontb newtxttb \font\fontc newtxttc \font\fontd newtxttd -\renewcommand*{\sfdefault}{lmtt} -%\usepackage[supstfm=libertinesups,% -% supscaled=1.2,% -% raised=-.13em]{superiors} +\renewcommand*{\sfdefault}{lmtt}% sans serif is otherwise not used %SetFonts -\title{Using {\tt newtxtt} to Access the TX Typewriter Fonts} +\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.09emX\@} +\DeclareRobustCommand{\LaTeX}{L\kern-.28em% +\raise.4ex\hbox{\textsc{a}}% + \kern-.1em% + \TeX} +\title{Using \texttt{newtxtt v.1.01} 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 +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. +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 four choices for the glyph `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 macros \verb|\ttdefault|, \verb|\ttfamily|, \verb|\texttt| and the obsolete but convenient macro \verb|\tt| may be used to access this font. + The package provides an alternate form of {\tt newtxtt} that differs from it in two important ways: + \begin{itemize} + \item + the interword spacing is no longer the same as the glyph spacing, but is generally smaller---{\tt fontdimen} settings have been changed to resemble those of text fonts; + \item + hyphenation is permitted. + \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, +\begin{verbatim} +{\ttz Block of text, perhaps many lines long, will be rendered right-justified.} +\end{verbatim} 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] +{\tt zerostyle} selects the form of {\tt `zero'} from one of four possibilities: {\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}.\\ +{\fontd 0} ---form {\tt d}, dotted, narrower than capital {\tt O}. +\item +{\tt nomono} changes the {\tt tt} macro definitions replacing them, in effect, by their {\tt ttz} versions. I do not recommend this, but perhaps someone who does not print code and does not wish to change all existing \verb|\tt| to \verb|\ttz| might find this useful. +\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 \\ +{\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. \end{itemize} - This document uses the following font settings: \begin{verbatim} @@ -53,9 +78,10 @@ This document uses the following font settings: \usepackage[libertine,bigdelims]{newtxmath} \end{verbatim} -Comparison with Latin Modern Typewriter: +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.} +\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 version)} \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/fonts/map/dvips/newtxtt/newtxtt.map b/Master/texmf-dist/fonts/map/dvips/newtxtt/newtxtt.map index ed4a9dcd9e5..5c8856c0ae5 100644 --- a/Master/texmf-dist/fonts/map/dvips/newtxtt/newtxtt.map +++ b/Master/texmf-dist/fonts/map/dvips/newtxtt/newtxtt.map @@ -22,3 +22,31 @@ newtxbttsld newtxbtt " .167 SlantFont txttECEncodingD ReEncodeFont " <[txttDec.e newtxbttslc newtxbtt " .167 SlantFont txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxbtt.pfb newtxbttslb newtxbtt " .167 SlantFont txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxbtt.pfb newtxbttsla newtxbtt " .167 SlantFont txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxbtt.pfb +newtxttza newtxtt " txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxtt.pfb +newtxttzb newtxtt " txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxtt.pfb +newtxttzc newtxtt " txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxtt.pfb +newtxttzd newtxtt " txttECEncodingD ReEncodeFont " <[txttDec.enc <newtxtt.pfb +newtxbttza newtxbtt " txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxbtt.pfb +newtxbttzb newtxbtt " txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxbtt.pfb +newtxbttzc newtxbtt " txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxbtt.pfb +newtxbttzd newtxbtt " txttECEncodingD ReEncodeFont " <[txttDec.enc <newtxbtt.pfb +newtxttzsca newtxttsc " txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxttsc.pfb +newtxttzscb newtxttsc " txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxttsc.pfb +newtxttzscc newtxttsc " txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxttsc.pfb +newtxttzscd newtxttsc " txttECEncodingD ReEncodeFont " <[txttDec.enc <newtxttsc.pfb +newtxbttzsca newtxbttsc " txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxbttsc.pfb +newtxbttzscb newtxbttsc " txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxbttsc.pfb +newtxbttzscc newtxbttsc " txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxbttsc.pfb +newtxbttzscd newtxbttsc " txttECEncodingD ReEncodeFont " <[txttDec.enc <newtxbttsc.pfb +newtxttzsla newtxtt " .167 SlantFont txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxtt.pfb +newtxttzslb newtxtt " .167 SlantFont txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxtt.pfb +newtxttzslc newtxtt " .167 SlantFont txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxtt.pfb +newtxttzsld newtxtt " .167 SlantFont txttECEncodingD ReEncodeFont " <[txttDec.enc <newtxtt.pfb +newtxbttzsld newtxbtt " .167 SlantFont txttECEncodingD ReEncodeFont " <[txttDec.enc <newtxbtt.pfb +newtxbttzslc newtxbtt " .167 SlantFont txttECEncodingC ReEncodeFont " <[txttCec.enc <newtxbtt.pfb +newtxbttzslb newtxbtt " .167 SlantFont txttECEncodingB ReEncodeFont " <[txttBec.enc <newtxbtt.pfb +newtxbttzsla newtxbtt " .167 SlantFont txttECEncodingA ReEncodeFont " <[txttAec.enc <newtxbtt.pfb +tcxbttz tcxbtt <tcxbtt.pfb +tcxbttzsl tcxbtt ".167 SlantFont" <tcxbtt.pfb +tcxttz tcxtt <tcxtt.pfb +tcxttzsl tcxtt ".167 SlantFont" <tcxtt.pfb diff --git a/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttz.tfm b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttz.tfm Binary files differnew file mode 100644 index 00000000000..131ab49cbab --- /dev/null +++ b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttz.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttzsl.tfm b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttzsl.tfm Binary files differnew file mode 100644 index 00000000000..848cffc5c99 --- /dev/null +++ b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxbttzsl.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttz.tfm b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttz.tfm Binary files differnew file mode 100644 index 00000000000..2d87004652c --- /dev/null +++ b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttz.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttzsl.tfm b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttzsl.tfm Binary files differnew file mode 100644 index 00000000000..796779a3694 --- /dev/null +++ b/Master/texmf-dist/fonts/tfm/public/newtxtt/tcxttzsl.tfm diff --git a/Master/texmf-dist/tex/latex/newtxtt/newtxtt.sty b/Master/texmf-dist/tex/latex/newtxtt/newtxtt.sty index c19ec5c6209..dd97435183f 100644 --- a/Master/texmf-dist/tex/latex/newtxtt/newtxtt.sty +++ b/Master/texmf-dist/tex/latex/newtxtt/newtxtt.sty @@ -1,12 +1,15 @@ \NeedsTeXFormat{LaTeX2e} -\def\filedate{2014/04/28} -\def\fileversion{1.0} +\def\filedate{2014/05/29} +\def\fileversion{1.01} \ProvidesPackage{newtxtt}[\filedate\space v\fileversion] \message{`newtxtt' v\fileversion, \filedate\space Typewriter text macros based on txfonts (msharpe)} \RequirePackage[T1]{fontenc} \RequirePackage{textcomp} \DeclareEncodingSubset{TS1}{newtxtt}{0} +\DeclareEncodingSubset{TS1}{newtxttz}{0} +\renewcommand*{\ttdefault}{newtxtt} +\newcommand*{\ttzdefault}{newtxttz} \edef\newtxtt@fig{a} \IfFileExists{xkeyval.sty}{ @@ -27,13 +30,17 @@ \newcommand*{\newtxtt@scale}{1} \DeclareOptionX{scale}{\renewcommand*{\newtxtt@scale}{##1}} \DeclareOptionX{scaled}{\renewcommand*{\newtxtt@scale}{##1}} + \DeclareOptionX{nomono}{\let\ttdefault\ttsdefault} }{ \let\DeclareOptionX\DeclareOption \let\ExecuteOptionsX\ExecuteOptions \let\ProcessOptionsX\ProcessOptions } \ProcessOptionsX<newtxtt.sty> - -\renewcommand*{\ttdefault}{newtxtt} +\DeclareRobustCommand\ttzfamily + {\not@math@alphabet\ttzfamily\mathtt + \fontfamily\ttzdefault\selectfont} +\DeclareOldFontCommand{\ttz}{\normalfont\ttzfamily}{\mathtt} +\DeclareTextFontCommand{\textttz}{\ttzfamily} \endinput diff --git a/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd b/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd index 1d93922e57e..a98c77ed496 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/04/28 Font definitions for T1/newtxtt.] + [2014/05/30 Font definitions for T1/newtxtt.] \expandafter\ifx\csname newtxtt@scale\endcsname\relax \let\newtxtt@@scale\@empty @@ -13,7 +13,7 @@ \let\newtxtt@@fig\newtxtt@fig \fi -\DeclareFontFamily{T1}{newtxtt}{\hyphenchar \font\m@ne} +\DeclareFontFamily{T1}{newtxtt}{\hyphenchar\font\m@ne} \DeclareFontShape{T1}{newtxtt}{m}{n}{ <-> \newtxtt@@scale newtxtt\newtxtt@@fig diff --git a/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd b/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd new file mode 100644 index 00000000000..130272b0485 --- /dev/null +++ b/Master/texmf-dist/tex/latex/newtxtt/t1newtxttz.fd @@ -0,0 +1,65 @@ +\ProvidesFile{t1newtxttz.fd} + [2014/05/30 Font definitions for T1/newtxttz.] + +\expandafter\ifx\csname newtxtt@scale\endcsname\relax + \let\newtxtt@@scale\@empty +\else + \edef\newtxtt@@scale{s*[\csname newtxtt@scale\endcsname]}% +\fi + +\expandafter\ifx\csname newtxtt@fig\endcsname\relax + \def\newtxtt@@fig{a} +\else + \let\newtxtt@@fig\newtxtt@fig +\fi + +\DeclareFontFamily{T1}{newtxttz}{\hyphenchar\font 45} + +\DeclareFontShape{T1}{newtxttz}{m}{n}{ + <-> \newtxtt@@scale newtxttz\newtxtt@@fig +}{} +\DeclareFontShape{T1}{newtxttz}{b}{n}{ + <-> \newtxtt@@scale newtxbttz\newtxtt@@fig +}{} +\DeclareFontShape{T1}{newtxttz}{bx}{n}{ + <-> ssub * newtxttz/b/n +}{} + +\DeclareFontShape{T1}{newtxttz}{m}{sc}{ %cap & small cap + <-> \newtxtt@@scale newtxttzsc\newtxtt@@fig +}{} +\DeclareFontShape{T1}{newtxttz}{m}{sl}{ %slanted + <-> \newtxtt@@scale newtxttzsl\newtxtt@@fig +}{} +\DeclareFontShape{T1}{newtxttz}{m}{it}{ %italic + <-> ssub * newtxttz/m/sl% +}{} +\DeclareFontShape{T1}{newtxttz}{m}{ui}{ %unslanted italic + <-> ssub * newtxttz/m/sl% +}{} +\DeclareFontShape{T1}{newtxttz}{b}{sc}{ %bold extended cap & small cap + <-> \newtxtt@@scale newtxbttzsc\newtxtt@@fig +}{} +\DeclareFontShape{T1}{newtxttz}{b}{sl}{ %bold extended slanted + <-> \newtxtt@@scale newtxbttzsl\newtxtt@@fig +}{} +\DeclareFontShape{T1}{newtxttz}{b}{it}{ %bold extended italic + <-> ssub * newtxttz/b/sl% +}{} +\DeclareFontShape{T1}{newtxttz}{bx}{ui}{ %bold extended unslanted italic + <-> ssub * newtxttz/b/sl% +}{} +\DeclareFontShape{T1}{newtxttz}{bx}{sc}{ %bold cap & small cap + <-> ssub * newtxttz/b/sc% +}{} +\DeclareFontShape{T1}{newtxttz}{bx}{sl}{ %bold slanted + <-> ssub * newtxttz/b/sl% +}{} +\DeclareFontShape{T1}{newtxttz}{b}{it}{ %bold italic + <-> ssub * newtxttz/b/sl% +}{} +\DeclareFontShape{T1}{newtxttz}{b}{ui}{ %bold unslanted italic + <-> ssub * newtxttz/b/sl% +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/newtxtt/ts1newtxtt.fd b/Master/texmf-dist/tex/latex/newtxtt/ts1newtxtt.fd index 9734a20248d..6d83a250011 100644 --- a/Master/texmf-dist/tex/latex/newtxtt/ts1newtxtt.fd +++ b/Master/texmf-dist/tex/latex/newtxtt/ts1newtxtt.fd @@ -1,5 +1,5 @@ \ProvidesFile{ts1newtxtt.fd} - [2014/04/29] + [2014/05/29] \expandafter\ifx\csname newtxtt@scale\endcsname\relax \let\newtxtt@@scale\@empty @@ -7,7 +7,8 @@ \edef\newtxtt@@scale{s*[\csname newtxtt@scale\endcsname]}% \fi -\DeclareFontFamily{TS1}{newtxtt}{\hyphenchar \font\m@ne} +\DeclareFontFamily{TS1}{newtxtt}{\hyphenchar\font\m@ne} + \DeclareFontShape{TS1}{newtxtt}{m}{n}{ %medium <-> \newtxtt@@scale tcxtt% }{} diff --git a/Master/texmf-dist/tex/latex/newtxtt/ts1newtxttz.fd b/Master/texmf-dist/tex/latex/newtxtt/ts1newtxttz.fd new file mode 100644 index 00000000000..9f875c5b9b4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/newtxtt/ts1newtxttz.fd @@ -0,0 +1,58 @@ +\ProvidesFile{ts1newtxttz.fd} + [2014/05/30] + +\expandafter\ifx\csname newtxtt@scale\endcsname\relax + \let\newtxtt@@scale\@empty +\else + \edef\newtxtt@@scale{s*[\csname newtxtt@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{newtxttz}{\hyphenchar\font 45} + +\DeclareFontShape{TS1}{newtxttz}{m}{n}{ %medium + <-> \newtxtt@@scale tcxttz% +}{} +\DeclareFontShape{TS1}{newtxttz}{m}{sc}{ %cap & small cap + <->ssub * newtxttz/m/n% +}{} +\DeclareFontShape{TS1}{newtxttz}{m}{sl}{ %slanted + <-> \newtxtt@@scale tcxttzsl% +}{} +\DeclareFontShape{TS1}{newtxttz}{m}{it}{ %italic + <->ssub * newtxttz/m/sl% +}{} +\DeclareFontShape{TS1}{newtxttz}{m}{ui}{ %unslanted italic + <->ssub * newtxttz/m/it% +}{} +\DeclareFontShape{TS1}{newtxttz}{bx}{n}{ %bold extended + <-> \newtxtt@@scale tcxbttz% +}{} +\DeclareFontShape{TS1}{newtxttz}{bx}{sc}{ %bold extended cap & small cap + <->ssub * newtxttz/bx/n% +}{} +\DeclareFontShape{TS1}{newtxttz}{bx}{sl}{ %bold extended slanted + <-> \newtxtt@@scale tcxbttsl% +}{} +\DeclareFontShape{TS1}{newtxttz}{bx}{it}{ %bold extended italic + <->ssub * newtxttz/bx/sl% +}{} +\DeclareFontShape{TS1}{newtxttz}{bx}{ui}{ %bold extended unslanted italic + <->ssub * newtxttz/bx/it% +}{} +\DeclareFontShape{TS1}{newtxttz}{b}{n}{ %bold + <->ssub * newtxttz/bx/n% +}{} +\DeclareFontShape{TS1}{newtxttz}{b}{sc}{ %bold cap & small cap + <->ssub * newtxttz/bx/sc% +}{} +\DeclareFontShape{TS1}{newtxttz}{b}{sl}{ %bold slanted + <->ssub * newtxttz/bx/sl% +}{} +\DeclareFontShape{TS1}{newtxttz}{b}{it}{ %bold italic + <->ssub * newtxttz/bx/it% +}{} +\DeclareFontShape{TS1}{newtxttz}{b}{ui}{ %bold unslanted italic + <->ssub * newtxttz/bx/ui% +}{} + +\endinput |