texlive[51368] Master/texmf-dist: zlmtt (12jun19)
commits+karl at tug.org
commits+karl at tug.org
Wed Jun 12 22:08:41 CEST 2019
Revision: 51368
http://tug.org/svn/texlive?view=revision&revision=51368
Author: karl
Date: 2019-06-12 22:08:41 +0200 (Wed, 12 Jun 2019)
Log Message:
-----------
zlmtt (12jun19)
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 2019-06-11 23:38:22 UTC (rev 51367)
+++ trunk/Master/texmf-dist/doc/fonts/zlmtt/README 2019-06-12 20:08:41 UTC (rev 51368)
@@ -4,8 +4,11 @@
http://www.ctan.org/license/lppl1.3
for the details of that license.
-Current version: 1.01
+Current version: 1.02
+Changes in version 1.02
+Modified the definitions of \proptt and \monott to take into account the font weight specified in the preamble. (Thanks, Frank Mittelbach.)
+
Changes in version 1.01
Added macro \lctt to access light-condensed weight.
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 2019-06-11 23:38:22 UTC (rev 51367)
+++ trunk/Master/texmf-dist/doc/fonts/zlmtt/zlmtt-doc.tex 2019-06-12 20:08:41 UTC (rev 51368)
@@ -42,7 +42,7 @@
\newpage
The options you may use in loading this package are:
\begin{itemize}
-\item {\tt scaled=1.05} will load the fonts scaled to $1.05$ times natural size. This is useful with Roman fonts having an x-height greater than Computer Modern.
+\item {\tt scaled=1.05} (or {\tt scale=1.05}) will load the fonts scaled to $1.05$ times natural size. This is useful with Roman fonts having an x-height greater than Computer Modern.
\item
{\tt proportional} (or just {\tt p}) loads the proportionally spaced version of the fonts. (By default, typewriter text is {\tt monospaced}.)
\item The defaults for \verb|\mdseries| and \verb|\bfseries|, which determine the series used to render medium and bold, are ({\tt m}) and ({\tt b}). You may change these defaults without affecting the settings for Roman and Sans Serif fonts as follows:
@@ -55,10 +55,12 @@
{\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 only in July $2013$ and may require an update to your \TeX\ distribution.
+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}}.
+As of version {\tt 1.02}, \verb|\proptt| and \verb|\monott| do not switch to medium weight if in your preamble you specified that regular means light.
+
This package supports all the encodings supported by the {\tt lmodern} package.
{\bf Examples}
Modified: trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty 2019-06-11 23:38:22 UTC (rev 51367)
+++ trunk/Master/texmf-dist/tex/latex/zlmtt/zlmtt.sty 2019-06-12 20:08:41 UTC (rev 51368)
@@ -1,4 +1,4 @@
-\ProvidesPackage{zlmtt}[2014/06/28 v1.01 Alternate support package for Latin Modern TypeWriter]
+\ProvidesPackage{zlmtt}[2019/06/11 v1.02 Alternate support package for Latin Modern TypeWriter]
% Load after every package that (re)defines \ttdefault.
\renewcommand{\ttdefault}{zlmtt}
\newif\if at zlmtt@mw
@@ -23,9 +23,12 @@
}
\def\zlmtt at scale{1}
\DeclareOptionX{scaled}{\def\zlmtt at scale{#1}}
+\DeclareOptionX{scale}{\def\zlmtt at scale{#1}}
\ProcessOptionsX\relax
-\newcommand{\proptt}[1]{{\fontfamily{zlmvtt}\selectfont #1}}
-\newcommand{\monott}[1]{{\fontfamily{zlmtt}\selectfont #1}}
+%\newcommand{\proptt}[1]{{\fontfamily{zlmvtt}\selectfont #1}}
+%\newcommand{\monott}[1]{{\fontfamily{zlmtt}\selectfont #1}}
+\newcommand{\monott}[1]{{\def\ttdefault{zlmtt}\texttt{#1}}} % 2019-06-11
+\newcommand{\proptt}[1]{{\def\ttdefault{zlmvtt}\texttt{#1}}} % ditto
\newcommand{\lctt}[1]{{\fontfamily{zlmtt}\fontseries{lc}\selectfont #1}}
\endinput
More information about the tex-live-commits
mailing list