%  FOR ESSEN INTERNAL USE ONLY	(Habilitationsschrift gli)
%
%  this is a modified version of a modified version of article.sty
%  there is no guarantee that this is programmed in an efficient or
%  nice way but it works
%
% nato.sty 8-Nov-90 for NATO ASI papers
% modified from
% article.sty 16-Mar-88    modified for international usage
%
% Modified by J.Schrod (TeXsys).
% according to the suggestion of H.Partl (TU Wien) in german.sty
% to make caption names adaptable to other languages.
%
% Aenderungen von gli/hg

\typeout{   }
\typeout{   }
\typeout{------------------------------------------}
\typeout{   }
\typeout{ Document Style `habil - gli' <25 Aug 92>}
\typeout{   }
\typeout{------------------------------------------}
\typeout{   }
\typeout{   }


\def\@ptsize{0} \@namedef{ds@11pt}{\def\@ptsize{1}}
\@twosidetrue
\raggedbottom % eingefuegt, gli
\@namedef{ds@12pt}{\def\@ptsize{2}}
\@mparswitchtrue \def\ds@draft{\overfullrule 5pt}
\@options
\input habil1\@ptsize.sty\relax

\def\labelenumi{\theenumi.}
\def\theenumi{\arabic{enumi}}
\def\labelenumii{(\theenumii)}
\def\theenumii{\alph{enumii}}
\def\p@enumii{\theenumi}
\def\labelenumiii{\theenumiii.}
\def\theenumiii{\roman{enumiii}}
\def\p@enumiii{\theenumi(\theenumii)}
\def\labelenumiv{\theenumiv.}
\def\theenumiv{\Alph{enumiv}}
\def\p@enumiv{\p@enumiii\theenumiii}

\def\labelitemi{$\bullet$}
\def\labelitemii{\bf --}
\def\labelitemiii{$\ast$}
\def\labelitemiv{$\cdot$}

\def\verse{\let\\=\@centercr
 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
 \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
\let\endverse\endlist
\def\quotation{\list{}{\listparindent 1.5em
 \itemindent\listparindent
 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
\let\endquotation=\endlist
\def\quote{\list{}{\rightmargin\leftmargin}\item[]}
\let\endquote=\endlist

\def\descriptionlabel#1{\hspace\labelsep \bf #1}
\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
 \let\makelabel\descriptionlabel}}
\let\enddescription\endlist
\newdimen\descriptionmargin
\descriptionmargin=3em


\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
% \else \newpage \fi \thispagestyle{empty}\c@page\z@}
 \else \newpage \fi \thispagestyle{empty}\c@page\z@
 \setcounter{page}{1}} %eingefuegt, gli
\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}

% die folgende Zeile geaendert, gli
\arraycolsep 5pt \tabcolsep 6pt \arrayrulewidth .4pt \doublerulesep 2pt
%\arraycolsep 1.4pt \tabcolsep 1cm \arrayrulewidth .4pt \doublerulesep 2pt
% herauskommentiert HW am 21.7.93
\tabbingsep \labelsep

\skip\@mpfootins = \skip\footins
\fboxsep = 3pt \fboxrule = .4pt
\newcounter{part}
\newcounter {chapter}		    % eingefuegt, gli
\newcounter {section}[chapter]	    % geaendert, gli
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]

\def\thechapter{\arabic{chapter}}    % eingefuegt, gli
%\def\thepart{\Roman{part}} \def\thesection {\arabic{section}}
%\def\thesubsection {\thesection.\arabic{subsection}}
\def\thepart{\Roman{part}} \def\thesection {\thechapter.\arabic{section}} % geaendert,
\def\thesubsection {\thesection.\arabic{subsection}}	      % gli
%\def\thesubsubsection {\thesubsection .\arabic{subsubsection}} % geaendert, gli
\def\thesubsubsection {\thesubsection.\arabic{subsubsection}}
\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
\def\theappendix{\alphabetic{appendix}}
\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
\def\@chapapp{Chapter}	  % eingefuegt, gli

\@addtoreset{equation}{chapter}
\def\theequation{\thechapter.\arabic{equation}}


\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
    \hbox{}\thispagestyle{empty}\newpage
    \if@twocolumn\hbox{}\newpage\fi\fi\fi}

% Einfuegung von book.sty, gli

\def\part{\cleardoublepage \thispagestyle{plain} \if@twocolumn \onecolumn
\@tempswatrue \else \@tempswafalse \fi \hbox{}\vfil \secdef\@part\@spart}

\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax \refstepcounter{part}
\addcontentsline{toc}{part}{\thepart \hspace{1em}#1}\else
\addcontentsline{toc}{part}{#1}\fi \markboth{}{}
 {\centering \ifnum \c@secnumdepth >-2\relax \huge\bf Teil \thepart \par
 %%                                                   ^^^^ Part - HS
\vskip 20pt \fi \Huge \bf #1\par}\@endpart}
\def\@endpart{\vfil\newpage \if@twoside \hbox{} \thispagestyle{empty}
 \newpage
 \fi \if@tempswa \twocolumn \fi}
\def\@spart#1{{\centering \Huge \bf #1\par}\@endpart}

% Ende der Einfuegung

\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
%\setcounter{tocdepth}{3}
\setcounter{tocdepth}{2}    % geaendert, gli

% folgenden Block von latex.tex eingefuegt und geaendert, gli
\newbox\sekhead 				 % Aenderung 1 fuer Dirk
\setbox\sekhead=\hbox{} 			 % Aenderung 1 fuer Dirk
\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
     \def\@svsec{}\else
     \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\ }\fi
     \ifnum\value{chapter}=\z@ \else		% Aenderung 1 fuer Dirk
       \ifnum #2=1				% Aenderung 1 fuer Dirk
	\setbox\sekhead=\hbox{#8} \fi\fi	% Aenderung 1 fuer Dirk
     \@tempskipa #5\relax
      \ifdim \@tempskipa>\z@
	\begingroup #6\relax
	  \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}
	\endgroup
       \csname #1mark\endcsname{#7}\addcontentsline
	 {toc}{#1}{\ifnum #2>\c@secnumdepth \else
		      \protect\numberline{\csname the#1\endcsname}\fi
		    #7}\else
	\def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
		      {#7}\addcontentsline
			   {toc}{#1}{\ifnum #2>\c@secnumdepth \else
			     \protect\numberline{\csname the#1\endcsname}\fi
		       #7}}\fi
     \@xsect{#5}}

% die folgenden vier Zeilen durch drei Zeilen aus book.sty ersetzt und
% geaendert, gli
%\def\contentsname{Contents} % <----------
%\def\tableofcontents{\section*{\contentsname
%\@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}
% \@starttoc{toc}}
\def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
 \fi\section*{Inhaltsverzeichnis}
 \@starttoc{toc}\if@restonecol\twocolumn\fi}
\def\l@part#1#2{\addpenalty{\@secpenalty}
 \addvspace{2.25em plus 1pt} \begingroup
 \@tempdima 3em \parindent \z@ \rightskip \@pnumwidth \parfillskip
-\@pnumwidth
 {\large \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
 \nobreak \endgroup}
% l@section auskommentiert, entsprechende Teil aus book.sty, gli
%\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1pt}
%\@tempdima 1.5em \begingroup
% \parindent \z@ \rightskip \@pnumwidth
% \parfillskip -\@pnumwidth
% \bf \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil
%\nobreak\hbox to\@pnumwidth{\hss #2}\par
% \endgroup}
\def\l@chapter#1#2{\pagebreak[3]
%\def\l@chapter#1#2{\pagebreak[0]
% \vskip 1.0em plus 1pt \@tempdima 1.5em \begingroup
% \vskip 1.0em plus 1pt \@tempdima 0.45cm \begingroup % geaendert, gli
% \vskip 1.0em plus 1pt \@tempdima 0.3cm \begingroup % geaendert, ds
 \vskip 1.0em plus 1pt \@tempdima 1.1em \begingroup % zurueck geaendert, pg
 \parindent \z@ \rightskip \@pnumwidth
 \parfillskip -\@pnumwidth
 \bf \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil
\nobreak\hbox to\@pnumwidth{\hss #2}\par
 \endgroup}
%\def\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
%\def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
\def\l@section{\@dottedtocline{1}{0.45cm}{0.9cm}}      % geaendert, gli
\def\l@subsection{\@dottedtocline{2}{1.35cm}{1.2cm}}   % geaendert, gli
%\def\l@section{\@dottedtocline{1}{0.30cm}{0.6cm}}      % geaendert, ds
%\def\l@subsection{\@dottedtocline{2}{0.85cm}{0.8cm}}   % geaendert, ds
\def\l@subsubsection{\@dottedtocline{3}{7.1em}{4.1em}}
\def\l@paragraph{\@dottedtocline{4}{10em}{5em}}
\def\l@subparagraph{\@dottedtocline{5}{12em}{6em}}  % Ende der Einfuegung, gli

\def\listfigurename{List of Figures} % <----------
\def\listoffigures{
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}  % eingefuegt, ds
\section*{\listfigurename\@mkboth
{\uppercase{\listfigurename}}{\uppercase{\listfigurename}}}\@starttoc{lof}}
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\def\listtablename{List of Tables} % <----------
\def\listoftables{\section*{\listtablename\@mkboth
{\uppercase{\listtablename}}{\uppercase{\listtablename}}}\@starttoc{lot}}
\let\l@table\l@figure

\def\refname{Literaturverzeichnis} % <---------- geaendert, gli
%\def\thebibliography#1{\chapter*{\refname\@mkboth
% {\uppercase{\refname}}{\uppercase{\refname}}}\list
\def\thebibliography#1{\section*{\refname}\list % geaendert, gli
 {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
 \advance\leftmargin\labelsep
 \addcontentsline{toc}{chapter}{Literaturverzeichnis}  % eingefuegt, gli
 \usecounter{enumi}}
% \def\newblock{\hskip .11em plus .33em minus .07em}
 \def\newblock{\hskip .05em plus .05em minus .05em}
 \itemsep\z@
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist

\newif\if@restonecol
\def\indexname{Index} % <----------
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
 \columnseprule \z@
 \columnsep 35pt\twocolumn[\section*{\indexname}]
\@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}%
%\thispagestyle{plain}\parindent\z@    % geaendert, gli
 \thispagestyle{empty}\parindent\z@
%\parskip\z@ plus .3pt\relax\let\item\@idxitem} % geaendert, gli
 \parskip\z@ plus .3pt\relax\let\item\@idxitem\footnotesize%
 \setcounter{chapter}{-1} % hinzugefuegt, gli
 \addcontentsline{toc}{chapter}{Index}}  % eingefuegt, gli

\def\@idxitem{\par\hangindent 40pt}
\def\subitem{\par\hangindent 40pt \hspace*{20pt}}
\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}}
\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax}
\def\footnoterule{\kern-3\p@
 \hrule width .4\columnwidth
 height 0pt			      % eingefuegt, gli
 \kern 2.6\p@}
\@addtoreset{footnote}{chapter}       % eingefuegt, gli

% die naechsten zwei Zeilen geaendert, gli
%\long\def\@makefntext#1{\parindent 1em\noindent
% \hbox to 1.8em{\hss$^{\@thefnmark}$}#1}
\def\textindent#1{\null\hskip 12truept\llap{#1\enspace}\ignorespaces}
\long\def\@makefntext#1{\par\hangindent 12truept\textindent{$^{\@thefnmark}$}%
#1}

\setcounter{topnumber}{2}
\def\topfraction{.85}
\setcounter{bottomnumber}{1}
\def\bottomfraction{.85}
\setcounter{totalnumber}{3}
\def\textfraction{.15}
%\def\floatpagefraction{.5}
\def\floatpagefraction{.75}    % geaendert, gli
\setcounter{dbltopnumber}{2}
\def\dbltopfraction{.7}
\def\dblfloatpagefraction{.5}

\def\smallcaption{\refstepcounter\@captype \@dblarg{\@smallcaption\@captype}}


\long\def\@smallcaption#1[#2]#3{\par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\csname
  the#1\endcsname}{\ignorespaces #2}}\begingroup
    \@parboxrestore
    \normalsize
    \@makesmallcaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
  \endgroup}

\long\def\@makesmallcaption#1#2{
 \vskip 10pt
 \vskip .5\baselineskip
% \setbox\@tempboxa\hbox{#1: #2}    %*** geaendert, gli
 \setbox\@tempboxa\hbox{#1 #2}
 \ifdim \wd\@tempboxa >.667\hsize
% \hfill\parbox[t]{10.5cm}{#1: #2}\hspace*{\fill} \else   %*** geaendert, gli
 \hfill\parbox[t]{10.5cm}{#1 #2}\hspace*{\fill}
\else \hbox to\hsize{\hfil\box\@tempboxa\hfil}
 \fi}



\long\def\@makecaption#1#2{
%\vskip 10pt% geaender, ds
 \vskip -10pt
 \vskip .5\baselineskip
% \setbox\@tempboxa\hbox{#1: #2}    %*** geaendert, gli
 \setbox\@tempboxa\hbox{#1 #2}
% \ifdim \wd\@tempboxa >\hsize #1: #2\par \else \hbox	%*** geaendert, gli
 \ifdim \wd\@tempboxa >\hsize #1 #2\par \else \hbox
to\hsize{\hfil\box\@tempboxa\hfil}
 \fi}


\newcounter{figure} % geaendert, gli
\def\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\figurename{Abb.} % <----------
%\def\fnum@figure{\figurename{} \thefigure} %*** Zeile geaendert, gli
\def\fnum@figure{\footnotesize{\bf\figurename~\thefigure:}}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
\newcounter{table}[chapter]   % geaendert, gli
%\def\thetable{\@arabic\c@table}
\def\thetable{\@Roman\c@table}	  % geaendert, gli
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\tablename{Tabelle} % <----------
\def\fnum@table{{\bf\tablename{} \thetable.}}
\def\table{\@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}

\def\maketitle{\par
 \begingroup
 \def\thefootnote{\fnsymbol{footnote}}
 \def\@makefnmark{\hbox
 to 0pt{$^{\@thefnmark}$\hss}}
 \if@twocolumn
 \twocolumn[\@maketitle]
 \else \newpage
 \global\@topnum\z@ \@maketitle \fi\thispagestyle{plain}\@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
% \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
 \gdef\@thanks{}\gdef\@author{}\gdef\@affiliation{}%
\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\newpage
 \null
% \vskip 2em \begin{center}
% {\LARGE \@title \par} \vskip 1.5em {\large \lineskip .5em
%\begin{tabular}[t]{c}\@author
% \end{tabular}\par}
% \vskip 1em {\large \@date} \end{center}
% \par
% \vskip 1.5em}
 \vskip 35mm
 {\Large\bf \noindent \uppercase{\@title} \par}
{\vskip 8mm \hskip 18mm \noindent\begin{tabular}[t]{l}\bf\@author
 \end{tabular}\par
 \vskip \baselineskip
 \hskip 18mm \noindent\begin{tabular}[t]{l}\@affiliation
\end{tabular}\par}
 \vskip 1em%
\markboth{\@shortauthor}{\uppercase{\@shorttitle}}
\vfill}
\def\abstractname{Abstract} % <----------
\def\abstract{\if@twocolumn
\section*{\abstractname}
\else \small
\begin{center}
{\bf \abstractname\vspace{-.5em}\vspace{0pt}}
\end{center}
\quotation
\fi}
\def\endabstract{\if@twocolumn\else\endquotation\fi}
\mark{{}{}}

% folgende zwei Zeilen eingefuegt, gli
%\def\seite{\sf\ifnum\value{chapter}=\z@ \thechapter \roman{page} \else \arabic{page}\fi}
%\def\seite{\sf \arabic{page}}
\def\seite{\sf \thepage}
\font\headfont=cmss9
\if@twoside \def\ps@headings{\let\@mkboth\@gobbletwo%\markboth
%*** die folgenden drei Zeilen geaendert, gli
%\def\@oddfoot{}\def\@evenfoot{}\def\@evenhead{\rm \thepage\hfil %\sl
%\leftmark}\def\@oddhead{\hbox{}%\sl
%\rightmark \hfil \rm\thepage}
\def\@oddfoot{}\def\@evenfoot{}
%\def\@evenhead{{\seite}\hfil {\headfont\autoren}\hfil
%\ifnum\value{chapter}>\z@{\headfont Chapter \thechapter}\fi}
%\def\@oddhead{\ifnum\value{chapter}>\z@{\headfont Chapter \thechapter}\fi
%\hfil{\headfont\ueberschrift} \hfil{\seite}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%									 %
%  alte Fassung 							 %
%									 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\def\@evenhead{{\seite}\hfil}
%\def\@oddhead{\hfil{\seite}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%									 %
%  neue Version fuer Dirk (Aenderung 1) 				 %
%									 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\@evenhead{{\seite}\hfil \copy\kaphead}
\def\@oddhead{\copy\sekhead\hfil{\seite}}
%%%%%%%%%%%%%%%%%%%%% Ende der Aenderung %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% die folgenden zwei Zeilen von book.doc kopiert und geaendert, gli
\def\chaptermark##1{\markboth{##1}{}}%
\def\subsectionmark##1{}
\def\sectionmark##1{}}
%\def\subsectionmark##1{\markright
%{\ifnum \c@secnumdepth >\@ne
% \thesubsection\hskip 1em\relax \fi ##1}}
\else \def\ps@headings{\let\@mkboth\markboth
%*** die folgenden drei Zeilen geaendert, gli
%\def\@oddfoot{}\def\@evenfoot{}\def\@oddhead{\hbox {}\sl \rightmark \hfil
%\rm\thepage}\def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth
%>\z@
\def\@oddfoot{}\def\@evenfoot{}
%\def\@oddhead{\hbox {}{\footnotesize\rightmark} \hfil{\seite}}
\def\@oddhead{\hfil {\seite}} % Aenderung fuer Endfassung, gli	  (HW)
%\def\@evenhead{{\seite}\hfil} % eingefuegt, gli		  (HW)
% folgende Zeile geaendert, gli
%\def\sectionmark##1{\markright {\uppercase{\ifnum\c@secnumdepth >\z@
% \thesection\hskip 1em\relax \fi ##1}}}
\def\sectionmark##1{}}
\fi
\def\ps@myheadings{\let\@mkboth\@gobbletwo
%*** die folgenden drei Zeilen geaendert, gli
%\def\@oddhead{\hbox{}\sl\rightmark \hfil
%\rm\thepage}\def\@oddfoot{}\def\@evenhead{\rm \thepage\hfil\sl\leftmark\hbox
%{}}\def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}}
\def\@oddhead{\hbox{}{\footnotesize\rightmark} \hfil
{\seite}}\def\@oddfoot{}\def\@evenhead{{\seite}\hfil%
{\footnotesize\leftmark}\hbox
{}}\def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}}

\def\today{\ifcase\month\or
 January\or February\or March\or April\or May\or June\or
 July\or August\or September\or October\or November\or December\fi
 \space\number\day, \number\year}
\ps@plain \pagenumbering{arabic} \onecolumn \if@twoside\else\raggedbottom\fi


%\parskip = \baselineskip
\addtolength{\parskip}{\z@ plus 1pt}
%\parindent10mm        %*** auskommentiert, gli
\def\affiliation#1{\gdef\@affiliation{#1}}
\def\shorttitle#1{\gdef\@shorttitle{#1}}
\def\shortauthor#1{\gdef\@shortauthor{#1}}
\pagestyle{headings}

% \apc definiert, gli
\font\apcf=cmssi10
\def\apc{\marginpar%
[\hbox{\vbox{\hbox{\apcf AUTHOR\hfil}
	 \hbox{\apcf PLEASE\hfil}
	 \hbox{\apcf CHECK\hfil}}\ $\Rightarrow$}]
{\hbox{$\Leftarrow$\ \vbox{\hbox{\apcf AUTHOR\hfil}
	 \hbox{\apcf PLEASE\hfil}
	 \hbox{\apcf CHECK\hfil}}}}
}

% fleqn.sty 26-Sep-89

\def\[{\relax\ifmmode\@badmath\else
 \begin{trivlist}
 \@beginparpenalty\predisplaypenalty
 \@endparpenalty\postdisplaypenalty
 \item[]\leavevmode
 \hbox to\linewidth\bgroup$ \displaystyle
 \hskip\mathindent\bgroup\fi}
\def\]{\relax\ifmmode \egroup $\hfil \egroup \end{trivlist}\else \@badmath \fi}
%\def\equation{\@beginparpenalty\predisplaypenalty
\def\equation{\topsep 13pt plus 0pt minus 0pt % geaendert, gli
\@beginparpenalty\predisplaypenalty % geaendert, gli
 \@endparpenalty\postdisplaypenalty
\refstepcounter{equation}\trivlist \item[]\leavevmode
 \hbox to\linewidth\bgroup $ \displaystyle
\hskip\mathindent}
\def\endequation{$\hfil \displaywidth\linewidth\@eqnnum\egroup \endtrivlist}
\def\eqnarray{\stepcounter{equation}\let\@currentlabel=\theequation
\global\@eqnswtrue
\global\@eqcnt\z@\tabskip\mathindent\let\\=\@eqncr
%\abovedisplayskip\topsep\ifvmode\advance\abovedisplayskip\partopsep\fi
\abovedisplayskip 13pt plus 0pt minus 0pt      % geaendert, gli
\ifvmode\advance\abovedisplayskip\partopsep\fi % geaendert,gli
\belowdisplayskip\abovedisplayskip
\belowdisplayshortskip\abovedisplayskip
\abovedisplayshortskip\abovedisplayskip
$$\halign to
\linewidth\bgroup\@eqnsel\hskip\@centering$\displaystyle\tabskip\z@
 {##}$&\global\@eqcnt\@ne \hskip 2\arraycolsep \hfil${##}$\hfil
 &\global\@eqcnt\tw@ \hskip 2\arraycolsep $\displaystyle{##}$\hfil
 \tabskip\@centering&\llap{##}\tabskip\z@\cr}
\def\endeqnarray{\@@eqncr\egroup
 \global\advance\c@equation\m@ne$$\global\@ignoretrue }
\newdimen\mathindent
\mathindent = \leftmargini

\mathindent\parindent

% folgende drei Zeilen eingefuegt, gli
\def\itemize{\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\list{\csname\@itemitem\endcsname}{\setlength{\labelwidth}{\parindent}
\setlength{\leftmargin}{\labelwidth}\setlength{\labelsep}{0pt}
\def\makelabel##1{{##1}\hfill}}\fi}

% folgende drei Zeilen eingefuegt, ds
\newcommand{\gapp}{\mathop{\,\raisebox{-1ex}{$\stackrel{\displaystyle >}{\sim}$}\,}}
\newcommand{\lapp}{\mathop{\,\raisebox{-1ex}{$\stackrel{\displaystyle <}{\sim}$}\,}}
\def\slantfrac#1#2{\kern.2em^{#1}\kern-.3em/\kern-.1em_{#2}}

\input prabibmy.sty
%\@ifundefined{selectfont}{}{\input{amsfonts.sty}\endinput}
\input{amsfonts.sty}
%\input{eucal.sty}
\DeclareMathAlphabet\mathcal{U}{eus}{m}{n}
\SetMathAlphabet \mathcal{bold}{U}{eus}{b}{n}
