diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-12 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-12 03:01:00 +0000 |
commit | 1f69e7b43c51a713b615b5ce4ed8adbcdaf9080e (patch) | |
tree | be6fc97ec0a84cbd26fc2a7c4167c5e5bb01129a /fonts/zlmtt/tex | |
parent | 39394e7cba63ab69525546760c8e542bb98f48e0 (diff) |
CTAN sync 202201120300
Diffstat (limited to 'fonts/zlmtt/tex')
-rw-r--r-- | fonts/zlmtt/tex/zlmtt.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fonts/zlmtt/tex/zlmtt.sty b/fonts/zlmtt/tex/zlmtt.sty index b8e0d167c9..94c1706ad2 100644 --- a/fonts/zlmtt/tex/zlmtt.sty +++ b/fonts/zlmtt/tex/zlmtt.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} -\def\fileversion{1.03} -\def\filedate{2021/12/21} +\def\fileversion{1.031} +\def\filedate{2022/01/10} \ProvidesPackage{zlmtt}[\filedate\space v\fileversion. Alternate support package for Latin Modern TypeWriter] % Load after every package that (re)defines \ttdefault. \renewcommand{\ttdefault}{zlmtt} @@ -17,15 +17,15 @@ %\IfFileExists{mweights.sty}{\RequirePackage{mweights}\@zlmtt@mwtrue% %}{}% allows choice of how to render medium, bold \RequirePackage{xkeyval} +\def\mdseries@tt{m} % default mdseries is medium +\def\bfseries@tt{b} % default bfseries is bold \if@zlmtt@mw - \edef\mdseries@tt{m} % default mdseries is medium - \edef\bfseries@tt{b} % default bfseries is bold - \DeclareOptionX{light}{\edef\mdseries@tt{l}} - \DeclareOptionX{l}{\edef\mdseries@tt{l}} % make mdseries mean l - \DeclareOptionX{lightcondensed}{\edef\mdseries@tt{lc}} - \DeclareOptionX{lc}{\edef\mdseries@tt{lc}} - \DeclareOptionX{med}{\edef\bfseries@tt{m}} % make bfseries mean m - \DeclareOptionX{m}{\edef\bfseries@tt{m}} + \DeclareOptionX{light}{\def\mdseries@tt{l}} + \DeclareOptionX{l}{\def\mdseries@tt{l}} % make mdseries mean l + \DeclareOptionX{lightcondensed}{\def\mdseries@tt{lc}} + \DeclareOptionX{lc}{\def\mdseries@tt{lc}} + \DeclareOptionX{med}{\def\bfseries@tt{m}} % make bfseries mean m + \DeclareOptionX{m}{\def\bfseries@tt{m}} \fi \DeclareOptionX{proportional}{% \renewcommand{\ttdefault}{zlmvtt} |