arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/ahp.cls	2010-04-03 12:27:46.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/proceed.cls	2010-04-02 12:30:33.000000000 +0200
@@ -1,77 +1,10 @@
 %%
-%% This is file `article.cls',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% classes.dtx  (with options: `article')
-%%
-%% This is a generated file.
-%%
-%% Copyright 1993 1994 1995 1996 1997
-%% The LaTeX3 Project and any individual authors listed elsewhere
-%% in this file.
-%%
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%%
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%%
-%%   For error reports concerning UNCHANGED versions of this file no
-%%   more than one year old, see bugs.txt.
-%%
-%%   Please do not request updates from us directly.  Primary
-%%   distribution is through the CTAN archives.
-%%
-%%
-%% IMPORTANT COPYRIGHT NOTICE:
-%%
-%% You are NOT ALLOWED to distribute this file alone.
-%%
-%% You are allowed to distribute this file under the condition that it
-%% is distributed together with all the files listed in manifest.txt.
-%%
-%% If you receive only some of these files from someone, complain!
-%%
-%%
-%% Permission is granted to copy this file to another file with a
-%% clearly different name and to customize the declarations in that
-%% copy to serve the needs of your installation, provided that you
-%% comply with the conditions in the file legal.txt.
-%%
-%% However, NO PERMISSION is granted to generate or to distribute a
-%% modified version of this file under its original name.
-%%
-%% You are NOT ALLOWED to change this file.
-%%
-%%
-%% MODIFICATION ADVICE:
-%%
-%% If you want to customize this file, it is best to make a copy of
-%% the source file(s) from which it was produced.  Use a different
-%% name for your copy(ies) and modify the copy(ies); this will ensure
-%% that your modifications do not get overwritten when you install a
-%% new release of the standard system.  You should also ensure that
-%% your modified source file does not generate any modified file with
-%% the same name as a standard file.
-%%
-%% You can then easily distribute your modifications by distributing
-%% the modified and renamed copy of the source file, taking care to
-%% observe the conditions in legal.txt; this will ensure that other
-%% users can safely use your modifications.
-%%
-%% You will also need to produce your own, suitably named, .ins file to
-%% control the generation of files from your source file; this file
-%% should contain your own preambles for the files it generates, not
-%% those in the standard .ins files.
-%%
-%% The names of the source files used are shown above.
+%% This is file `proceed.cls',
+%% based on the original file `book.cls'
+%% with some Makros of Springer
 %%
+%% Copyright 1997
+%% W. Fellin, Institut f"ur Geotechnik und Tunnelbau
 %%
 %%
 %% \CharacterTable
@@ -90,13 +23,14 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{ahp}
-              [1999/11/29 v1.0
- Birkhaeuser LaTeX document class]
+\ProvidesClass{proceed}
+              [1999/9/01 v1.0 ^^J IGT proceeding class, W. Fellin]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagefalse
+\newif\if@openright
+\newif\if@mainmatter \@mainmattertrue
 \if@compatibility\else
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
@@ -140,6 +74,12 @@
 \if@compatibility\else
 \DeclareOption{notitlepage}{\@titlepagefalse}
 \fi
+\if@compatibility
+\@openrighttrue
+\else
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+\fi
 \if@compatibility\else
 \DeclareOption{onecolumn}{\@twocolumnfalse}
 \fi
@@ -156,9 +96,19 @@
       }%
    \renewcommand\newblock{\par}}%
 }
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
+% Inhalt zentriert auf Seite oder linker (auf ungerader Seite) und
+% rechter (auf gerader Seite) und oberer Rand richtig
+\newif\if@center
+\DeclareOption{center}{\@centertrue}
+\DeclareOption{nocenter}{\@centerfalse}
+% Einzelen Artikel numeriert oder nicht
+\newif\if@artnum
+\DeclareOption{artnum}{\@artnumtrue}
+\DeclareOption{noartnum}{\@artnumfalse}
+%\ExecuteOptions{letterpaper,10pt,twoside,onecolumn,final,openright}
+\ExecuteOptions{a4paper,11pt,twoside,onecolumn,final,openany,center,noartnum}
 \ProcessOptions
-\input{ahp1\@ptsize.clo}
+\input{bk1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -167,42 +117,95 @@
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand\topfraction{.9}
+\renewcommand\topfraction{.7}
 \setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.1}
+\renewcommand\bottomfraction{.3}
 \setcounter{totalnumber}{3}
 \renewcommand\textfraction{.2}
 \renewcommand\floatpagefraction{.5}
 \setcounter{dbltopnumber}{2}
 \renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.5}
+% Balkema R"aender f"ur A4 --------------------------------------------------
+  \setlength{\headheight}{5mm}
+  \setlength{\headsep}{6mm}
+  \setlength{\textheight}{199mm}
+  \setlength{\textwidth}{129mm}
+  \setlength{\footskip}{7mm}
+% Offset 1 in des Druckers
+  \setlength{\voffset}{-25.4mm}
+  \setlength{\hoffset}{-25.4mm}
+% Berechnung der Ränder so da"s Seiteninhalt zentriert ist
+  \if@center
+    \newlength{\tmp@height}  \setlength{\tmp@height}{\paperheight}
+    \addtolength{\tmp@height}{-\textheight}
+    \addtolength{\tmp@height}{-\headheight}
+    \addtolength{\tmp@height}{-\headsep}
+    \setlength{\topmargin}{0.5\tmp@height}
+  \else
+    \setlength{\topmargin}{10mm}
+  \fi
+  \if@center
+    \newlength{\tmp@width}  \setlength{\tmp@width}{\paperwidth}
+    \addtolength{\tmp@width}{-\textwidth}
+    \setlength{\oddsidemargin}{0.5\tmp@width}%ungerade Seite(reches Blatt)
+    \setlength{\evensidemargin}{\oddsidemargin}%gerade Seite (linkes Blatt)
+  \else
+    \setlength{\oddsidemargin}{16mm}%ungerade Seite(reches Blatt)
+    \setlength{\evensidemargin}{65mm}%gerade Seite (linkes Blatt)
+  \fi
+% Abweichend von Balkema Standard
+  \setlength{\parindent}{0.0em}
+  \setlength{\parskip}{1.3ex plus 0.6ex minus 0.3ex}
+  \renewcommand{\baselinestretch}{1.0}
+% viele Flie"sbilder auf einer Seite
+  \setcounter{topnumber}{6}
+  \setcounter{dbltopnumber}{6}
+  \setcounter{bottomnumber}{6}
+  \setcounter{totalnumber}{10}
+  \renewcommand{\topfraction}{1.0}
+  \renewcommand{\dbltopfraction}{1.0}
+  \renewcommand{\bottomfraction}{1.0}
+  \renewcommand{\textfraction}{0.0}
+% keine Headings auf leeren Seiten durch \cleardoublepage ------------
+\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else %
+    \hbox{}\thispagestyle{empty}\newpage %
+    \if@twocolumn\hbox{}\thispagestyle{empty}\newpage\fi\fi\fi}
+% ---------------------------------------------------------------------
 \if@twoside
   \def\ps@headings{%
       \let\@oddfoot\@empty\let\@evenfoot\@empty
-%      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
-%      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
       \let\@mkboth\markboth
-    \def\sectionmark##1{%
-      \markboth {\MakeUppercase{%
-        \ifnum \c@secnumdepth >\z@
-          \thesection\quad
+    \def\chaptermark##1{%
+%      \markboth {\MakeUppercase{%
+      \markboth {{%
+         \ifnum \c@secnumdepth >\m@ne
+          \if@mainmatter
+            \@chapapp\ \thechapter. \ %
+          \fi
         \fi
         ##1}}{}}%
-    \def\subsectionmark##1{%
-      \markright {%
-        \ifnum \c@secnumdepth >\@ne
-          \thesubsection\quad
+    \def\sectionmark##1{%
+%      \markright {\MakeUppercase{%
+      \markright {{%
+        \ifnum \c@secnumdepth >\z@
+          \thesection. \ %
         \fi
-        ##1}}}
+        ##1}}}}
 \else
   \def\ps@headings{%
     \let\@oddfoot\@empty
     \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\markboth
-    \def\sectionmark##1{%
-      \markright {\MakeUppercase{%
+    \def\chaptermark##1{%
+%      \markright {\MakeUppercase{%
+      \markright {{%
         \ifnum \c@secnumdepth >\m@ne
-          \thesection\quad
+          \if@mainmatter
+            \@chapapp\ \thechapter. \ %
+          \fi
         \fi
         ##1}}}}
 \fi
@@ -211,46 +214,85 @@
     \def\@evenhead{\thepage\hfil\slshape\leftmark}%
     \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\@gobbletwo
+    \let\chaptermark\@gobble
     \let\sectionmark\@gobble
-    \let\subsectionmark\@gobble
     }
-  \if@titlepage
-  \newcommand\maketitle{\begin{titlepage}%
-  \let\footnotesize\small
-  \let\footnoterule\relax
-  \let \footnote \thanks
-  \null\vfil
-  \vskip 60\p@
-%%  \begin{center}%
+
+% Fuer Institutszugehoerigkeit der Autoren ------------------------------
+\newcounter{@inst}
+\newdimen\instindent
+\def\inst#1{\unskip$^{#1}$}
+\def\institute#1{\gdef\@institute{#1}}
+\def\institutename{%
+ \begingroup
+ \parskip=\z@
+ \parindent=\z@
+ \setcounter{@inst}{1}%
+ \def\and{\par\stepcounter{@inst}%
 \noindent
-{\LARGE \@title \par}%
-    \vskip 3em%
-    {\large
-     \lineskip .75em%
-\noindent\begin{tabular}[t]{l}%
-        \@author
-      \end{tabular}\par}%
-      \vskip 1.5em%
-%%    {\large \@date \par}%       % Set date in \large size.
-%%  \end{center}
-\par
-  \@thanks
-  \vfil\null
-  \end{titlepage}%
-  \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
+          \llap{\hbox to\instindent{\hss$^{\the@inst}$%
+                              \enspace}}\ignorespaces}%
+ \setbox0=\vbox{\def\thanks##1{}\@institute}%
+ \ifnum\value{@inst}>9\relax\setbox0=\hbox{$^{88}$\enspace}%
+                 \else\setbox0=\hbox{$^{8}$\enspace}\fi
+ \instindent=\wd0
+ \leftskip=\wd0\relax
+ \ifnum\value{@inst}=1\relax
+   \leftskip=\z@
+ \else
+   \setcounter{footnote}{\c@@inst}%
+   \setcounter{@inst}{1}%
+   \noindent
+   \llap{\hbox to\instindent{\hss$^{\the@inst}$\enspace}}\ignorespaces
+ \fi
+ \ignorespaces
+ \@institute\par
+ \endgroup}
+% -----------------------------------------------------------------------------
+
+% Autorenanzahl fuer Formatierung \@author
+\newcounter{@auth}
+\def\andname{and}
+% -----------------------------------------------------------------------------
+
+\def\subtitle#1{\gdef\@subtitle{#1}}
+\gdef\@subtitle{}
+\def\clearheadinfo{\gdef\@author{No Author Given}%
+                   \gdef\@title{No Title Given}%
+                   \gdef\@subtitle{}%
+                   \gdef\@institute{No Institute Given}%
+                   \gdef\@thanks{}%
+                   \global\titlerunning={}
+                   \global\authorrunning={}%
+                   \global\toctitle={}\global\tocauthor={}%
 }
+
+\newcommand{\clearemptydoublepage}{%
+        \newpage{\pagestyle{empty}\cleardoublepage}}
+
+\newbox\authrun
+\newbox\titrun
+\newtoks\authorrunning
+\newtoks\tocauthor
+\newtoks\titlerunning
+\newtoks\toctitle
+
+\newcommand\maketitle{\par\clearemptydoublepage
+  \newbox\authrun
+  \newbox\titrun
+  \stepcounter{section}%
+  \setcounter{section}{0}%
+  \setcounter{subsection}{0}%
+  \setcounter{figure}{0}
+  \setcounter{table}{0}
+  \setcounter{equation}{0}
+  \setcounter{footnote}{0}%
+  \if@artnum
+     \refstepcounter{chapter}%
 \else
-\newcommand\maketitle{\par
+     \stepcounter{chapter}%
+     \addtocounter{chapter}{-1}%
+  \fi
   \begingroup
     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
     \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
@@ -269,88 +311,227 @@
       \@maketitle
     \fi
     \thispagestyle{plain}\@thanks
+% Zeilenumbruch im Titel ignorieren
+  \def\\{\unskip\ \ignorespaces}
+% Keine Institutsverweise in Autoren-Kopfzeile
+  \def\inst##1{\unskip{}}%
+% Titel ins Inhaltsverzeichnis
+  \if!\the\toctitle!\addcontentsline{toc}{title}{\if@artnum
+                                 \@seccntformat{chapter}\fi
+  \@title}\else
+     \addcontentsline{toc}{title}{\if@artnum
+                                 \@seccntformat{chapter}\fi
+     \the\toctitle}\fi
+  \if!\the\tocauthor!
+    \addcontentsline{toc}{author}{\@author}
+  \else
+    \addcontentsline{toc}{author}{\the\tocauthor}\fi
+%
+% Kopfzeilen
+  \if!\the\titlerunning!
+  \else
+    \edef\@title{\the\titlerunning}%
+  \fi
+  \global\setbox\titrun=\hbox{\itshape\if@artnum
+                              \@seccntformat{chapter}\fi
+                              \ignorespaces\@title}%
+  \xdef\@title{\copy\titrun}
+  \if!\the\authorrunning!
+  \else
+    \edef\@author{\the\authorrunning}%
+  \fi
+  \global\setbox\authrun=\hbox{\itshape\@author\unskip}%
+  \xdef\@author{\copy\authrun}
+  \markboth{\@author}{\@title}
   \endgroup
   \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
+  \clearheadinfo
 }
+%
 \def\@maketitle{%
+%  Zaehlen der Autoren (@auth = Anzahl der \and's)
+   \setbox0=\vbox{\setcounter{@auth}{1}\def\and{\stepcounter{@auth}}\@author}%
+%  bei 2 Autoren durch \andname="and" getrennt sonst ,
+   \def\and{\ifnum\value{@auth}=2\relax
+                 \unskip{} \andname\
+              \else
+                 \unskip,
+              \fi}%
+%  Zaehlen der Institute (@inst = Anzahl der \and's)
+   \setbox0=\vbox{\setcounter{@inst}{1}\def\and{\stepcounter{@inst}}\institutename}%
+%  erst ab 2 Instituten Verweise (^1) bei Authoren
+   \def\inst##1{\ifnum\value{@inst}>1 \unskip$^{##1}$ \else \unskip \fi}
+% Kontrollausgabe
+% (@auth=\arabic{@auth};@inst=\arabic{@inst})
   \newpage
-  \null
-  \vskip 2em%
-%%  \begin{center}%
+  \raggedright
   \let \footnote \thanks
-\noindent
-    {\LARGE\bfseries \@title \par}%
-    \vskip 1.5em%
-    {\large
-      \lineskip .5em%
-%%\begin{tabular}[t]{l}%
-%\begin{quote}
-\noindent\@author
-%%\end{tabular}\par}%
-%%\end{quote}
-\par}%
-    \vskip 1em%
-%    {\large \@date}%
-%  \end{center}%
+  {\if@artnum
+     \protected@edef\@svsec{\@seccntformat{chapter}\relax}%
+  \else
+     \let\@svsec\@empty
+  \fi
+  \LARGE \bfseries\boldmath \@svsec \@title \par}%
+  \if!\@subtitle!\else
+    {\large \bfseries\boldmath \@subtitle \par}
+  \fi
+  {\lineskip .5em
+  \noindent\ignorespaces
+  \@author\vskip.35cm}
+  {\small \institutename}
   \par
   \vskip 1.5em}
-\fi
+
+\newcommand*\chaptermark[1]{}
 \setcounter{secnumdepth}{3}
 \newcounter {part}
-\newcounter {section}
+\newcounter {chapter}
+\newcounter {section}[chapter]
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
 \newcounter {paragraph}[subsubsection]
 \newcounter {subparagraph}[paragraph]
-\renewcommand \thepart {\@arabic\c@part}
+\renewcommand \thepart {\@Roman\c@part}
+\renewcommand \thechapter {\@arabic\c@chapter}
+\if@artnum
+\renewcommand \thesection {\thechapter.\@arabic\c@section}
+\else
 \renewcommand \thesection {\@arabic\c@section}
+\fi
 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{\par
-   \addvspace{4ex}%
-   \@afterindentfalse
+
+\newcommand\@chapapp{\chaptername}
+\newcommand\frontmatter{%
+  \if@openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \@mainmatterfalse
+  \pagenumbering{roman}}
+\newcommand\mainmatter{%
+  \if@openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \@mainmattertrue
+  \pagenumbering{arabic}}
+\newcommand\backmatter{%
+  \if@openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \@mainmatterfalse}
+\newcommand\part{%
+  \if@openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \thispagestyle{plain}%
+  \if@twocolumn
+    \onecolumn
+    \@tempswatrue
+  \else
+    \@tempswafalse
+  \fi
+  \null\vfil
    \secdef\@part\@spart}

 \def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >\m@ne
+    \ifnum \c@secnumdepth >-2\relax
       \refstepcounter{part}%
       \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    {\parindent \z@ \raggedright
+    \markboth{}{}%
+    {\centering
+     \interlinepenalty \@M
+     \normalfont
+     \ifnum \c@secnumdepth >-2\relax
+       \huge\bfseries \partname~\thepart
+       \par
+       \vskip 20\p@
+     \fi
+     \Huge \bfseries #2\par}%
+    \@endpart}
+\def\@spart#1{%
+    {\centering
      \interlinepenalty \@M
      \normalfont
+     \Huge \bfseries #1\par}%
+    \@endpart}
+\def\@endpart{\vfil\newpage
+              \if@twoside
+                \null
+                \thispagestyle{empty}%
+                \newpage
+              \fi
+              \if@tempswa
+                \twocolumn
+              \fi}
+\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
+                    \thispagestyle{plain}%
+                    \global\@topnum\z@
+                    \@afterindentfalse
+                    \secdef\@chapter\@schapter}
+\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+                       \if@mainmatter
+                         \refstepcounter{chapter}%
+                         \typeout{\@chapapp\space\thechapter.}%
+                         \addcontentsline{toc}{chapter}%
+                                   {\protect\numberline{\thechapter}#1}%
+                       \else
+                         \addcontentsline{toc}{chapter}{#1}%
+                       \fi
+                    \else
+                      \addcontentsline{toc}{chapter}{#1}%
+                    \fi
+                    \chaptermark{#1}%
+                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
+                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
+                    \if@twocolumn
+                      \@topnewpage[\@makechapterhead{#2}]%
+                    \else
+                      \@makechapterhead{#2}%
+                      \@afterheading
+                    \fi}
+\def\@makechapterhead#1{%
+% Kein Abstand zum oberen Rand
+%  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright \normalfont
      \ifnum \c@secnumdepth >\m@ne
-       \Large\bfseries \partname~\thepart
+      \if@mainmatter
+        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
+        \vskip 20\p@
+      \fi
      \fi
-     \huge \bfseries #2%
-     \markboth{}{}\par}%
-    \nobreak
-    \vskip 3ex
-    \@afterheading}
-\def\@spart#1{%
-    {\parindent \z@ \raggedright
      \interlinepenalty \@M
+    \Huge \bfseries #1\par\nobreak
+    \vskip 40\p@
+  }}
+\def\@schapter#1{\if@twocolumn
+                   \@topnewpage[\@makeschapterhead{#1}]%
+                 \else
+                   \@makeschapterhead{#1}%
+                   \@afterheading
+                 \fi}
+\def\@makeschapterhead#1{%
+% Kein Abstand zum oberen Rand
+%  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright
      \normalfont
-     \huge \bfseries #1\par}%
-     \nobreak
-     \vskip 3ex
-     \@afterheading}
+    \interlinepenalty\@M
+    \Huge \bfseries  #1\par\nobreak
+    \vskip 40\p@
+  }}
 \newcommand\section{\@startsection {section}{1}{\z@}%
                                    {-3.5ex \@plus -1ex \@minus -.2ex}%
                                    {2.3ex \@plus.2ex}%
@@ -408,33 +589,18 @@
 \newcommand\labelitemii{\normalfont\bfseries \textendash}
 \newcommand\labelitemiii{\textasteriskcentered}
 \newcommand\labelitemiv{\textperiodcentered}
+
+\newenvironment{abstract}{%
+      \advance\topsep by0.35cm\relax\small
+      {\bfseries\abstractname:}
+}
+
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-\if@titlepage
-  \newenvironment{abstract}{%
-      \titlepage
-      \null\vfil
-      \@beginparpenalty\@lowpenalty
-      \begin{center}%
-      \noindent \bfseries \abstractname.
-%%        \@endparpenalty\@M
-      \end{center}}%
-     {\par\vfil\null\endtitlepage}
-\else
-  \newenvironment{abstract}{%
-      \if@twocolumn
-        \section*{\abstractname}%
-      \else
-        \small
-        \quotation
-         \noindent {\bfseries \abstractname.}%
-      \fi}
-      {\if@twocolumn\else\endquotation\fi}
-\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -458,6 +624,7 @@
 \if@compatibility
 \newenvironment{titlepage}
     {%
+      \cleardoublepage
       \if@twocolumn
         \@restonecoltrue\onecolumn
       \else
@@ -471,6 +638,7 @@
 \else
 \newenvironment{titlepage}
     {%
+      \cleardoublepage
       \if@twocolumn
         \@restonecoltrue\onecolumn
       \else
@@ -486,9 +654,10 @@
     }
 \fi
 \newcommand\appendix{\par
+  \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}}
+  \renewcommand\@chapapp{\appendixname}%
+  \renewcommand\thechapter{\@Alph\c@chapter}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -497,9 +666,12 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand \theequation {\@arabic\c@equation}
-\newcounter{figure}
-\renewcommand \thefigure {\@arabic\c@figure}
+\@addtoreset {equation}{chapter}
+\renewcommand\theequation
+  {\if@artnum \ifnum \c@chapter>\z@ \thechapter.\fi \fi \@arabic\c@equation}
+\newcounter{figure}[chapter]
+\renewcommand \thefigure
+     {\if@artnum \ifnum \c@chapter>\z@ \thechapter.\fi \fi \@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
@@ -510,8 +682,9 @@
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
-\newcounter{table}
-\renewcommand\thetable{\@arabic\c@table}
+\newcounter{table}[chapter]
+\renewcommand \thetable
+     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
@@ -524,11 +697,14 @@
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{0\p@}
+%\setlength\abovecaptionskip{10\p@}
+\setlength\abovecaptionskip{5\p@}
+%\setlength\belowcaptionskip{0\p@}
+\setlength\belowcaptionskip{5\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1: #2}%
+%  \sbox\@tempboxa{#1: #2}%
+  \sbox\@tempboxa{\footnotesize #1: #2}%
   \ifdim \wd\@tempboxa >\hsize
     #1: #2\par
   \else
@@ -550,32 +726,36 @@
 \newcommand\@dotsep{4.5}
 \setcounter{tocdepth}{3}
 \newcommand\tableofcontents{%
-    \section*{\contentsname
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\contentsname
         \@mkboth{%
-           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
+%           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
+           \contentsname}{\contentsname}}%
     \@starttoc{toc}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@part[2]{%
   \ifnum \c@tocdepth >-2\relax
-    \addpenalty\@secpenalty
+    \addpenalty{-\@highpenalty}%
     \addvspace{2.25em \@plus\p@}%
     \begingroup
-      \setlength\@tempdima{3em}%
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
        \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
-       \if@compatibility
          \global\@nobreaktrue
          \everypar{\global\@nobreakfalse\everypar{}}%
-      \fi
     \endgroup
   \fi}
-\newcommand*\l@section[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{1.0em \@plus\p@}%
+\newcommand*\l@chapter[2]{%
+  \ifnum \c@tocdepth >\m@ne
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
     \setlength\@tempdima{1.5em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
@@ -584,31 +764,93 @@
       \advance\leftskip\@tempdima
       \hskip -\leftskip
       #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
     \endgroup
   \fi}
-\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
-\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
-\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
-\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
+
+\newcommand*\l@title[2]{%
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
+    \setlength\@tempdima{1.5em}%
+    \begingroup
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      \leavevmode \bfseries
+      \advance\leftskip\@tempdima
+      \hskip -\leftskip
+      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
+    \endgroup
+  }
+
+
+\newcommand*\l@author[2]{%
+    \penalty\@highpenalty%
+    \vskip -.5em \@plus\p@
+    \setlength\@tempdima{1.5em}%
+    \begingroup
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      \leavevmode \itshape
+      \advance\leftskip\@tempdima
+      \hskip -\leftskip
+      \if@artnum \null\hspace{1.2em} \fi #1 \hspace{\fill} \par
+      \penalty\@highpenalty
+    \endgroup
+  }
+
+\if@artnum
+  \newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
+  \newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+  \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
+  \newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
+  \newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
+\else
+  \newcommand*\l@section{\@dottedtocline{1}{1.5em}{1.3em}}
+  \newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{2.2em}}
+  \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{3.1em}}
+  \newcommand*\l@paragraph{\@dottedtocline{4}{10em}{4em}}
+  \newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{5em}}
+\fi
+
 \newcommand\listoffigures{%
-    \section*{\listfigurename
-      \@mkboth{\MakeUppercase\listfigurename}%
-              {\MakeUppercase\listfigurename}}%
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listfigurename
+%      \@mkboth{\MakeUppercase\listfigurename}%
+%              {\MakeUppercase\listfigurename}}%
+      \@mkboth{\listfigurename}%
+              {\listfigurename}}%
     \@starttoc{lof}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \section*{\listtablename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listtablename
       \@mkboth{%
-          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
+%          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
+          \listtablename}{\listtablename}}%
     \@starttoc{lot}%
+    \if@restonecol\twocolumn\fi
     }
 \let\l@table\l@figure
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-     {\section*{\refname
-        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+     {\section*{\bibname
+%        \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
+        \@mkboth{\bibname}{\bibname}}%
+% dazu
+            \footnotesize
+%
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
@@ -633,23 +875,30 @@
                 \else
                   \@restonecoltrue
                 \fi
+% dazu
+                \footnotesize
+%
                 \columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\section*{\indexname}]%
-                \@mkboth{\MakeUppercase\indexname}%
-                        {\MakeUppercase\indexname}%
+                \twocolumn[\@makeschapterhead{\indexname}]%
+%                \@mkboth{\MakeUppercase\indexname}%
+%                        {\MakeUppercase\indexname}%
+                \@mkboth{\indexname}%
+                        {\indexname}%
                 \thispagestyle{plain}\parindent\z@
-                \parskip\z@ \@plus .3\p@\relax
+                \parskip\z@ \@plus 0.3\p@\relax
                 \let\item\@idxitem}
                {\if@restonecol\onecolumn\else\clearpage\fi}
 \newcommand\@idxitem{\par\hangindent 40\p@}
 \newcommand\subitem{\@idxitem \hspace*{20\p@}}
 \newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
-\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+%\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+\newcommand\indexspace{\par \vskip 5\p@ \@plus3\p@ \@minus2\p@\relax}
 \renewcommand\footnoterule{%
   \kern-3\p@
   \hrule\@width.4\columnwidth
   \kern2.6\p@}
+\@addtoreset{footnote}{chapter}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
@@ -657,21 +906,21 @@
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\refname{References}
+\newcommand\bibname{References}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
+\newcommand\chaptername{Chapter}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-\newcommand\today{}
-\edef\today{\ifcase\month\or
+\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}
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\pagestyle{plain}
+\pagestyle{myheadings}
 \pagenumbering{arabic}
 \if@twoside
 \else
@@ -684,48 +933,17 @@
 \else
   \onecolumn
 \fi
+\endinput
+%%
+%% End of file `proceed.cls'.
+
+
+
+
+
+
+

-%%From here on are the additions to the style article for journal AHP

-\def\normalsize{\@setfontsize\normalsize\@xpt{12}}%

-%\def\sigle{AHP}
-%\def\@oddhead{{\small\sigle}\hfil{\small\titlerunning}\hfil{\small\thepage}}%
-%\def\@evenhead{{\small\thepage}\hfil{\small\authorrunning}\hfil{\small\sigle}}%
-
-\def\@oddfoot{}
-\def\@evenfoot{}
-
-%\newcounter{firstpage}
-%\setcounter{firstpage}{1}
-%\newcounter{difference}{1}
-%\setcounter{difference}{thepage-firstpage}
-
-%\def\@oddhead{\ifnum\thepage=57{}\else{\small\sigle}\hfil{\small\titlerunning}\hfil{\small\thepage}\fi}%
-%\def\@evenhead{\ifnum\thepage=57{}\else{\small\thepage}\hfil{\small\authorrunning}\hfil{\small\sigle}\fi}
-
-\textheight 184mm                 % Height of text part of page
-\textwidth 125mm                  % Width of text part of page, i.e ofline
-
-\def\small{\@setfontsize\small\@viiipt{9.5}}%
-\def\large{\@setfontsize\large\@xipt{12.8}}
-\def\Large{\@setfontsize\Large\@xiipt{13.5}}
-\def\LARGE{\@setfontsize\LARGE\@xivpt{17}}
-\def\huge{\@setfontsize\huge\@xviiipt{22}}
-\def\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
-\def\tiny{\@setfontsize\tiny\@vipt{7}}
-
-\if@twoside                 % Values for two-sided printing:
-   \oddsidemargin   55\p@    %   Left margin on odd-numbered pages.
-   \evensidemargin  55\p@    %   Left margin on even-numbered pages.
-   \marginparwidth  10\p@    %   \@Width of marginal notes.
-\else                       % Values for one-sided printing:
-   \oddsidemargin   55\p@    %   Left margin on odd-numbered pages.
-   \evensidemargin  55\p@    %   Left margin on even-numbered pages.
-   \marginparwidth   2pc
-\fi

-\endinput
-%%
-%% End of file `ahp.cls'.
-
\ No newline at end of file

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns