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/texmf-dist/tex/latex/newtxtt | |
parent | f6eb5e32a3216df4119aa66ebf304146e1556600 (diff) |
newtxtt (3jun14)
git-svn-id: svn://tug.org/texlive/trunk@34388 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtxtt')
-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 |
5 files changed, 139 insertions, 8 deletions
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 |