%%
%% This is file `usnomencl.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% usnomencl.dtx  (with options: `pkg')
%% 
%% -------------------------------------------------------------------
%%         University of Stellenbosch Thesis Extras Packages
%%                Simple Nomenclature for Theses
%% -------------------------------------------------------------------
%% 
%% Author: Danie Els
%% 
%%         Copyright (C) 2005-2006 Danie Els
%%         All rights reserved.
%% 
%% This work may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version
%% 2003/12/01 or later.
%% 
%% This work has the LPPL maintenance status "maintained".
%% This Current Maintainer of this work is Danie Els (dnjels@sun.ac.za)
%% -------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{usnomencl}[2006/03/08
                            v1.0a
                            Stellenbosh Thesis Nomenclature (DNJ ELS)]
\RequirePackage{calc}
\newlength{\USN@tdima}
\newlength{\USN@NomGrpSep}
\newlength{\NomGrpSep} \setlength{\NomGrpSep}{\baselineskip}
\newlength{\NomItmSep} \setlength{\NomItmSep}{\smallskipamount}
\newlength{\NomItmMrg} \setlength{\NomItmMrg}{1em}
\newlength{\NomLblSep} \setlength{\NomLblSep}{1em}
\providecommand*{\phantomsection}{}
\newcommand{\NomGrpLabel}[1]{\textbf{#1}}
\setlength{\USN@NomGrpSep}{0pt}
\newcommand\NomGroup[1]{%<-Group Headings
   \vspace{\USN@NomGrpSep}%
   \setlength{\USN@NomGrpSep}{\NomGrpSep}%
   \item[\hspace*{-\NomItmMrg}\NomGrpLabel{#1}]}
\newcommand{\NomLabel}[1]{#1\hfil}
\newenvironment{Nomencl}[1][2em]%<- Nomenclature list environment
   {\list{}{%
      \setlength{\labelwidth}{#1}%
      \setlength{\labelsep}{\NomLblSep}%
      \setlength{\itemindent}{0pt}%
      \setlength{\leftmargin}{\labelwidth+\labelsep-\itemindent+\NomItmMrg}%
      \setlength{\listparindent}{\parindent}%
      \setlength{\itemsep}{\NomItmSep}%
      \setlength{\parsep}{\parskip}%
      \let\makelabel\NomLabel}}%
  {\endlist}
\endinput
%%
%% End of file `usnomencl.sty'.
