%%
%% This is file `symlist.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% symlist.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2008 by Kevin W. Hamlen
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3a of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3a or later is part of all distributions of LaTeX version
%% 2004/10/01 or later.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{symlist}
  [2008/03/11 v1.1 Symbol List package]
\ProcessOptions\relax
\newcommand\LOS@symline[4]{%
  \ifx\hyper@anchor\@undefined%
    \contentsline{symbol}{\numberline{#2}{#3}}{#4}\relax%
  \else%
    \contentsline{symbol}{\numberline{#2}{#3}}{#4}{symbol.#1}%
  \fi%
}
\newcommand\listsymbolname{List of Symbols}
\newcount\LOS@cnt
\newdimen\LOS@wd
\newcommand\LOS@ext{los}
\newcommand\LOS@init[1]{%
  \long\gdef\l@symbol{\@dottedtocline{1}{1.5em}{#1}}%
}
\newcommand\newsym{\@ifnextchar[\LOS@@newsym\LOS@newsym}
\newcommand\LOS@newsym[2]{\LOS@@newsym[#2]{#1}{#2}}
\newcommand\LOS@@newsym{}
\def\LOS@@newsym[#1]#2#3{%
  \global\advance\LOS@cnt\@ne%
  \ifmmode%
    \settowidth\dimen@{$#1$\kern1em}%
    \expandafter\gdef%
      \csname LOS@sym@\romannumeral\LOS@cnt\endcsname##1##2{%
      \@writefile\LOS@ext{\LOS@symline{##1}{$#1$}{#2}{##2}}}%
  \else%
    \settowidth\dimen@{#1\kern1em}%
    \expandafter\gdef%
      \csname LOS@sym@\romannumeral\LOS@cnt\endcsname##1##2{%
      \@writefile\LOS@ext{\LOS@symline{##1}{#1}{#2}{##2}}}%
  \fi%
  \ifdim\dimen@>\LOS@wd\global\LOS@wd\dimen@\fi%
  \if@filesw%
    \write\expandafter\@auxout\expandafter{%
      \expandafter\noexpand\expandafter\LOS@sym\expandafter{%
      \romannumeral\LOS@cnt}{\thepage}}%
  \fi%
  \@ifundefined{hyperdef}{}%
    {\hyperdef{symbol}{\romannumeral\LOS@cnt}}%
  {#3}%
}
\newcommand\LOS@sym[2]{}
\AtBeginDocument{%
  \gdef\LOS@sym#1{\csname LOS@sym@#1\endcsname{#1}}%
  \if@filesw%
    \@temptokena{\expandafter\@writefile\expandafter\LOS@ext%
      \expandafter{\expandafter\LOS@init\expandafter{\the\LOS@wd}}}%
    \immediate\write\@auxout{\the\@temptokena}%
  \fi%
}
\ifx\chapter\undefined
  \newcommand\listofsymbols{%
    \section*{\listsymbolname}%
    \@mkboth{\MakeUppercase\listsymbolname}%
            {\MakeUppercase\listsymbolname}%
    \addvspace{10\p@}%
    \@starttoc\LOS@ext%
  }
\else
  \newcommand\listofsymbols{%
    \if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi%
    \chapter*{\listsymbolname}%
    \@mkboth{\MakeUppercase\listsymbolname}%
            {\MakeUppercase\listsymbolname}%
    \addvspace{10\p@}%
    \@starttoc\LOS@ext%
    \if@restonecol\twocolumn\fi%
  }
\fi
\endinput
%%
%% End of file `symlist.sty'.
