% \iffalse meta-comment
%
% Copyright 1994 the LaTeX3 project and the individual authors.
% All rights reserved. For further copyright information see the file
% legal.txt, and any other copyright indicated in this file.
% 
% This file is part of the LaTeX2e system.
% ----------------------------------------
% 
%  This system 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 bugs.txt.
% 
% 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 are allowed to distribute this file under the condition that
% it is distributed together with all files mentioned in manifest.txt.
% 
% 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
%
% \CheckSum{68}
%
% \iffalse   % this is a METACOMMENT !
%
% File `latexsym.dtx'.
% Copyright 1994 by Frank Mittelbach. All rights reserved.
%
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{latexsym}
%<fd>\ProvidesFile{Ulasy.fd}
%<-driver>             [1994/05/27 v2.1e
%<package>                 Standard LaTeX package (lasy symbols)]
%<fd>              LaTeX symbol font definitions]
%
%<*driver>
\documentclass{ltxdoc}
\usepackage{latexsym}
\GetFileInfo{latexsym.sty}
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
\title{The \LaTeX{} symbol fonts for use with
         \LaTeXe.\thanks{This file has version
           number \fileversion, dated \filedate.}}
\date{\filedate}
\author{Frank Mittelbach}
\begin{document}
\maketitle
 \DocInput{latexsym.dtx}
\end{document}
%</driver>
% \fi
%
%
% \section{Introduction}
%
%    This file defines the package |latexsym| which makes the few
%    additional characters available that come from the |lasy| fonts
%    (\LaTeX's symbol fonts). These fonts are not automatically
%    included in the NFSS2/\LaTeXe{} since they take up important
%    space and aren't necessary if one makes use of the packages
%    \texttt{amsfonts} or \texttt{amssymb}.
%
%    The commands defined by the \texttt{latexsym} package are:
%    \begin{quote}
%    |\mho|~$\mho$ \quad
%    |\Join|~$\Join$ \quad
%    |\Box|~$\Box$ \quad
%    |\Diamond|~$\Diamond$ \quad
%    |\leadsto|~$\leadsto$ \quad
%    |\sqsubset|~$\sqsubset$ \quad
%    |\sqsupset|~$\sqsupset$ \quad
%    |\lhd|~$\lhd$ \quad
%    |\unlhd|~$\unlhd$ \quad
%    |\rhd|~$\rhd$ \quad
%    |\unrhd|~$\unrhd$ 
%    \end{quote}
%
% \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 \\
%   package  & produce a package file \\
%   fd     & produce a font definition file
% \end{tabular}
% \end{center}
%
%
% \section{The Implementation}
%
%    \begin{macrocode}
%<*package>
%    \end{macrocode}
%
% \begin{macro}{\symlasy}
%
%    It is possible to detect whether or not the \LaTeX{} symbols are
%    already defined by checking for the math group number with the
%    name |\symlasy|.
%
%    In that case we exit but write a message to the transcript file
%    \begin{macrocode}
\ifx\symlasy\undefined \else
  \wlog{Package latexsym: nothing to set up^^J}%
  \endinput \fi
%    \end{macrocode}
%    Otherwise we define the new symbol font.
%    \begin{macrocode}
  \DeclareSymbolFont{lasy}{U}{lasy}{m}{n}
  \SetSymbolFont{lasy}{bold}{U}{lasy}{b}{n}
%    \end{macrocode}
% \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\sqsupset\undefined 
  \let\Join\undefined           \let\lhd\undefined      
  \let\Box\undefined            \let\unlhd\undefined    
  \let\Diamond\undefined        \let\rhd\undefined      
  \let\leadsto\undefined        \let\unrhd\undefined    
  \let\sqsubset\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}
%</package>
%    \end{macrocode}
%
%  \subsection{\LaTeX{} symbols fonts}
%
%    The rest of this file defines the the font shape declarations
%    that have to go into the corresponding |.fd| file.
%
%    We introduce the |.fd| file in the \textsf{log} file. The
%    explicit spaces are necessary in an |.fd| file and the |\string|
%    guards against situations where |`|, |<| or |>| is active.
%    \begin{macrocode}
%<*fd>
\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  }{}
%</fd>
%    \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         \~}
