1 % \iffalse meta-comment
4 % The LaTeX3 Project and any individual authors listed elsewhere
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % http://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2005/12/01 or later.
18 % This file has the LPPL maintenance status "maintained".
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
24 % The list of derived (unpacked) files belonging to the distribution
25 % and covered by LPPL is defined by the unpacking scripts (with
26 % extension .ins) which are part of the distribution.
31 % \iffalse % this is a METACOMMENT !
33 % File `latexsym.dtx'.
34 % Copyright 1994-1998 by Frank Mittelbach. All rights reserved.
36 %<package>\NeedsTeXFormat{LaTeX2e}
37 %<package>\ProvidesPackage{latexsym}
38 %<fd>\ProvidesFile{ulasy.fd}
39 %<-driver> [1998/08/17 v2.2e
40 %<package> Standard LaTeX package (lasy symbols)]
41 %<fd> LaTeX symbol font definitions]
44 \documentclass{ltxdoc}
46 \GetFileInfo{latexsym.sty}
47 \providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
48 \title{The \LaTeX{} symbol fonts for use with
49 \LaTeXe.\thanks{This file has version
50 number \fileversion, dated \filedate.}}
52 \author{Frank Mittelbach}
54 \MaintainedByLaTeXTeam{latex}
56 \DocInput{latexsym.dtx}
61 % \changes{v2.2e}{1998/08/17}{Documentation fixes.}
63 % \section{Introduction}
65 % This file defines the package |latexsym| which makes the few
66 % additional characters available that come from the |lasy| fonts
67 % (\LaTeX's symbol fonts). These fonts are not automatically
68 % included in the NFSS2/\LaTeXe{} since they take up important
69 % space and aren't necessary if one makes use of the packages
70 % \texttt{amsfonts} or \texttt{amssymb}.
72 % The commands defined by the \texttt{latexsym} package are:
73 % \begin{quote}\raggedright
75 % |\Join|~$\Join$ \quad
77 % |\Diamond|~$\Diamond$ \quad
78 % |\leadsto|~$\leadsto$ \quad
79 % |\sqsubset|~$\sqsubset$ \quad
80 % |\sqsupset|~$\sqsupset$ \quad
82 % |\unlhd|~$\unlhd$ \quad
89 % \section{The \dst{} modules}
91 % The following modules are used in the implementation to direct
92 % \dst{} in generating the external files:
95 % driver & produce a documentation driver file \\
96 % package & produce a package file \\
97 % fd & produce a font definition file
102 % \section{The Implementation}
104 % The individual files generated from this code are identified at the
105 % very top of this file by a couple of lines looking like this:
107 % %<fd>\ProvidesFile{Ulasy.fd}
108 % %<-driver> [????/??/?? v2.2?
109 % %<package> Standard LaTeX package (lasy symbols)]
110 % %<fd> LaTeX symbol font definitions]
117 % \begin{macro}{\symlasy}
119 % It is possible to detect whether or not the \LaTeX{} symbols are
120 % already defined by checking for the math group number with the
123 % In that case we exit but write a message to the transcript file.
125 \ifx\symlasy\undefined \else
126 \wlog{Package latexsym: nothing to set up^^J}%
129 % Otherwise we define the new symbol font.
131 \DeclareSymbolFont{lasy}{U}{lasy}{m}{n}
132 \SetSymbolFont{lasy}{bold}{U}{lasy}{b}{n}
137 % Because the lasy symbols are made an error in the format we have
138 % to undefine them before we can set them anew with
139 % |\DeclareMathSymbol|.
141 \let\mho\undefined \let\sqsupset\undefined
142 \let\Join\undefined \let\lhd\undefined
143 \let\Box\undefined \let\unlhd\undefined
144 \let\Diamond\undefined \let\rhd\undefined
145 \let\leadsto\undefined \let\unrhd\undefined
146 \let\sqsubset\undefined
148 % \changes{v2.2a}{1995/03/18}{\cs{lhd} and friends should be bin ops.}
150 \DeclareMathSymbol\mho {\mathord}{lasy}{"30}
151 \DeclareMathSymbol\Join {\mathrel}{lasy}{"31}
152 \DeclareMathSymbol\Box {\mathord}{lasy}{"32}
153 \DeclareMathSymbol\Diamond {\mathord}{lasy}{"33}
154 \DeclareMathSymbol\leadsto {\mathrel}{lasy}{"3B}
155 \DeclareMathSymbol\sqsubset{\mathrel}{lasy}{"3C}
156 \DeclareMathSymbol\sqsupset{\mathrel}{lasy}{"3D}
157 \DeclareMathSymbol\lhd {\mathbin}{lasy}{"01}
158 \DeclareMathSymbol\unlhd {\mathbin}{lasy}{"02}
159 \DeclareMathSymbol\rhd {\mathbin}{lasy}{"03}
160 \DeclareMathSymbol\unrhd {\mathbin}{lasy}{"04}
162 % To save some space we can remove the definition of |\not@base|
163 % since it isn't any longer needed. (We use |\@undefined| so that
164 % gives an error and not a recursive definition
165 % if it is still used somewhere.)
166 % \changes{v2.2b}{1995/07/03}{Free space for \cs{not@base}}
168 \let\not@base\@undefined
172 % \subsection{\LaTeX{} symbols fonts}
174 % \changes{v2.2d}{1996/11/20}{lowercase ulasy.fd /1044}
175 % The rest of this file defines the the font shape declarations
176 % that have to go into the corresponding |.fd| file.
180 \DeclareFontFamily{U}{lasy}{}
181 \DeclareFontShape{U}{lasy}{m}{n}{ <5> <6> <7> <8> <9> gen * lasy
182 <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>lasy10 }{}
184 % Since there are no bold lasy symbols below 10pt we silently
185 % substitute them by the medium ones to avoid terminal warnings if
186 % |\boldmath| is selected.
188 \DeclareFontShape{U}{lasy}{b}{n}{ <-10> ssub * lasy/m/n
189 <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>lasyb10 }{}
193 % The next line goes into all files and in addition prevents \dst{}
194 % from adding any further code from the main source file (such as a
200 % \DeleteShortVerb{\|}