% \iffalse meta-comment % % Copyright (C) 1989--1993 by Frank Mittelbach, Rainer Schoepf. % All rights reserved. % % This file is part of the NFSS2 (New Font Selection Scheme) package. % % This package is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % % % IMPORTANT NOTICE: % % For error reports in case of UNCHANGED versions see readme files. % % Please do not request updates from us directly. Distribution is % done through Mail-Servers and TeX organizations. % % You are not allowed to change this file. You may however copy % this file to a file with a different name and then change the copy % if you obey the restrictions on file changes described in % readme.mz. % % You are allowed to distribute this file under the condition that % it is distributed together with all files mentioned in readme.mz8. % If you receive only some of these files from someone, complain! % % You are NOT ALLOWED to distribute this file alone. You are NOT % ALLOWED to take money for the distribution or use of either this % file or a changed version, except for a nominal charge for copying % etc. % \fi \def\fileversion{v2.0b} \def\filedate{93/05/13} \def\docdate {93/05/13} % % \CheckSum{121} % % \iffalse % this is a METACOMMENT ! % % File `nfltxsym.dtx'. % Copyright (C) 1993 Frank Mittelbach and Rainer Sch\"opf, % all rights reserved. % % \fi % % % \title{The \LaTeX{} symbol fonts for use with NFSS2} % \author{Frank Mittelbach} % \date{\filedate} % % \MakeShortVerb\| % % \def\dst{\expandafter{\csname mediumseries\endcsname\sc docstrip}} % \setcounter{StandardModuleDepth}{1} % % % \maketitle % % \section{Introduction} % % This file defines the style option |nfltxsym| which makes the few % additional characters available which come from the |lasy| fonts % (\LaTeX's symbol fonts). These fonts are not automatically included % in the NFSS2 since they take up important space and aren't necessary % if one makes use of the |amsfonts| option. % % \StopEventually{} % % \section{The \dst{} modules} % % The following modules are used in the implementation to direct % \dst{} in generating the external files: % \begin{center} % \begin{tabular}{ll} % driver & produce a documentation driver file \\ % style & produce a style file \\ % fd & produce a font definition file % \end{tabular} % \end{center} % % \section{The Implementation} % % We start by writing to the VDU and the transcript file. % \begin{macrocode} %<*style> \typeout{Style Option: `nfltxsym' \fileversion\space\space <\filedate> (FMi)} \typeout{English Documentation \@spaces\@spaces\space <\docdate> (FMi)} % \end{macrocode} % For the style file we have to make sure that it runs under NFSS % release 2, so we check for appropriate command names. % \begin{macrocode} \@ifundefined{DeclareFontShape} {\@ifundefined{selectfont} {\@latexerr{The `nfltxsym' style option can only be used with the new^^Jfont selection scheme}\@eha} {\@latexerr{The `nfltxsym' style option can only be used with the new^^Jfont selection scheme *release 2*} {Your format contains NFSS release 1, but this style option was^^Jdeveloped for release 2.} } \endinput} {} % \end{macrocode} % % \begin{macro}{\symlasy} % First we allocate an internal {\em group\/} number % for the `latex symbol' fonts (i.e.\ {\tt lasy...}) % % \begin{macrocode} \ifx\symlasy\undefined \DeclareSymbolFont{lasy}{U}{lasy}{m}{n} \SetSymbolFont{lasy}{bold}{U}{lasy}{b}{n} % \end{macrocode} % We don't end the conditional at this point because it doesn't make % sense to carry out the definitions below if they are already % defined. % \end{macro} % % % Because the lasy symbols are made an error in the format we have to % undefine them before we can set them anew with |\DeclareMathSymbol|. % \begin{macrocode} \let\mho\undefined \let\Join\undefined \let\Box\undefined \let\Diamond\undefined \let\leadsto\undefined \let\sqsubset\undefined \let\sqsupset\undefined \let\lhd\undefined \let\unlhd\undefined \let\rhd\undefined \let\unrhd\undefined \DeclareMathSymbol\mho{0}{lasy}{"30} \DeclareMathSymbol\Join{3}{lasy}{"31} \DeclareMathSymbol\Box{0}{lasy}{"32} \DeclareMathSymbol\Diamond{0}{lasy}{"33} \DeclareMathSymbol\leadsto{3}{lasy}{"3B} \DeclareMathSymbol\sqsubset{3}{lasy}{"3C} \DeclareMathSymbol\sqsupset{3}{lasy}{"3D} \DeclareMathSymbol\lhd{3}{lasy}{"01} \DeclareMathSymbol\unlhd{3}{lasy}{"02} \DeclareMathSymbol\rhd{3}{lasy}{"03} \DeclareMathSymbol\unrhd{3}{lasy}{"04} \fi % % \end{macrocode} % % \subsection{\LaTeX{} symbols fonts} % % We introduce the |.fd| files % in the {\sf log} file. The explicit spaces are necessary in an % |.fd| file and the |\string| guards against situations where |`| % is active. % \begin{macrocode} %<*fd> \wlog{Fontdef\space file\space produced\space from:\space \string`nfltxsym.dtx'\space \fileversion\space <\filedate>\space (FMi\space and\space RmS)} \DeclareFontFamily{U}{lasy}{} \DeclareFontShape{U}{lasy}{m}{n}{ <5> <6> <7> <8> <9> gen * lasy <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>lasy10% }{} \DeclareFontShape{U}{lasy}{b}{n}{ <-10> sub * lasy/m/n <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>lasyb10 }{} % % \end{macrocode} % % \section{A driver for this document} % % The next bit of code contains the documentation driver file for % \TeX{}, i.e., the file that will produce the documentation you are % currently reading. It will be extracted from this file by the % \dst{} program. % \begin{macrocode} %<*driver> \documentstyle[doc]{article} % dimensions from ltugboat.sty: \setlength\textwidth{31pc} \setlength\textheight{54pc} \setlength{\parindent}{0pt} \setlength{\parskip}{2pt plus 1pt minus 1pt} \setlength{\oddsidemargin}{8pc} \setlength{\marginparwidth}{8pc} \setlength{\topmargin}{-2.5pc} \setlength{\headsep}{20pt} \setlength{\columnsep}{1.5pc} \setlength{\columnwidth}{18.75pc} \DisableCrossrefs \CodelineIndex % Index code by line number %\OnlyDescription % comment out for implementation details \begin{document} \DocInput{nfltxsym.dtx} \end{document} % % \end{macrocode} % % % The next line goes into all files and in addition prevents \dst{} % from adding any further code from the main source file (such as a % character table. % \begin{macrocode} \endinput % \end{macrocode} % % \DeleteShortVerb{\|} % \Finale % % %% \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 \~}