%  FOR ESSEN INTERNAL USE ONLY  (Les Houches Proceedings 1991)
%
%  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
%
% nato12.sty 7-Aug-90 for NATO ASI papers
% modified from
% art12.sty 22-Dec-87   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.

%\lineskip 1pt \normallineskip 1pt
\lineskip -0.5pt \normallineskip -0.5pt   % geaendert, gli
\def\baselinestretch{1}

%\def\@normalsize{\@setsize\normalsize{14.5pt}\xiipt\@xiipt
%\def\@normalsize{\@setsize\normalsize{15pt}\xiipt\@xiipt % geaendert, gli
\def\@normalsize{\@setsize\normalsize{16pt}\xiipt\@xiipt % geaendert, gli
% die folgenden drei Zeilen geaendert, gli
%\abovedisplayskip 12pt plus3pt minus7pt\belowdisplayskip \abovedisplayskip
%\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
%minus3pt\let\@listi\@listI}
\abovedisplayskip 15.5pt plus0pt minus0pt \belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ \belowdisplayshortskip 6.5pt \let\@listi\@listI}
\def\small{\@setsize\small{13.6pt}\xipt\@xipt
\abovedisplayskip 11pt plus0pt minus0pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
minus3pt
\def\@listi{\leftmargin\leftmargini \parsep 4.5pt plus 2pt minus 1pt \itemsep
\parsep
\topsep 9pt plus 3pt minus 5pt}}
\def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
\abovedisplayskip 10pt plus20pt minus0pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt minus3pt
\def\@listi{\leftmargin\leftmargini \topsep 6pt plus 2pt minus 2pt\parsep 3pt
plus 2pt minus 1pt
\itemsep \parsep}}
\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
\def\large{\@setsize\large{18pt}\xivpt\@xivpt}
\def\Large{\@setsize\Large{22pt}\xviipt\@xviipt}
\def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt}
\def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
\let\Huge=\huge
\normalsize
%\if@twoside \oddsidemargin 21pt \evensidemargin 21pt \marginparwidth 85pt
%\if@twoside \oddsidemargin -0.74cm \evensidemargin 0.66cm   % geaendert, HP
\if@twoside \oddsidemargin 0.465cm \evensidemargin -0.325cm   % geaendert, NeXT
\marginparwidth 60pt                                        %  gli
\else \oddsidemargin 0.5cm \evensidemargin 0.5cm
 \marginparwidth 68pt
\fi
\marginparsep 10pt
% \topmargin 27pt \headheight 12pt \headsep 25pt \footskip 30pt
% \topmargin -.7in \headheight 12pt \headsep 25pt \footskip 30pt
\topmargin 0cm \headheight 12pt \headsep 18pt \footskip 30pt% geaendert, gli

\newfont{\halfrm}{cmr12 scaled \magstephalf}  % eingefuegt, gli
\newfont{\halfbf}{cmbx12 scaled \magstephalf} % eingefuegt, gli
\newfont{\secit}{cmbxti10 scaled 1440}        % eingefuegt, gli
\newfont{\subsecit}{cmbxti10 scaled 1315}     % eingefuegt, gli

%\textheight = 36\baselineskip
%\advance\textheight by \topskip
\textheight 23cm %  von 22 auf 23 cm erhoeht, gli
%\textwidth 390pt
\textwidth 15.5cm \columnsep 10pt \columnseprule 0pt

%\raggedbottom    % eingefuegt, gli

\jot = 13pt % eingefuegt, gli

\footnotesep 8.4pt
\skip\footins 10.8pt plus 4pt minus 2pt
% die folgenden drei Zeilen geaendert, gli
%\floatsep 14pt plus 2pt minus 4pt \textfloatsep 20pt plus 2pt minus 4pt
%\intextsep 14pt plus 4pt minus 4pt \@maxsep 20pt \dblfloatsep 14pt plus 2pt
%minus 4pt \dbltextfloatsep 20pt plus 2pt minus 4pt \@dblmaxsep 20pt
\floatsep 2\baselineskip \textfloatsep 2\baselineskip
\intextsep \baselineskip \@maxsep 20pt \dblfloatsep 14pt plus 2pt
minus 4pt \dbltextfloatsep 20pt plus 2pt minus 4pt \@dblmaxsep 20pt
\@fptop 0pt plus 1fil \@fpsep 10pt plus 2fil \@fpbot 0pt plus 1fil
\@dblfptop 0pt plus 1fil \@dblfpsep 10pt plus 2fil \@dblfpbot 0pt plus 1fil
\marginparpush 7pt
% die folgende Zeile geaendert, gli
%\parskip 0pt plus 1pt \parindent 1.5em \partopsep 3pt plus 2pt minus 2pt
\parskip 0pt \parindent 0.05\textwidth \partopsep 3pt plus 2pt minus
2pt
\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301
\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
-\@lowpenalty

\widowpenalty 10000  % eingefuegt, gli
\clubpenalty 10000 % eingefuegt, gli

% Einfuegung von bk12.sty und Abaenderung, gli

\newif\ifanhang
\anhangfalse

\def\@makechapterhead#1{{ \parindent 0pt
 \raggedright
 \newbox\kapitel
 \ifanhang
  \setbox\kapitel=\hbox{\Large\bf Anhang \thechapter{} }
 \else
  \setbox\kapitel=\hbox{\Large\bf\thechapter{} }
 \fi
 \hangindent=\wd\kapitel  \hangafter=1
 \ifanhang
  \Large \bf Anhang \thechapter{} #1 \par
 \else
  \Large \bf \thechapter{} #1 \par
 \fi
 \nobreak \vskip \baselineskip } }

\def\@makeschapterhead#1{ \vspace*{50pt} { \parindent 0pt \raggedright
 \Huge \bf #1\par
 \nobreak \vskip 40pt } }

\def\chapter{\clearpage \thispagestyle{headings} \global\@topnum\z@
\@afterindentfalse \secdef\@chapter\@schapter}
\newbox\kaphead                                   % Aenderung 1 fuer Dirk
\setbox\kaphead=\hbox{}                           % Aenderung 1 fuer Dirk
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
 \refstepcounter{chapter}
 \typeout{\@chapapp\space\thechapter.}
 \ifnum\value{chapter}=\z@ \else
   \setbox\kaphead=\hbox{\sf\arabic{chapter}\ #1}\fi   % Aenderung 1 fuer Dirk
 \setbox\sekhead=\hbox{}                          % Aenderung 1 fuer Dirk
 \addcontentsline{toc}{chapter}{\protect
 \numberline{\thechapter}#1}\else
 \addcontentsline{toc}{chapter}{#1}\fi
 %\chaptermark{#1}
 \addtocontents{lof}{\protect\addvspace{10pt}}
\addtocontents{lot}{\protect\addvspace{10pt}} \if@twocolumn
\@topnewpage[\@makechapterhead{#2}]
 \else \@makechapterhead{#2}
 \@afterheading \fi}
\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
 \else \@makeschapterhead{#1}
 \@afterheading\fi}

% Ende der Einfuegung, gli

\def\part{\par \addvspace{4ex} \@afterindentfalse \secdef\@part\@spart}
\def\partname{Teil} % <---------- Part zuvor H.S.
\def\@part[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{part}
\addcontentsline{toc}{part}{\thepart \hspace{1em}#1}\else
\addcontentsline{toc}{part}{#1}\fi { \parindent 0pt \raggedright
 \ifnum \c@secnumdepth >\m@ne \Large \bf \partname{}
 \thepart \par\nobreak \fi \huge
\bf #2\markboth{}{}\par } \nobreak \vskip 3ex \@afterheading }
\def\@spart#1{{\parindent 0pt \raggedright
 \huge \bf
 #1\par} \nobreak \vskip 3ex \@afterheading }
% folgende sechs Zeilen geaendert, gli
%\def\section{\@startsection{section}{1}{\z@}{-3.5ex plus -1ex minus
%-.2ex}{1.5ex plus .2ex}{\large\bf}}
%\def\subsection{\@startsection{subsection}{2}{\z@}{-3.5ex plus -1ex minus
%-.2ex}{1.5ex plus .2ex}{\large\bf}}
%\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.5ex plus -1ex minus
%-.2ex}{1.5ex plus .2ex}{\large\bf}}
\def\section{\@startsection{section}{1}{\z@}{-2\baselineskip}
{\baselineskip}{\large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-\baselineskip}
{\baselineskip}{\halfbf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-\baselineskip}
{0.5\baselineskip}{\rm}}
\def\paragraph{\@startsection
 {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsection
 {subparagraph}{4}{\parindent}{3.25ex plus 1ex minus
 .2ex}{-1em}{\normalsize\bf}}


%\setcounter{secnumdepth}{3}
%\setcounter{secnumdepth}{2}   % wieder zurueck auf 3 gesetzt, gli
\setcounter{secnumdepth}{3}

\def\appendix{\par
 \anhangtrue
 \setcounter{chapter}{0}
 \setcounter{section}{0}
% \def\thesection{\Alph{section}}}
 \def\thechapter{\Alph{chapter}}}   % geaendert, gli und hw

\leftmargini 2.5em
\leftmarginii 2.2em \leftmarginiii 1.87em \leftmarginiv 1.7em \leftmarginv 1em
\leftmarginvi 1em
\leftmargin\leftmargini
\labelsep .5em
\labelwidth\leftmargini\advance\labelwidth-\labelsep
%\def\@listI{\leftmargin\leftmargini \parsep 5pt plus 2.5pt minus 1pt\topsep
%10pt plus 4pt minus 6pt\itemsep 5pt plus 2.5pt minus 1pt}
\def\@listI{\leftmargin\leftmargini \parsep 0pt plus 0pt minus 0pt\topsep
7pt plus 0pt minus 0pt\itemsep 0pt plus 0pt minus 0pt}
\let\@listi\@listI
\@listi
\def\@listii{\leftmargin\leftmarginii
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
 \topsep 5pt plus 2.5pt minus 1pt
 \parsep 2.5pt plus 1pt minus 1pt
 \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
 \topsep 2.5pt plus 1pt minus 1pt
 \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
 \itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
