texlive[61567] Master/texmf-dist: zlmtt (11jan22)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 11 22:59:11 CET 2022


Revision: 61567
          http://tug.org/svn/texlive?view=revision&revision=61567
Author:   karl
Date:     2022-01-11 22:59:11 +0100 (Tue, 11 Jan 2022)
Log Message:
-----------
zlmtt (11jan22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/zlmtt/README
    trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.tex
    trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty

Modified: trunk/Master/texmf-dist/doc/fonts/zlmtt/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/zlmtt/README	2022-01-11 21:58:15 UTC (rev 61566)
+++ trunk/Master/texmf-dist/doc/fonts/zlmtt/README	2022-01-11 21:59:11 UTC (rev 61567)
@@ -4,8 +4,11 @@
 http://www.ctan.org/license/lppl1.3
 for the details of that license.
 
-Current version: 1.03
+Current version: 1.031
 
+Changes in version 1.031
+Code and documentation enhancements. (Thanks Maurice Hansen.)
+
 Changes in version 1.03
 Change in handling the detection of mweights code. (Thanks Maurice Hansen.)
 

Modified: trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.tex	2022-01-11 21:58:15 UTC (rev 61566)
+++ trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.tex	2022-01-11 21:59:11 UTC (rev 61567)
@@ -5,12 +5,12 @@
 \usepackage{amssymb}% do not use with mtpro2 except lite version
 %SetFonts
 % fbb+newtxmath
-\usepackage[lining]{fbb}
+\usepackage[lining]{etbb}
 \usepackage[T1]{fontenc}
-\usepackage{textcomp}
+%\usepackage{textcomp}
 \usepackage[scaled=1.07]{zlmtt} % lmodern typewriter
 \usepackage{amsmath,amsthm}
-\usepackage[libertine,bigdelims]{newtxmath}
+\usepackage[libertine]{newtxmath}
 \useosf
 \linespread{1.05}
 %\usepackage[supstfm=libertinesups,%
@@ -55,7 +55,8 @@
 {\tt med} (or just {\tt m}) makes \verb|\bfseries| render using ({\tt m}).
 \end{itemize}   
 \end{itemize}
-Note that the weight options depend on the {\tt mweights} package which was introduced in July $2013$.
+(The non-defaults weights are not available unless the package detects the code from the {\tt mweights} package is loaded. AS of LaTeX 2020-02-02 or newer, its code is buitl into the kernel. Those using prior versions of LaTeX will have to rely on the continuing presence of the actual {\tt mweights} package.)
+%Note that the weight options depend on the {\tt mweights} package which was introduced in July $2013$.
 
 The package defines two macros, \verb|\proptt| and \verb|\monott| that allow you to use proportional typewriter mode or monospace typewriter mode whether or not you selected the {\tt proportional} option. This document uses {\tt monospace} mode, but I can write \verb|\proptt{proportional spacing}| and get \proptt{proportional spacing}, or \verb|\textit{\proptt{proportionally spaced slanted}}| to get \textit{\proptt{proportionally spaced slanted}}. The macro \verb|\lctt| prints its argument in light-condensed weight, monospaced mode, and uses a slanted font if italic shape is in force. E.g., \verb|\lctt{light condensed}| produces \lctt{light condensed}, and \verb|\textit{\lctt{light condensed italic}}| produces \textit{\lctt{light condensed italic}}.
 
@@ -70,14 +71,14 @@
 \end{verbatim}
 This document used the following font settings:
 \begin{verbatim}
-\usepackage[lining]{fbb} % free Bembo, lining figures in math mode
+\usepackage[lining]{etbb} % free Bembo, lining figures in math mode
 \usepackage[T1]{fontenc}
-\usepackage{textcomp}
+%\usepackage{textcomp}
 \usepackage[scaled=1.07]{zlmtt} % lmodern typewriter
 \usepackage{amsmath,amsthm}
-\usepackage[libertine,bigdelims]{newtxmath}
+\usepackage[libertine]{newtxmath}
 \useosf % oldstyle figures in text mode
-\linespread{1.05} % fbb has tall ascenders
+\linespread{1.05} % etbb has tall ascenders
 \end{verbatim}
 
 \end{document}  
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty	2022-01-11 21:58:15 UTC (rev 61566)
+++ trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty	2022-01-11 21:59:11 UTC (rev 61567)
@@ -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 at mwtrue%
 %}{}% allows choice of how to render medium, bold
 \RequirePackage{xkeyval}
+\def\mdseries at tt{m} % default mdseries is medium
+\def\bfseries at tt{b} % default bfseries is bold
 \if at zlmtt@mw
-  \edef\mdseries at tt{m} % default mdseries is medium
-  \edef\bfseries at tt{b} % default bfseries is bold
-  \DeclareOptionX{light}{\edef\mdseries at tt{l}}
-  \DeclareOptionX{l}{\edef\mdseries at tt{l}} % make mdseries mean l
-  \DeclareOptionX{lightcondensed}{\edef\mdseries at tt{lc}}
-  \DeclareOptionX{lc}{\edef\mdseries at tt{lc}}
-  \DeclareOptionX{med}{\edef\bfseries at tt{m}} % make bfseries mean m
-  \DeclareOptionX{m}{\edef\bfseries at tt{m}}
+  \DeclareOptionX{light}{\def\mdseries at tt{l}}
+  \DeclareOptionX{l}{\def\mdseries at tt{l}} % make mdseries mean l
+  \DeclareOptionX{lightcondensed}{\def\mdseries at tt{lc}}
+  \DeclareOptionX{lc}{\def\mdseries at tt{lc}}
+  \DeclareOptionX{med}{\def\bfseries at tt{m}} % make bfseries mean m
+  \DeclareOptionX{m}{\def\bfseries at tt{m}}
 \fi
 \DeclareOptionX{proportional}{%
   \renewcommand{\ttdefault}{zlmvtt}



More information about the tex-live-commits mailing list.