%    This is EXPDLIST.STY                                                       
\def\@filedate{26.03.1990 }                                                     
\def\@fileversion{V 1.1}                                                        
%    docdate EXPDLISE.TEX (english): 26.03.1990                                 
%    docdate EXPDLIST.TEX (german):  26.03.1990                                 
%                                                                               
\typeout{Document Substyle `EXPDLIST'.                                          
         Released \@filedate (\@fileversion)}                                   
%                                                                               
%    *****************************************************************          
%    *                                                               *          
%    *                Expanded Description Environment               *          
%    *                                                               *          
%    *          Rainer Huelse          urz76@dmswwu1a.bitnet         *          
%    *          Wolfgang Kaspar        urz86@dmswwu1a.bitnet         *          
%    *          Computing Center                                     *          
%    *          University of Muenster                               *          
%    *          Hittorfstr. 27                                       *          
%    *          D-4400 Muenster                                      *          
%    *          West-Germany                                         *          
%    *                                                               *          
%    *  \begin{description}[<decls>]   The description environ-      *          
%    *   ... \end{description}          ment identifies a list       *          
%    *                                  of words or phrases and      *          
%    *                                  their corresponding          *          
%    *                                  definitions, descriptions,   *          
%    *                                  or explanations. Without     *          
%    *                                  <options> it is equal to     *          
%    *                                  the origanal LaTeX en-       *          
%    *                                  vironment. With <options>    *          
%    *                                  you have some new features   *          
%    *                                  described below.             *          
%    *  \item[<label>] <text> ........ The \item is equal to the     *          
%    *                                  original LaTeX environment.  *          
%    *  \listpart{<text>} ............ The \listpart identifies a    *          
%    *                                  comment or explanation that  *          
%    *                                  applies to a part of a list. *          
%    *                                  It can be placed anywhere    *          
%    *                                  within any list environment  *          
%    *                                  immediately preceeding those *          
%    *                                  items to which it applies.   *          
%    *  \listpartsep ................. The \listpartsep is the       *          
%    *                                  vertical space between the   *          
%    *                                  item and the comment pro-    *          
%    *                                  duced by \listpart. It       *          
%    *                                  defaults to 1ex.             *          
%    *                                                               *          
%    *  Formatting parameters:                                       *          
%    *                                                               *          
%    *  \compact ..................... indicates that definitions    *          
%    *                                  should not be separated from *          
%    *                                  each other by vertical white *          
%    *                                  space. Definitions are ordi- *          
%    *                                  narily separated from each   *          
%    *                                  other by a blank line.       *          
%    *  \setlabelsize{<size>} ........ gives the amount of horizon-  *          
%    *                                  tal space to be reserved     *          
%    *                                  for the \labelwidth and      *          
%    *                                  \labelsep (the space between *          
%    *                                  the labels and descriptions),*          
%    *                                  and defaults to the original *          
%    *                                  LaTeX-description list if    *          
%    *                                  not entered.                 *          
%    *  \setlabelphantom{<text>} ..... reserves the length of the    *          
%    *                                  <text> as horizontal space   *          
%    *                                  for the label without        *          
%    *                                  \labelsep (the space between *          
%    *                                  the labels and descriptions).*          
%    *  \setlabelstyle{<style>} ...... identifies the style to be    *          
%    *                                  used for labels, e.g. \bf,   *          
%    *                                  \it, \sl, or \sf.            *          
%    *                                  The default is \bf.          *          
%    *  \breaklabel .................. causes the definition des-    *          
%    *                                  cription to start on the     *          
%    *                                  line following the label     *          
%    *                                  if the length of the label   *          
%    *                                  exceeds the length which was *          
%    *                                  defined by \setlabelsize.    *          
%    *                                  The default is to leave one  *          
%    *                                  blank after the label and    *          
%    *                                  then begin the description   *          
%    *                                  on the same line.            *          
%    *                                                               *          
%    *  For additional informations see the documentation in         *          
%    *  EXPDLIST.TEX (german) or EXPDLISE.TEX (english).             *          
%    *                                                               *          
%    *****************************************************************          
%                                                                               
%    26.03.90: We had to change \break to \breaklabel and \@break to            
%              \@breaklabel because \break is a TeX-primitive. This             
%              could cause difficulties with linebreaking. (Huelse)             
%                                                                               
\def\compact%                                                                   
   {\setlength{\itemsep}{-\parsep}}                                             
%                                                                               
\def\setlabelsize%                                                              
   #1%                                                                          
   {\setlength{\labelwidth}{#1}}                                                
%                                                                               
\def\@labelstyle%                                                               
   {\bf}                                                                        
\def\setlabelstyle%                                                             
   #1%                                                                          
   {\def\@labelstyle{#1}%                                                       
   }                                                                            
%                                                                               
\def\breaklabel%                         % Changed 26.03.90 (Huelse)            
   {\def\@breaklabel%                    %            "                         
       {\rule{0mm}{0mm}%                                                        
        \\%                                                                     
       }%                                                                       
   }%                                                                           
\def\@breaklabel%                        % Changed 26.03.90 (Huelse)            
   {}                                                                           
%                                                                               
\def\description%                                                               
   {\@ifnextchar[%                                                              
       {\@expdlist}%                                                            
       {\@orgdlist}%                                                            
   }                                                                            
\let\enddescription\endlist                                                     
%                                                                               
%    *****************************************************************          
%    *                                                               *          
%    *     The marked lines are original LaTeX (ARTICLE.STY).        *          
%    *     \@orgdlist (Original description List) = \description     *          
%    *                                                               *          
%    *****************************************************************          
%                                                                               
\def\descriptionlabel#1{\hspace\labelsep \bf #1}              %  Orig.          
\def\@orgdlist{\list{}{\labelwidth\z@ \itemindent-\leftmargin %  LaTeX          
       \let\makelabel\descriptionlabel}}                      %                 
%                                                                               
\def\@expdlistlabel#1%                                                          
    {\@labelstyle                                                               
    #1%                                                                         
    \hfill%                                                                     
   }                                                                            
\def\@expdlist[#1]%                                                             
    {\list{}%                                                                   
      {\setlength{\labelwidth}{\leftmargin}%                                    
       \def\@breaklabel{}%               % Changed 26.03.90 (Huelse)            
       \def\set@labelphantom{}%                                                 
       \def\@labelstyle{\bf}%                                                   
       #1%                                                                      
       \set@labelphantom%                                                       
       \setlength{\leftmargin}{\labelwidth}%                                    
       \addtolength{\labelwidth}{-\labelsep}%                                   
       \let\makelabel\@expdlistlabel%                                           
      }%                                                                        
   }                                                                            
%                                                                               
\def\setlabelphantom%                                                           
   #1%                                                                          
   {\def\set@labelphantom%                                                      
     {\setbox\@tempboxa=\hbox spread \labelsep {\@labelstyle #1\hfill}%         
      \setlabelsize{\wd\@tempboxa}%                                             
     }%                                                                         
   }                                                                            
\def\set@labelphantom{}                                                         
%                                                                               
\newlength{\listpartsep}                                                        
\listpartsep = 1ex                                                              
\long\def\listpart%                                                             
   #1%                                                                          
   {\vspace{\listpartsep}%                                                      
    \item[]\hspace*{-\leftmargin}%                                              
    \@tempskipa=\linewidth%                                                     
    \addtolength{\@tempskipa}{\rightmargin}%                                    
    \addtolength{\@tempskipa}{\leftmargin}%                                     
    \parbox{\@tempskipa}{#1}%                                                   
    \vspace{\listpartsep}%                                                      
   }                                                                            
%                                                                               
%    *****************************************************************          
%    *                                                               *          
%    *                Original definition of \item.                  *          
%    *                This is an excerpt from LATEX.TEX.             *          
%    *                The marked lines are changed.                  *          
%    *                                                               *          
%    *****************************************************************          
                                                                                
\def\item{\@ifnextchar [{\@item}{\@noitemargtrue \@item[\@itemlabel]}}          
                                                                                
\def\@item[#1]{\if@noparitem \@donoparitem                                      
  \else \if@inlabel \indent \par \fi                                            
         \ifhmode \unskip\unskip \par \fi                                       
         \if@newlist \if@nobreak \@nbitem \else                                 
                        \addpenalty\@beginparpenalty                            
                        \addvspace\@topsep \addvspace{-\parskip}\fi             
           \else \addpenalty\@itempenalty \addvspace\itemsep                    
          \fi                                                                   
    \global\@inlabeltrue                                                        
\fi                                                                             
\everypar{\global\@minipagefalse\global\@newlistfalse                           
          \if@inlabel\global\@inlabelfalse \hskip -\parindent%                  
             \box\@labels                                                       
             \penalty\z@ \fi                                                    
          \everypar{}}\global\@nobreakfalse                                     
\if@noitemarg \@noitemargfalse \if@nmbrlist%                                    
\refstepcounter{\@listctr}\fi \fi                                               
\setbox\@tempboxa\hbox{\makelabel{#1}}%                                         
\global\setbox\@labels                                                          
 \hbox{\unhbox\@labels \hskip \itemindent                                       
       \hskip -\labelwidth \hskip -\labelsep                                    
       \ifdim \wd\@tempboxa >\labelwidth                                        
                \box\@tempboxa%                                                 
                \gdef\set@break{\@breaklabel}% Changed 26.03.90 (Huelse)        
          \else \hbox to\labelwidth {\makelabel{#1}}%                           
                \gdef\set@break{}\fi                   % Changes to             
       \hskip \labelsep}\set@break \ignorespaces}      % original LaTeX         
%    ******************************************************************         
