% \iffalse % $Id: thsmc.dtx,v 1.6 2008-03-21 00:21:03 boris Exp $ % % Copyright (c) 2008, Boris Veytsman % % All rights reserved. % % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions % are met: % % * Redistributions of source code must retain the above copyright % notice, this list of conditions and the following disclaimer. % * Redistributions in binary form must reproduce the above % copyright notice, this list of conditions and the following % disclaimer in the documentation and/or other materials provided % with the distribution. % * Neither the name of the original author nor the names of the % contributors may be used to endorse or promote products derived % from this software without specific prior written permission. % % THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND % CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, % INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF % MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE % DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS % BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, % EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED % TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, % DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON % ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, % OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY % OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE % POSSIBILITY OF SUCH DAMAGE. % % \fi % \CheckSum{0} % % %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} % %\iffalse % Taken from xkeyval.dtx %\fi %\makeatletter %\def\DescribeOption#1{\leavevmode\@bsphack % \marginpar{\raggedleft\PrintDescribeOption{#1}}% % \SpecialOptionIndex{#1}\@esphack\ignorespaces} %\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } %\def\SpecialOptionIndex#1{\@bsphack % \index{#1\actualchar{\protect\ttfamily#1} % (option)\encapchar usage}% % \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar % usage}\@esphack} %\def\DescribeOptions#1{\leavevmode\@bsphack % \marginpar{\raggedleft\strut\emph{options}% % \@for\@tempa:=#1\do{% % \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa % }}\@esphack\ignorespaces} %\makeatother % % % \MakeShortVerb{|} % \GetFileInfo{thsmc.dtx} % \title{\LaTeX{} Support For The Sans Mono Condensed Fonts} % \author{Boris Veytsman\thanks{% % \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, % \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}} % \date{\filedate, \fileversion} % \maketitle % \begin{abstract} % This package provides \LaTeX{} support for The Sans Mono Condensed % Font, designed by Lucas de Groot, 1996 and available from Font % Fabrik. It has everything you need to typeset in this font - % except the font itself, of course. % \end{abstract} % \tableofcontents % % \changes{v1.0}{2008/02/19}{First fully functional version} % \changes{v1.0a}{2008/02/19}{Changed font family to fts from flm} % \changes{v1.0b}{2008/02/21}{Documentation update} % \changes{v1.0c}{2008/02/25}{Installation update} % \changes{v1.0d}{2008/03/20}{Documentation update} % \clearpage % % %\section{Introduction} %\label{sec:intro} % % This package provides support files for The Sans Mono Condensed Font % by Lucas de Groot. It is a new monospaced font originally designed % for typesetting program code. According to the Fontname % scheme~\cite{fontname} we use the family name |fts|. % % The package is written for the set of fonts currently used by % \emph{No Starch Press,} \url{http://www.nostarch.com}. It is % possible that other versions of the fonts have slightly different % metrics, and package should be changed to accommodate this. To make % this easier, I release the package under BSD-style license. This is % even more appropriate since most of the files is generated following % the great course~\cite{fontinstallationguide}. % % The support is limited to T1 and TS1 encoding. No VTeX support % files are included. % % %\section{Installation} %\label{sec:install} % % % % First, you need to purchase the fonts themselves: the |pfb| files % are \emph{not} included in the package. If you got the fonts from % \emph{No Starch press,} do not rename the |pfb| files. However, if % there are uppercase letters in your file names, downcase them. If % you obtained the files from another source, rename the fonts % according to Table~\ref{tab:PFB}. If your \TeX{} system is % TDS-compliant, install the files into % \path{$TEXMF/fonts/type1/public/thsmc}. Then download % \url{http://ctan.tug.org/install/fonts/psfonts/fontfabrik/thsmc.tds.zip} % and unzip the file in \path{$TEXMF}. Add |+fts.map| to the % configuration files of dvips, pdftex and your dvi previewer. % % % Run updmap and texhash programs to update the configuration files % and file names database. % % % % \begin{table}[tp] % \centering % \caption{PFB Files} % \label{tab:PFB} % % \begin{tabular}{ll} % \toprule % File & Font \\ % \midrule % |thsmcl21.pfb| & The Sans Mono Condensed Light\\ % |thsmcp25.pfb| & The Sans Mono Condensed Plain\\ % |thsmci29.pfb| & The Sans Mono Condensed Italic \\ % |thsmcb02.pfb| & The Sans Mono Condensed Bold \\ % |thsmcb96.pfb| & The Sans Mono Condensed Black \\ % \bottomrule % \end{tabular} % % \end{table} % % % The style |thsmc.sty| provides a number of commands for using the % font family (see Section~\ref{sec:thsmc.sty}) % % %\section{Using \LaTeX{} Style } %\label{sec:thsmc.sty} % % The package |thmsc.sty| makes The Sans Mono your default typewriter % family. The package provides a number of weights: |lc| for Light % Condensed, |mc| for Plain Condensed, |bc| for Bold Condensed and % |ebc| for Heavy Condensed. The default substitutions are |mc| % for |m|, |bc| for |b| and |bx|, and |ebc| for |eb|. % % % \DescribeOption{scaled} % If you mix The Mono Sans with other fonts, % you may want to scale it to get better blending. The package option % |scaled| can be used for this, for example % |\usepackage[scaled=0.95]{thmsc}|. % % % \StopEventually{ % \clearpage % \paragraph{Acknowledgement} % This package was written for No Starch Press, % \url{http://www.nostarch.com}. % % \bibliography{thsmc} % \bibliographystyle{unsrt}} % % \clearpage %\section{Implementation} %\label{sec:impl} % %\subsection{Identification} %\label{sec:ident} % % We start with the declaration who we are. Most |.dtx| files put % driver code in a separate driver file |.drv|. We roll this code into the % main file, and use the pseudo-guard || for it. % \begin{macrocode} % % \end{macrocode} % % %\Finale %\clearpage % %\PrintChanges %\clearpage %\PrintIndex % \endinput