arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/aipproc.cls	2012-08-16 16:30:52.562232008 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/iscs-thesis.cls	2010-04-01 14:49:11.000000000 +0200
@@ -1,1040 +1,1385 @@
 %%
-%% This is file `aipproc.cls',
+%% This is file `iscs-thesis.cls',
 %% generated with the docstrip utility.
 %%
 %% The original source files were:
 %%
-%% aipproc.dtx  (with options: `class')
+%% iscs-thesis.dtx
 %%
-%% Class aipproc to use with LaTeX2e
-%% (C) 1998,2000 American Institute of Physics and Frank Mittelbach
-%% All rights reserved
+%% IMPORTANT NOTICE:
 %%
-%% Class aipproc to use with LaTeX2e
+%% For the copyright see the source file.
 %%
-%% Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005 Frank Mittelbach
-%% Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005 American Institute of Physics
-%% All rights reserved.
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from iscs-thesis.cls.
 %%
-%% Development of this class was commissioned by American Institute of Physics.
+%% For distribution of the original source see the terms
+%% for copying and modification in the file iscs-thesis.dtx.
 %%
-\NeedsTeXFormat{LaTeX2e}[1999/06/01]
-\ProvidesClass{aipproc}
-       [2005/11/11 v1.5a AIP Proceedings (FMi)]
-%% \CharacterTable
-%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%%   Digits        \0\1\2\3\4\5\6\7\8\9
-%%   Exclamation   \!     Double quote  \"     Hash (number) \#
-%%   Dollar        \$     Percent       \%     Ampersand     \&
-%%   Acute accent  \'     Left paren    \(     Right paren   \)
-%%   Asterisk      \*     Plus          \+     Comma         \,
-%%   Minus         \-     Point         \.     Solidus       \/
-%%   Colon         \:     Semicolon     \;     Less than     \<
-%%   Equals        \=     Greater than  \>     Question mark \?
-%%   Commercial at \@     Left bracket  \[     Backslash     \\
-%%   Right bracket \]     Circumflex    \^     Underscore    \_
-%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
-%%   Right brace   \}     Tilde         \~}
-%%
-\IfFileExists{fixltx2e.sty}
-  {\RequirePackage{fixltx2e}}
-  {\RequirePackage{fix2col}[1998/08/17]}
-\@ifpackageloaded{fixltx2e}{%
-\@ifpackagelater{fixltx2e}{1999/12/02}{}{%
-\def\addpenalty#1{%
-  \ifvmode
-    \if@minipage
-    \else
-      \if@nobreak
-      \else
-        \ifdim\lastskip=\z@
-          \penalty#1\relax
-        \else
-          \@tempskipb\lastskip
-          \advance \@tempskipb
-               \ifdim\prevdepth>\maxdepth\maxdepth\else
-                 \ifdim \prevdepth = -\@m\p@ \z@ \else \prevdepth \fi
-               \fi
-          \vskip -\@tempskipb
-          \penalty#1%
-          \vskip\@tempskipb
-        \fi
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\NeedsTeXFormat{LaTeX2e}[1999/01/01]
+\ProvidesClass{iscs-thesis}
+    [2006/06/29 v1.1g
+     Dept of IS/CS thesis class]
+\newcommand\ist@classname{iscs-thesis}
+\newcommand\ist@ahya{%
+  You cannot go any further.\MessageBreak
+  Type \space X  \space to quit.}
+\newcommand*\ist@fatalerror[1]{%
+  \ClassError\ist@classname{#1}\ist@ahya
+  \batchmode\@@end}% bombout
+\newcommand*\ist@error[1]{%
+  \ClassError\ist@classname{#1}\@ehc}
+\newcommand*\ist@err@invalid[1]{%
+  \ist@fatalerror{\string#1 is invalid in this document class}}
+\newcommand*\ist@err@notdefd[1]{%
+  \ist@error{No \string#1 given}??}
+\newcommand\@ptsize{}
+\newif\if@restonecol
+\newif\if@titlepage \@titlepagetrue
+\newif\if@openright
+\newif\if@mainmatter \@mainmattertrue
+\newif\if@seniorthesis
+\newif\if@masterthesis
+\newif\if@doctorthesis
+\newif\ifist@interim
+\newif\ifist@gradiss
+\newif\ifist@sloppy
+\newif\ifist@prodigal
+\newif\ifist@english
+\newif\ifist@blankaftertp \ist@blankaftertptrue
+\newcommand\ist@splitabst{}
+\DeclareOption{a4paper}
+   {\setlength\paperheight {297mm}%
+    \setlength\paperwidth  {210mm}}
+\DeclareOption{b4paper}
+   {\setlength\paperheight {364mm}%
+    \setlength\paperwidth  {257mm}}
+\DeclareOption{letterpaper}
+   {\setlength\paperheight {11in}%
+    \setlength\paperwidth  {8.5in}}
+\DeclareOption{legalpaper}
+   {\setlength\paperheight {14in}%
+    \setlength\paperwidth  {8.5in}}
+\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
+\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
+\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{%
+  \AtEndOfPackage{%
+   \renewcommand\@openbib@code{%
+      \advance\leftmargin\bibindent
+      \itemindent -\bibindent
+      \listparindent \itemindent
+      \parsep \z@
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\DeclareOption{senior}%
+  {\@seniorthesistrue \@masterthesisfalse \@doctorthesisfalse}
+\DeclareOption{master}%
+  {\@seniorthesisfalse \@masterthesistrue \@doctorthesisfalse}
+\DeclareOption{doctor}%
+  {\@seniorthesisfalse \@masterthesisfalse \@doctorthesistrue}
+\DeclareOption{interim}{\ist@interimtrue}
+\DeclareOption{gradiss}{\ist@gradisstrue}
+\DeclareOption{sloppy}{\ist@sloppytrue}
+\DeclareOption{prodigal}{\renewcommand\@ptsize{2}\ist@prodigaltrue}
+\DeclareOption{splitabst}{\renewcommand\ist@splitabst{s}}
+\DeclareOption{nosplitabst}{\renewcommand\ist@splitabst{n}}
+\DeclareOption{autosplitabst}{\renewcommand\ist@splitabst{a}}
+\DeclareOption{english}{\ist@englishtrue}
+\ExecuteOptions{a4paper,10pt,oneside,onecolumn,draft,openany,%
+            autosplitabst}
+\ProcessOptions
+\if@seniorthesis\else \if@masterthesis\else
+  \if@doctorthesis\else
+    \ist@fatalerror{%
+      None of `senior', `master', or `doctor'\MessageBreak
+      is specified as option}
+\fi\fi\fi
+\newif\ifist@carepage
+\if@twoside \ist@carepagetrue \fi
+\if@openright \ist@carepagetrue \fi
+\newcommand\ist@engine{e}
+\@ifundefined{inhibitglue}{}{\renewcommand\ist@engine{p}}
+\@ifundefined{jendlinetype}{}{\renewcommand\ist@engine{j}}
+\if e\ist@engine \ist@englishtrue \fi
+\newcommand\switchinterim[2]{%
+  \ifist@interim #1\else #2\fi
+}
+\newcommand\switchenglish[2]{%
+  \ifist@english #1\else #2\fi
+}
+\newcommand\noblankaftertp{%
+  \ist@blankaftertpfalse
+}
+\if0\@ptsize\relax            %--------- 10pt
+\renewcommand\normalsize{%
+   \@setfontsize\normalsize\@xpt{16.8}%
+   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
+   \belowdisplayskip \abovedisplayskip
+   \let\@listi\@listI}
+\normalsize
+\newcommand\small{%
+   \@setfontsize\small\@ixpt{15.4}%
+   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
+   \abovedisplayshortskip \z@ \@plus2\p@
+   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 4\p@ \@plus2\p@ \@minus2\p@
+               \parsep 2\p@ \@plus\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\footnotesize{%
+   \@setfontsize\footnotesize\@viiipt{13.3}%
+   \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
+   \abovedisplayshortskip \z@ \@plus\p@
+   \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 3\p@ \@plus\p@ \@minus\p@
+               \parsep 2\p@ \@plus\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{11.2}}
+\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
+\newcommand\large{\@setfontsize\large\@xiipt{19.6}}
+\newcommand\Large{\@setfontsize\Large\@xivpt{25.2}}
+\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{30.8}}
+\newcommand\huge{\@setfontsize\huge\@xxpt{35}}
+\newcommand\Huge{\@setfontsize\Huge\@xxvpt{42}}
+\setlength\textwidth{373\p@}
+\setlength\topskip{10\p@}
+\setlength\marginparsep{11\p@}
+\setlength\marginparpush{5\p@}
+\else\if1\@ptsize\relax       %--------- 11pt
+\renewcommand\normalsize{%
+   \@setfontsize\normalsize\@xipt{18.6}%
+   \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+   \belowdisplayskip \abovedisplayskip
+   \let\@listi\@listI}
+\normalsize
+\newcommand\small{%
+   \@setfontsize\small\@xpt{17}%
+   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 6\p@ \@plus2\p@ \@minus2\p@
+               \parsep 3\p@ \@plus2\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\footnotesize{%
+   \@setfontsize\footnotesize\@ixpt{14.8}%
+   \abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@
+   \abovedisplayshortskip \z@ \@plus\p@
+   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 4\p@ \@plus2\p@ \@minus2\p@
+               \parsep 2\p@ \@plus\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{12.3}}
+\newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
+\newcommand\large{\@setfontsize\large\@xiipt{22}}
+\newcommand\Large{\@setfontsize\Large\@xivpt{27}}
+\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{32.5}}
+\newcommand\huge{\@setfontsize\huge\@xxpt{35}}
+\newcommand\Huge{\@setfontsize\Huge\@xxvpt{42}}
+\setlength\textwidth{392\p@}
+\setlength\topskip{11\p@}
+\setlength\marginparsep{10\p@}
+\setlength\marginparpush{5\p@}
+\else\ifist@prodigal          %--------- 12pt(prodigal)
+\renewcommand\normalsize{%
+   \@setfontsize\normalsize\@xiipt{24}%
+   \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+   \belowdisplayskip \abovedisplayskip
+   \let\@listi\@listI}
+\normalsize
+\newcommand\small{%
+   \@setfontsize\small\@xipt{22.2}%
+   \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 9\p@ \@plus3\p@ \@minus5\p@
+               \parsep 4.5\p@ \@plus2\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\footnotesize{%
+   \@setfontsize\footnotesize\@xpt{19.4}%
+   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 6\p@ \@plus2\p@ \@minus2\p@
+               \parsep 3\p@ \@plus2\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{15.8}}
+\newcommand\tiny{\@setfontsize\tiny\@vipt{8.4}}
+\newcommand\large{\@setfontsize\large\@xivpt{28.8}}
+\newcommand\Large{\@setfontsize\Large\@xviipt{36.2}}
+\newcommand\LARGE{\@setfontsize\LARGE\@xxpt{42.6}}
+\newcommand\huge{\@setfontsize\huge\@xxvpt{49.8}}
+\let\Huge=\huge
+\setlength\textwidth{390\p@}
+\setlength\topskip{12\p@}
+\setlength\marginparsep{10\p@}
+\setlength\marginparpush{7\p@}
+\else                         %--------- 12pt(normal)
+\renewcommand\normalsize{%
+   \@setfontsize\normalsize\@xiipt{20.3}%
+   \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+   \belowdisplayskip \abovedisplayskip
+   \let\@listi\@listI}
+\normalsize
+\newcommand\small{%
+   \@setfontsize\small\@xipt{19}%
+   \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 9\p@ \@plus3\p@ \@minus5\p@
+               \parsep 4.5\p@ \@plus2\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\footnotesize{%
+   \@setfontsize\footnotesize\@xpt{16.8}%
+   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
+   \def\@listi{\leftmargin\leftmargini
+               \topsep 6\p@ \@plus2\p@ \@minus2\p@
+               \parsep 3\p@ \@plus2\p@ \@minus\p@
+               \itemsep \parsep}%
+   \belowdisplayskip \abovedisplayskip
+}
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{13.3}}
+\newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
+\newcommand\large{\@setfontsize\large\@xivpt{25.2}}
+\newcommand\Large{\@setfontsize\Large\@xviipt{30.8}}
+\newcommand\LARGE{\@setfontsize\LARGE\@xxpt{35}}
+\newcommand\huge{\@setfontsize\huge\@xxvpt{42}}
+\let\Huge=\huge
+\setlength\textwidth{421\p@}
+\setlength\topskip{12\p@}
+\setlength\marginparsep{10\p@}
+\setlength\marginparpush{7\p@}
+\fi\fi\fi                     %---------
+\newcommand\isttitlesize{\@setfontsize\isttitlesize\@xivpt{25.2}}
+\if p\ist@engine\relax
+\DeclareFontShape{JY1}{mc}{m}{it}{<->ssub*mc/m/n}{}
+\DeclareFontShape{JT1}{mc}{m}{it}{<->ssub*mc/m/n}{}
+\DeclareFontShape{JY1}{mc}{m}{sc}{<->ssub*mc/m/n}{}
+\DeclareFontShape{JT1}{mc}{m}{sc}{<->ssub*mc/m/n}{}
+\DeclareFontShape{JY1}{mc}{m}{sl}{<->ssub*mc/m/n}{}
+\DeclareFontShape{JT1}{mc}{m}{sl}{<->ssub*mc/m/n}{}
+\DeclareFontShape{JY1}{mc}{bx}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{mc}{bx}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{mc}{bx}{sc}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{mc}{bx}{sc}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{gt}{m}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{gt}{m}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{gt}{m}{sc}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{gt}{m}{sc}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{gt}{m}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{gt}{m}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{gt}{bx}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{gt}{bx}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{gt}{bx}{sc}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{gt}{bx}{sc}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JY1}{gt}{bx}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{JT1}{gt}{bx}{sl}{<->ssub*gt/m/n}{}
+\fi
+\setlength\lineskip{1\p@}
+\setlength\normallineskip{1\p@}
+\renewcommand\baselinestretch{}
+
+\setlength\parskip{0\p@ \@plus \p@}
+\if@twocolumn
+  \setlength\parindent{1em}
+\else
+  \setlength\parindent{1.5em}
       \fi
+\setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
+\setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
+\@lowpenalty   51
+\@medpenalty  151
+\@highpenalty 301
+\setlength\headheight{12\p@}
+\setlength\headsep   {25\p@}
+\setlength\footskip{30\p@}
+\setlength\maxdepth{.5\topskip}
+\setlength\@tempdima{\paperwidth}
+\addtolength\@tempdima{-2in}
+\setlength\@tempdimb{\textwidth}
+\if@twocolumn
+  \ifdim\@tempdima>2\@tempdimb\relax
+    \setlength\textwidth{2\@tempdimb}
+  \else
+    \setlength\textwidth{\@tempdima}
     \fi
   \else
-    \@noitemerr
-  \fi}
-\def \@doclearpage {%
-     \ifvoid\footins
-       \setbox\@tempboxa\vsplit\@cclv to\z@ \unvbox\@tempboxa
-       \setbox\@tempboxa\box\@cclv
-       \xdef\@deferlist{\@toplist\@botlist\@deferlist}%
-       \global \let \@toplist \@empty
-       \global \let \@botlist \@empty
-       \global \@colroom \@colht
-       \ifx \@currlist\@empty
+  \ifdim\@tempdima>\@tempdimb\relax
+    \setlength\textwidth{\@tempdimb}
        \else
-          \@latexerr{Float(s) lost}\@ehb
-          \global \let \@currlist \@empty
+    \setlength\textwidth{\@tempdima}
+  \fi
        \fi
-       \@makefcolumn\@deferlist
-       \@whilesw\if@fcolmade \fi{\@opcol\@makefcolumn\@deferlist}%
+\@settopoint\textwidth
+\setlength\@tempdima{\paperheight}
+\addtolength\@tempdima{-2in}
+\addtolength\@tempdima{-1.5in}
+\divide\@tempdima\baselineskip
+\@tempcnta=\@tempdima
+\ifist@prodigal \advance\@tempcnta-2\fi
+\setlength\textheight{\@tempcnta\baselineskip}
+\addtolength\textheight{\topskip}
        \if@twocolumn
-         \if@firstcolumn
-           \xdef\@deferlist{\@dbltoplist\@deferlist}%
-           \global \let \@dbltoplist \@empty
-           \global \@colht \textheight
-           \begingroup
-              \@dblfloatplacement
-              \@makefcolumn\@deferlist
-              \@whilesw\if@fcolmade \fi{\@outputpage
-                                        \@makefcolumn\@deferlist}%
-           \endgroup
+ \setlength\marginparsep {10\p@}
          \else
-           \vbox{}\clearpage
          \fi
-       \fi
-       \ifx\@deferlist\@empty \else\clearpage \fi
+\if@twoside
+  \setlength\@tempdima        {\paperwidth}
+  \addtolength\@tempdima      {-\textwidth}
+  \setlength\oddsidemargin    {.4\@tempdima}
+  \addtolength\oddsidemargin  {-1in}
+  \setlength\marginparwidth   {.6\@tempdima}
+  \addtolength\marginparwidth {-\marginparsep}
+  \addtolength\marginparwidth {-0.4in}
+\else
+  \setlength\@tempdima        {\paperwidth}
+  \addtolength\@tempdima      {-\textwidth}
+  \setlength\oddsidemargin    {.5\@tempdima}
+  \addtolength\oddsidemargin  {-1in}
+  \setlength\marginparwidth   {.5\@tempdima}
+  \addtolength\marginparwidth {-\marginparsep}
+  \addtolength\marginparwidth {-0.4in}
+  \addtolength\marginparwidth {-.4in}
+\fi
+\ifdim \marginparwidth >2in
+   \setlength\marginparwidth{2in}
+\fi
+\@settopoint\oddsidemargin
+\@settopoint\marginparwidth
+\setlength\evensidemargin  {\paperwidth}
+\addtolength\evensidemargin{-2in}
+\addtolength\evensidemargin{-\textwidth}
+\addtolength\evensidemargin{-\oddsidemargin}
+\@settopoint\evensidemargin
+\setlength\topmargin{\paperheight}
+\addtolength\topmargin{-2in}
+\addtolength\topmargin{-\headheight}
+\addtolength\topmargin{-\headsep}
+\addtolength\topmargin{-\textheight}
+\addtolength\topmargin{-\footskip}     % this might be wrong!
+\addtolength\topmargin{-.5\topmargin}
+\@settopoint\topmargin
+\setcounter{topnumber}{2}
+\renewcommand\topfraction{.8}
+\setcounter{bottomnumber}{1}
+\renewcommand\bottomfraction{.8}
+\setcounter{totalnumber}{3}
+\renewcommand\textfraction{.1}
+\renewcommand\floatpagefraction{.8}
+\setcounter{dbltopnumber}{2}
+\renewcommand\dbltopfraction{.8}
+\renewcommand\dblfloatpagefraction{.8}
+\if@twoside
+  \def\ps@headings{%
+      \let\@oddfoot\@empty\let\@evenfoot\@empty
+      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+      \let\@mkboth\markboth
+    \def\chaptermark##1{%
+      \markboth {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\m@ne
+          \if@mainmatter
+            \@chapapp\ \thechapter. \ %
+          \fi
+        \fi
+        ##1}}{}}%
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\z@
+          \thesection. \ %
+        \fi
+        ##1}}}}
+\else
+  \def\ps@headings{%
+    \let\@oddfoot\@empty
+    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\markboth
+    \def\chaptermark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\m@ne
+          \if@mainmatter
+            \@chapapp\ \thechapter. \ %
+          \fi
+        \fi
+        ##1}}}}
+\fi
+\def\ps@myheadings{%
+    \let\@oddfoot\@empty\let\@evenfoot\@empty
+    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\@gobbletwo
+    \let\chaptermark\@gobble
+    \let\sectionmark\@gobble
+    }
+\newcommand\ist@saveps{%
+  \let\ist@mkboth\@mkboth
+  \let\ist@oddhead\@oddhead\let\ist@oddfoot\@oddfoot
+  \let\ist@evenhead\@evenhead\let\ist@evenfoot\@evenfoot
+}
+\newcommand\ist@restoreps{%
+  \let\@mkboth\ist@mkboth
+  \let\@oddhead\ist@oddhead\let\@oddfoot\ist@oddfoot
+  \let\@evenhead\ist@evenhead\let\@evenfoot\ist@evenfoot
+}
+\newcommand\maketitle{%
+  \maketitlepage
+  \ist@putblankpage
+  \makeabstract
+}
+\newcommand\ist@putblankpage{%
+  \ifist@interim \ist@blankaftertpfalse \fi
+  \ifist@carepage \ist@blankaftertptrue \fi
+  \ifist@blankaftertp
+    \null\vfil \thispagestyle{empty}% make an empty page
+  \fi  % \newpage done at \ist@showabstract
+}
+\newcommand\maketitlepage{%
+  \ist@maketitle
+  \ist@maketitle@post
+}
+\newcommand\makeabstract{%
+  \ist@showabstract
+  \ist@showabstract@post
+}
+\newcommand\ist@maketitle{\begin{titlepage}%
+  \let\footnotesize\small
+  \let\footnoterule\relax
+  \let \footnote \thanks
+  \null\vfil
+  \begin{center}\isttitlesize
+    \vskip \z@\@minus60\p@
+    {\ist@hookcr\MakeUppercase{\@etitle}}\par
+    {\@jtitle}\par
+    \vskip 20\p@
+    by\par
+    \vskip 10\p@
+    {\@eauthor\\\@jauthor}\par
+    \vskip 30\p@\@minus10\p@
+    \ifist@interim
+      {\einterimname\\\jinterimname}\par
+    \else
+      {\ethesisname\\\jthesisname}\par
+    \fi
+    \vskip 80\p@\@minus50\p@
+    {\ist@submittedtoblock}\par
+    \vskip 20\p@\@minus20\p@
+    {Thesis Supervisor: \@esupervisor \quad \@jsupervisor\\
+     \@supervisortitleline}\par
+    \vskip 40\p@\@minus60\p@
+  \end{center}\par
+  \@thanks
+  \vfil
+  \end{titlepage}%
+  \setcounter{footnote}{0}%
+}
+\newcommand\ist@showabstract{%
+  \setlength{\@tempskipb}{36\p@\@minus24\p@}
+  \if a\ist@splitabst \relax
+    \setlength\@tempdima{\@tempskipb}%
+    \addtolength\@tempdima{\ht\eabstractbox}%
+    \addtolength\@tempdima{\dp\eabstractbox}%
+    \addtolength\@tempdima{\ht\jabstractbox}%
+    \addtolength\@tempdima{\dp\jabstractbox}%
+    \ifdim \@tempdima>\textheight
+      \renewcommand\ist@splitabst{s}%
+    \fi
+  \fi
+  \if a\ist@splitabst \relax
+    \begin{titlepage}%
+      \unvbox\eabstractbox
+      \vskip\@tempskipb
+      \unvbox\jabstractbox
+    \end{titlepage}%
+  \else
+    \ifist@carepage \cleardoublepage \fi
+    \if@twocolumn \@restonecoltrue\onecolumn
+    \else         \@restonecolfalse\newpage
+    \fi
+    \setcounter{page}\@ne
+    \ist@saveps \pagestyle{empty}%
+    \unvbox\eabstractbox
+    \if s\ist@splitabst\relax \newpage
+    \else  \vskip\@tempskipb
+    \fi
+    \unvbox\jabstractbox
+    \if@restonecol\twocolumn \else \newpage \fi
+    \ifist@carepage\else \setcounter{page}\@ne \fi
+    \ist@restoreps
+  \fi
+}
+\newcommand\ist@submittedtoblock{%
+  Submitted to\\\@submittedto\\
+  \ifist@interim\else on \@date\\\fi
+  in Partial Fulfillment of the Requirements\\
+  for \@degreename
+}
+\if@seniorthesis
+  \newcommand\@submittedto{%
+    the Department of Information Science\\
+    the Faculty of Science, the University of Tokyo}
+  \newcommand\@degreename{%
+    the Degree of \thesisgrade \ of Science}
+\else
+  \newcommand\@submittedto{%
+    the Graduate School of the University of Tokyo}
+  \ifist@gradiss
+    \newcommand\@degreename{%
+      the Degree of \thesisgrade \ of Science\\
+      in Information Science}
+  \else
+    \newcommand\@degreename{%
+      the Degree of \thesisgrade\
+      of Information Science and Technology\\
+      in Computer Science}
+  \fi
+\fi
+\ifist@english                %--------- english
+\renewcommand\ist@maketitle{\begin{titlepage}%
+  \let\footnotesize\small
+  \let\footnoterule\relax
+  \let \footnote \thanks
+  \null\vfil
+  \begin{center}\isttitlesize
+    \vskip \z@\@minus60\p@
+    {\ist@hookcr\MakeUppercase{\@etitle}}\par
+    \vskip 20\p@
+    by\par
+    \vskip 10\p@
+    {\@eauthor}\par
+    \vskip 30\p@\@minus10\p@
+    \ifist@interim
+      {\einterimname}\par
+    \else
+      {\ethesisname}\par
+    \fi
+    \vskip 80\p@\@minus50\p@
+    {\ist@submittedtoblock}\par
+    \vskip 20\p@\@minus20\p@
+    {Thesis Supervisor: \@esupervisor\\
+     \@supervisortitleline}\par
+    \vskip 40\p@\@minus60\p@
+  \end{center}\par
+  \@thanks
+  \vfil
+  \end{titlepage}%
+  \setcounter{footnote}{0}%
+}
+\renewcommand\ist@showabstract{%
+  \ifist@carepage \cleardoublepage \fi
+  \if@twocolumn \@restonecoltrue\onecolumn
+  \else         \@restonecolfalse\newpage
+  \fi
+  \setcounter{page}\@ne
+  \ist@saveps \pagestyle{empty}%
+  \unvbox\eabstractbox
+  \if@restonecol\twocolumn \else \newpage \fi
+  \ifist@carepage\else \setcounter{page}\@ne \fi
+  \ist@restoreps
+}
+\fi                           %---------
+\newcommand\ist@maketitle@post{%
+  \global\let\thanks\relax
+  \global\let\@thanks\@empty
+  \global\let\@jauthor\@empty
+  \global\let\@eauthor\@empty
+  \global\let\@date\@empty
+  \global\let\@jtitle\@empty
+  \global\let\@etitle\@empty
+  \global\let\@jsupervisor\@empty
+  \global\let\@esupervisor\@empty
+  \global\let\@supervisortitle\@empty
+  \global\let\@submittedto\@empty
+  \global\let\@degree\@empty
+  \global\let\ist@submittedtoblock\@empty
+  \global\let\einterimname\@empty
+  \global\let\jinterimname\@empty
+  \global\let\ethesisname\@empty
+  \global\let\jthesisname\@empty
+  \global\let\thesisgrade\@empty
+  \global\let\jtitle\relax
+  \global\let\etitle\relax
+  \global\let\jauthor\relax
+  \global\let\eauthor\relax
+  \global\let\jsupervisor\relax
+  \global\let\esupervisor\relax
+  \global\let\supervisortitle\relax
+  \global\let\date\relax
+  %
+  \global\let\maketitle\relax
+  \global\let\maketitlepage\relax
+  \global\let\ist@maketitle\relax
+  \global\let\ist@maketitle@post\relax
+}
+\newcommand\ist@showabstract@post{%
+  \global\let\makeabstract\relax
+  \global\let\ist@putblankpage\relax
+  \global\let\ist@showabstract\relax
+  \global\let\ist@showabstract@post\relax
+}
+\def\ist@hookcr{%
+  \let\ist@curcr\\\def\\{\protect\ist@curcr}%
+}
+\newcommand*\chaptermark[1]{}
+\setcounter{secnumdepth}{2}
+\newcounter {part}
+\newcounter {chapter}
+\newcounter {section}[chapter]
+\newcounter {subsection}[section]
+\newcounter {subsubsection}[subsection]
+\newcounter {paragraph}[subsubsection]
+\newcounter {subparagraph}[paragraph]
+\renewcommand \thepart {\@Roman\c@part}
+\renewcommand \thechapter {\@arabic\c@chapter}
+\renewcommand \thesection {\thechapter.\@arabic\c@section}
+\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\@chapapp{\chaptername}
+\newcommand\frontmatter{%
+  \ist@clearpage
+  \@mainmatterfalse
+  \pagenumbering{roman}}
+\newcommand\mainmatter{%
+  \ist@clearpage
+  \@mainmattertrue
+  \pagenumbering{arabic}}
+\newcommand\backmatter{%
+  \if@openright
+    \cleardoublepage
      \else
-       \setbox\@cclv\vbox{\box\@cclv\vfil}%
-       \@makecol\@opcol
        \clearpage
      \fi
-}
-\def \@addtocurcol {%
-   \@insertfalse
-   \@setfloattypecounts
-   \ifnum \@fpstype=8
-   \else
-     \ifnum \@fpstype=24
-     \else
-       \@flsettextmin
-       \advance \@textmin \@textfloatsheight
-       \@reqcolroom \@pageht
-       \ifdim \@textmin>\@reqcolroom
-         \@reqcolroom \@textmin
-       \fi
-       \advance \@reqcolroom \ht\@currbox
-       \ifdim \@colroom>\@reqcolroom
-         \@flsetnum \@colnum
-         \ifnum \@colnum>\z@
-           \@bitor\@currtype\@deferlist
-          \@testwrongwidth\@currbox
-           \if@test
-           \else
-             \@bitor\@currtype\@botlist
-             \if@test
-               \@addtobot
-             \else
-               \ifodd \count\@currbox
-                 \advance \@reqcolroom \intextsep
-                 \ifdim \@colroom>\@reqcolroom
-                   \global \advance \@colnum \m@ne
-                   \global \advance \@textfloatsheight \ht\@currbox
-                   \global \advance \@textfloatsheight 2\intextsep
-                   \@cons \@midlist \@currbox
-                   \if@nobreak
-                     \nobreak
-                     \@nobreakfalse
-                     \everypar{}%
+  \@mainmatterfalse}
+\newcommand\ist@clearpage{%
+  \ifist@carepage \cleardoublepage \else \clearpage \fi}
+\newcommand\part{%
+  \if@openright
+    \cleardoublepage
                    \else
-                     \addpenalty \interlinepenalty
-                   \fi
-                   \vskip \intextsep
-                   \box\@currbox
-                   \penalty\interlinepenalty
-                   \vskip\intextsep
-                   \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
-                   \outputpenalty \z@
-                   \@inserttrue
-                 \fi
-               \fi
-               \if@insert
-               \else
-                 \@addtotoporbot
-               \fi
-             \fi
+    \clearpage
            \fi
+  \thispagestyle{plain}%
+  \if@twocolumn
+    \onecolumn
+    \@tempswatrue
+  \else
+    \@tempswafalse
          \fi
+  \null\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
+     \interlinepenalty \@M
+     \normalfont
+     \ifnum \c@secnumdepth >-2\relax
+       \huge\bfseries \partname\nobreakspace\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
+               \if@openright
+                \null
+                \thispagestyle{empty}%
+                \newpage
      \fi
    \fi
-   \if@insert
-   \else
-     \@resethfps
-     \@cons\@deferlist\@currbox
-   \fi
-}}}
-{}
-\RequirePackage{calc}
-\RequirePackage{ifthen}
-\RequirePackage[final]{graphicx}
-\newif\if@load@natbib \@load@natbibtrue
-\IfFileExists{url.sty}
-  {\RequirePackage{url}%
-  }
-  {\def\url##1{\texttt{##1}}%
-   \ClassWarningNoLine{aipproc}
-      {\noexpand\url command might fail with
-        this LaTeX \MessageBreak installation since url.sty
-        is missing}%
-  }
-\IfFileExists{textcase.sty}
-  {\RequirePackage{textcase}%
-  }
-  {\global\let\MakeTextUppercase\MakeUppercase
-   \ClassWarningNoLine{aipproc}
-      {\noexpand\section commands should not contain math
-        as this on LaTeX \MessageBreak installation the textcase
-        package is missing}%
-  }
-\newcommand\AIP@optionnotsupported[1]
-    {\ClassWarningNoLine{aipproc}%
-                {Option~ `#1'~ not~ supported~ ---~ request~ ignored}}
-\newcommand\AIP@error{\ClassError{aipproc}}
-\newcommand\AIP@cmdnotsupported[1]
-    {\def#1{\AIP@error{Command \noexpand#1not supported by
-                       class}\@eha}}
-\newcommand\AIP@natbibnotavailable[1]
-    {\def#1{\AIP@error{Command \noexpand#1not supported if natbib
-                       not installed}\@eha}}
-\newcommand*\DesignerError[1]{%
-  \AIP@error{#1}{Probably bug in class file.}}
-\newcommand*\InformationError[1]{%
-  \AIP@error{#1}%
-    {Add the necessary information to the document.}}
-\newcommand\MakeSpaceIgnore{%
-    \catcode`\~=10\relax
-    \catcode`\ = 9\relax
-    \catcode`\^^M = 9\relax
-}
-\newcommand\MakeSpaceNormal{%
-    \catcode`\~= 13\relax
-    \catcode`\ = 10\relax
-    \catcode`\^^M = 5\relax
-}
-\let\UnbreakableSpace~
-\MakeSpaceIgnore
-\DeclareOption{a5paper}       {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{b5paper}       {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{legalpaper}    {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{executivepaper}{\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{landscape}     {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{10pt}          {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{11pt}          {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{12pt}          {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{titlepage}     {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{notitlepage}   {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{oneside}       {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{twoside}       {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{onecolumn}     {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{twocolumn}     {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{leqno}         {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{fleqn}         {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{openbib}       {\AIP@optionnotsupported\CurrentOption}
-\DeclareOption{tnotealph}  {\def\AIP@tnote@representation{\@alph}}
-\DeclareOption{tnotesymbol}{\def\AIP@tnote@representation{\@fnsymbol}}
-\newboolean{@cmrfonts}
-\DeclareOption{cmfonts}    {\setboolean{@cmrfonts}{true}
-                            \def\AIP@mathfontsused{0}}
-\DeclareOption{mathptm}    {\def\AIP@mathfontsused{1}}
-\DeclareOption{mathtime}   {\def\AIP@mathfontsused{2}}
-\DeclareOption{nomathfonts}{\def\AIP@mathfontsused{3}}
-\DeclareOption{mathptmx}   {\def\AIP@mathfontsused{4}}
-\DeclareOption{mtpro}      {\def\AIP@mathfontsused{5}}
-\def\pageref{0}
-\DeclareOption{varioref}      {\def\pageref{1}}
-\DeclareOption{nonvarioref}   {\def\pageref{2}}
-\DeclareOption{numcites}      {\def\AIPcitestyleselect{num}}
-\DeclareOption{bibliocites}   {\def\AIPcitestyleselect{biblio}}
-\DeclareOption{nonatbib}      {\dont@load@natbibfalse}
-\DeclareOption{numberedheadings}
-    {\AtEndOfClass{\setcounter{secnumdepth}{3}}}
-\DeclareOption{unnumberedheadings}
-    {\AtEndOfClass{\setcounter{secnumdepth}{-\maxdimen}}}
-\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{article}%
-    \@drafttrue
-    \AtEndOfPackage{
-          \let\AIP@pagenumerror\@gobble
-          \def\@oddfoot{\reset@font
-            \AIPfoliofont
-            \AIPfolioformat\@shorttitle\@date\thepage
-            }}}
-\newif\if@draft
-\DeclareOption{final}{\PassOptionsToClass{\CurrentOption}{article}}
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
-\ExecuteOptions{mathptmx,tnotesymbol,numcites,unnumberedheadings,letterpaper}
-\ProcessOptions\relax
-\MakeSpaceNormal
-\LoadClass{article}
-\MakeSpaceIgnore
-\def\layoutstyle#1{%
-    \expandafter\let\expandafter
-       \AIP@layoutstylename
-       \csname AIP@layout@style@#1 \endcsname
-    \ifx\AIP@layoutstylename\relax
-       \def\AIP@layoutstylename{#1}
-    \fi
-    \MakeSpaceIgnore
-    \makeatletter
-    \InputIfFileExists{aip-\AIP@layoutstylename.clo}
-        {\let\AIP@check@layoutstyle\relax}
-        {\AIP@error{The~ layout~ style~ `#1'~ is~ not~
-                    known\MessageBreak  or~ its~
-                    support~ file~ can~ not~ be~ found}
-         {The~ \noexpand \layoutstyle command~ tried~ to~ load~ the~ file~
-          aip-\AIP@layoutstylename.clo~ without~ success!\MessageBreak
-          This~ might~ be~ due~ to~ misspelling~ the~ style~
-          name.\MessageBreak
-          Standard~ styles~ are~ `6x9',~ `8x11single',~
-          `8x11double',~ and~ `arlo',~ but\MessageBreak there~
-           might~ be~ others~ (see~ the~ class~
-          documentation).\MessageBreak
-          It~ could~ also~ be~ due~ to~ an~ incomplete~ installation~
-          of~ the~ class.
-         }
-        }
-    \MakeSpaceNormal
-    \makeatother
-    \ifdim\columnsep>\z@
-       \@twocolumntrue
-    \else
-       \@twocolumnfalse
-    \fi
-}
-\@onlypreamble\layoutstyle
-\def\declare@layoutstyle#1#2{
-  \@namedef{AIP@layout@style@#1}{#2}
-}
-\@onlypreamble\declare@layoutstyle
-\declare@layoutstyle{6x9}{6s}
-\declare@layoutstyle{8x11single}{8s}
-\declare@layoutstyle{8x11double}{8d}
-\def\AIP@check@layoutstyle{
-  \AIP@error{No~ \noexpand\layoutstyle command~ seen}
-    {The~ class~ requires~ a~ \noexpand\layoutstyle{}~
-     declaration~ in~ the~ preamble!\MessageBreak
-     Standard~ styles~ are~ `6x9',~ `8x11single',~
-    `8x11double',~ and~ `arlo',~ but\MessageBreak there~
-     might~ be~ others~ (see~ the~ class~
-     documentation).\MessageBreak
-     To~ be~ able~ to~ proceed~ the~ 6x9~ style~ is~ assumed.
-    }
-    \layoutstyle{6x9}
-  \@colht\textheight
-  \@colroom\textheight \vsize\textheight
-  \columnwidth\textwidth
-  \@clubpenalty\clubpenalty
+              \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
-    \advance\columnwidth -\columnsep
-    \divide\columnwidth\tw@ \hsize\columnwidth \@firstcolumntrue
+                      \@topnewpage[\@makechapterhead{#2}]%
+                    \else
+                      \@makechapterhead{#2}%
+                      \@afterheading
+                    \fi}
+\def\@makechapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright \normalfont
+    \ifnum \c@secnumdepth >\m@ne
+      \if@mainmatter
+        \chapn@font \@chapapp\space \thechapter
+        \par\nobreak
+        \vskip 20\p@
   \fi
-  \hsize\columnwidth \linewidth\hsize
-}
-\AtBeginDocument{\AIP@check@layoutstyle}
-\newcommand*\SetInternalRegister[2]{#1=#2\relax}
-\let\SetInternalCounter\count@assign
-\newcommand*\DeclareParagraphLayout[9]{%
-    \@namedef{#1Para}{
-  \fontsize{#2}{#3}\selectfont
-          #9
-  \setlength\parindent  {#4}
-  \setlength\leftskip   {#5}
-  \setlength\rightskip  {#6}
-  \@rightskip\rightskip
-  \setlength\parfillskip{#7}
-  \setlength\parskip    {#8}
-}
-}
-\@onlypreamble\DeclareParagraphLayout
-\newcommand*\UseParagraphLayout[1]{
-    \@ifundefined{#1Para}
-       {\DesignerError{Paragraph~ layout~ '#1'~ undefined}}
-       {\@nameuse{#1Para}}
-}
-\newcommand*\DeclareParagraphLayoutAlias[2]{%
-      \@ifundefined{#2Para}
-           {\DesignerError{Paragraph~ layout~ '#2'~ undefined}}
-           {\expandafter\let
-              \csname#1Para\expandafter\endcsname
-              \csname#2Para\endcsname
-           }
-}
-\@onlypreamble\DeclareParagraphLayoutAlias
-\newcommand*\UseBBskip[1]
-  {\ifvmode
-    \setlength\@tempskipa{#1 - \parskip - \baselineskip}
-    \vskip\@tempskipa
-   \else
-    \DesignerError{\protect\UseBBskip\space outside~ vmode}
-   \fi
-  }
-\newcommand*\DeclarePagestyle[5]
-  {
-   \@namedef{ps@#1}
-     {
-      \def\@oddhead {#2}
-      \def\@oddfoot {#3}
-      \def\@evenhead{#4}
-      \def\@evenfoot{#5}
-     }
-   }
-\newdimen\bodytextsize
-\newdimen\bodytextbaselineskip
-\newdimen\bodytextenspace
-\newdimen\bodytextparindent
-\pagestyle{empty}
-\AIP@cmdnotsupported\pagestyle
-\newcommand\AIP@pagenumerror[1]{%
-  \AIP@error{Command~ \string#1~ can't~ be~ used~
-       in~ production}%
-      {This~ command~ will~ produce~ page~ numbers~ which~ will~
-       be~ incorrect~ in~ the\MessageBreak final~ production.
-       It~ should~ therefore~ only~ be~ used~ while~ producing~
-       drafts.}}
-\let\@@tableofcontents\tableofcontents
-\let\@@listoffigures\listoffigures
-\let\@@listoftables\listoftables
-\renewcommand\tableofcontents{%
-   \AIP@pagenumerror\tableofcontents\@@tableofcontents}
-\renewcommand\listoffigures{%
-   \AIP@pagenumerror\listoffigures\@@listoffigures}
-\renewcommand\listoftables{%
-   \AIP@pagenumerror\listoftables\@@listoftables}
-\RequirePackage{aipxfm}
-\MakeSpaceIgnore
-\def\AIP@startsection#1#2#3#4#5{
-    \@tempskipa#2\relax
-    \advance\@tempskipa-\parskip
-    \ifdim\@tempskipa<\z@
-      \DesignerError{#2~ -~ \protect\parskip needs~ to~ be~
-                     non-negative}
-    \fi
-    \ifthenelse{\equal#1{true}}
-      \relax
-      {\@tempskipa-\@tempskipa}
-    \edef\AIP@preskip{\the\@tempskipa}
-    \@tempskipa#4\relax
-    \advance\@tempskipa-\parskip
-    \ifdim\@tempskipa<\z@
-      \DesignerError{#2~ -~ \protect\parskip needs~ to~ be~
-                     non-negative}
-    \fi
-    \ifthenelse{\equal#3{true}}
-      {\@tempskipa-\@tempskipa}
-      \relax
-    \edef\AIP@postskip{\the\@tempskipa}
-    \@secpenalty#5\relax
-    \@startsection
-}
-\renewcommand\section
-   {\AIP@startsection
-      \AIPsectionafterindent\AIPsectionpreskip
-      \AIPsectionrunin\AIPsectionpostskip
-      \AIPsectionpenalty
-       {section}{1}{\AIPsectionindent}%
-                   {\AIP@preskip}%
-                   {\AIP@postskip}%
-                   {\AIPsectionfont\AIPsectionformat}}
-\renewcommand\subsection
-   {\AIP@startsection
-      \AIPsubsectionafterindent\AIPsubsectionpreskip
-      \AIPsubsectionrunin\AIPsubsectionpostskip
-      \AIPsubsectionpenalty
-    {subsection}{2}{\AIPsubsectionindent}%
-                   {\AIP@preskip}%
-                   {\AIP@postskip}%
-                   {\AIPsubsectionfont\AIPsubsectionformat}}
-\renewcommand\subsubsection
-   {\AIP@startsection
-      \AIPsubsubsectionafterindent\AIPsubsubsectionpreskip
-      \AIPsubsubsectionrunin\AIPsubsubsectionpostskip
-      \AIPsubsubsectionpenalty
-    {subsubsection}{3}{\AIPsubsubsectionindent}%
-                   {\AIP@preskip}%
-                   {\AIP@postskip}%
-                   {\AIPsubsubsectionfont\AIPsubsubsectionformat}}
-\renewcommand\paragraph
-   {\AIP@startsection
-      \AIPparagraphafterindent\AIPparagraphpreskip
-      \AIPparagraphrunin\AIPparagraphpostskip
-      \AIPparagraphpenalty
-     {paragraph}{4}{\AIPparagraphindent}%
-                   {\AIP@preskip}%
-                   {\AIP@postskip}%
-                   {\AIPparagraphfont\AIPparagraphformat}}
-\renewcommand\subparagraph
-   {\AIP@startsection
-      \AIPsubparagraphafterindent\AIPsubparagraphpreskip
-      \AIPsubparagraphrunin\AIPsubparagraphpostskip
-      \AIPsubparagraphpenalty
-  {subparagraph}{5}{\AIPsubparagraphindent}%
-                   {\AIP@preskip}%
-                   {\AIP@postskip}%
-                   {\AIPsubparagraphfont\AIPsubparagraphformat}}
-\newcommand\UseNoHyphens{\hyphenpenalty\@M\exhyphenpenalty\@M}
-\ifcase \AIP@mathfontsused
-                                 % 0 use cm for everything
-\or
-\MakeSpaceNormal
-  \RequirePackage{mathptm}       % 1
-\MakeSpaceIgnore
-\or
-\MakeSpaceNormal
-  \RequirePackage{mathtime}      % 2
-\MakeSpaceIgnore
-\or
-                                 % 3 use cm for math
-\or
-\MakeSpaceNormal
-  \RequirePackage{mathptmx}      % 4
-\MakeSpaceIgnore
-\or
-\MakeSpaceNormal
-  \RequirePackage{mtpro}         % 5
-\MakeSpaceIgnore
 \fi
-\ifnum \AIP@mathfontsused > 0
-  \RequirePackage{times}
+    \interlinepenalty\@M
+    \chapt@font #1\par\nobreak
+    \vskip 40\p@
+  }}
+\def\@schapter#1{\if@twocolumn
+                   \@topnewpage[\@makeschapterhead{#1}]%
+                 \else
+                   \@makeschapterhead{#1}%
+                   \@afterheading
+                 \fi}
+\def\@makeschapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright
   \normalfont
-  \RequirePackage[T1]{fontenc}
-  \RequirePackage{textcomp}
-\fi
-\AtBeginDocument{\UseParagraphLayout{AIPbodytext}}
-\renewcommand\footnoterule{
-  \setlength\skip@{\AIPfootnoteruleheight+\AIPfootnoterulepostskip}
-  \vskip-\skip@
-  \moveright \AIPfootnoteruleindent\vbox{%
-    \hrule \@width \AIPfootnoterulewidth
-           \@height \AIPfootnoteruleheight}%
-  \vskip \AIPfootnoterulepostskip \relax}
-\AtBeginDocument{
-  \setlength{\skip\footins}{\AIPfootnoterulepreskip
-                            +\AIPfootnoterulepostskip}}
-\renewcommand\@makefntext[1]{
-    \UseParagraphLayout{AIPfootnote}
-    \noindent
-    \hbox{\AIPfootnotetextmarkerformat
-             {\AIPfootnotetextmarkerfont\@thefnmark}}%
-    \ignorespaces
-    #1}
-\def\@makefnmark{\hbox{%
-  \AIPfootnotemarkerformat{\AIPfootnotemarkerfont\@thefnmark}}}
-\def \@makecol {%
-   \setbox\@outputbox \box\@cclv
-   \@combinefloats
-   \ifvoid\footins
-   \else
-     \setbox\@outputbox \vbox {%
-       \boxmaxdepth \@maxdepth
-       \unvbox \@outputbox
-       \vskip \skip\footins
-       \color@begingroup
-         \normalcolor
-         \footnoterule
-         \unvbox \footins
-       \color@endgroup
-       }%
-   \fi
-   \xdef\@freelist{\@freelist\@midlist}%
-   \global \let \@midlist \@empty
-   \ifvbox\@kludgeins
-     \@makespecialcolbox
-   \else
-     \setbox\@outputbox \vbox to\@colht {%
-       \@texttop
-       \dimen@ \dp\@outputbox
-       \unvbox \@outputbox
-       \vskip -\dimen@
-       \@textbottom
-       }%
+    \interlinepenalty\@M
+    \chapt@font #1\par\nobreak
+    \vskip 40\p@
+  }}
+\newcommand*\chapterfont[2]{%
+   \gdef\chapn@font{#1}\gdef\chapt@font{#2}}
+\chapterfont{\LARGE\bfseries}{\LARGE\bfseries}
+\newcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\sec@font}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\ssec@font}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\sssec@font}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                      {\normalfont\normalsize\bfseries}}
+\newcommand*\sectionfont[3]{%
+   \gdef\sec@font{#1}\gdef\ssec@font{#2}\gdef\sssec@font{#3}}
+\sectionfont{\large\bfseries}{\normalsize\bfseries}{\normalsize\bfseries}
+\if@twocolumn
+  \setlength\leftmargini  {2em}
+\else
+  \setlength\leftmargini  {2.5em}
    \fi
-   \global \maxdepth \@maxdepth
-}
-\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or **\or
-   \ddagger\or \mathsection\or \mathparagraph\or \|\or \dagger\dagger
-   \or \ddagger\ddagger \or\mathsection\mathsection
-   \or \mathparagraph\mathparagraph \or *{*}*\or
-   \dagger{\dagger}\dagger \or\ddagger{\ddagger}\ddagger\or
-   \mathsection{\mathsection}\mathsection
-   \or \mathparagraph{\mathparagraph}\mathparagraph \else\@ctrerr\fi}}
-\def\@alph#1{\ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or
-  j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or
-  w\or x\or y\or z\or aa\or bb\or cc\or dd\or ee\or ff\or gg\or hh\or
-  ii\or jj\or kk\or ll\or mm\or nn\or oo\or pp\or qq\or rr\or ss\or
-  tt\or uu\or vv\or ww\or xx\or yy\or zz\else\@ctrerr\fi}
-\AtBeginDocument{%
-  \ifx\tagform@\@undefined
-    \def\eqref#1{\mbox{\AIPeqreffont\AIPeqrefformat{\ref{#1}}}}%
-  \else
-    \def\tagform@#1{\mbox{\AIPeqreffont
-      \AIPeqrefformat{\ignorespaces
-                      #1\unskip\@@italiccorr}}}%
-  \fi
-  \def\@eqnnum{{\AIPeqfont\AIPeqformat\theequation}}
-}
-\ifnum\pageref>0
- \MakeSpaceNormal
-  \RequirePackage{varioref}
- \MakeSpaceIgnore
- \renewcommand\reftextfaceafter {on~ the~ next~ page}
- \renewcommand\reftextfacebefore{on~ the~ \reftextvario{previous}
-                                                     {preceding}~ page}
- \renewcommand\reftextafter     {on~ the~ \reftextvario{following}
-                                                     {next}~ page}
- \renewcommand\reftextbefore    {on~ the~ \reftextvario{preceding~ page}
-                                                     {page~ before}}
- \renewcommand\reftextcurrent   {on~ \reftextvario{this}%
-                                                 {the~ current}~ page}
- \renewcommand\reftextfaraway[1]{%
-   \is@pos@number\@tempb
-    {\ifnum\@tempb<0\@tempa\relax
-       \reftextearlier
-     \else
-       \reftextlater
-     \fi}%
-   {\@setref\relax\relax{#1}}}
- \newcommand\reftextearlier{\reftextvario{on~ an~ earlier~ page}
-                                         {earlier~ on}}
- \newcommand\reftextlater  {\reftextvario{later~ on}{further~ down}}
- \ifnum\pageref=2
-   \def\reftextvario#1#2{#1}
- \fi
- \let\pageref\vpageref
-\else
-  \renewcommand\pageref[1]
-    {\AIP@error{Page~ references~ not~ supported}
-      {This~ class~ does~ not~ support~ references~ to~ page~
-       numbers~ unless~ the~ varioref~ or~ the~ nonvarioref~ option~
-       is~ used,~ since~ it~ doesn't~ print~ page~ numbers.}}
-\fi
-\newcommand\AIP@maketablecaption[2]{%
-  \UseParagraphLayout{AIPtable-singlelinecaption}
-  \settowidth\@tempdima{%
-      \noindent
-      {\AIPtablecaptionheadfont\AIPtablecaptionheadformat{#1}}
-      \AIPtablecaptiontextfont\ignorespaces#2}
-  \ifdim\@tempdima>\hsize
-     \UseParagraphLayout{AIPtable-multilinecaption}
+\leftmargin  \leftmargini
+\setlength\leftmarginii  {2.2em}
+\setlength\leftmarginiii {1.87em}
+\setlength\leftmarginiv  {1.7em}
+\if@twocolumn
+  \setlength\leftmarginv  {.5em}
+  \setlength\leftmarginvi {.5em}
+\else
+  \setlength\leftmarginv  {1em}
+  \setlength\leftmarginvi {1em}
   \fi
-  \noindent
-  {\AIPtablecaptionheadfont\AIPtablecaptionheadformat{#1}}
-  \AIPtablecaptiontextfont\ignorespaces#2\par
-  \vskip\AIPtablecaptionskip}
-\newskip\AIPtablecaptionskip
-\newcommand\AIP@makefigurecaption[2]{%
-  \UseParagraphLayout{AIPfigure-singlelinecaption}
-  \UseBBskip\AIPfigurecaptionBBskip
-  \settowidth\@tempdima{%
-      \noindent
-      {\AIPfigurecaptionheadfont\AIPfigurecaptionheadformat{#1}}
-      \AIPfigurecaptiontextfont\ignorespaces#2}
-  \ifdim\@tempdima>\hsize
-     \UseParagraphLayout{AIPfigure-multilinecaption}
+\setlength  \labelsep  {.5em}
+\setlength  \labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty   -\@lowpenalty
+\@itempenalty     -\@lowpenalty
+\if0\@ptsize\relax            %--------- 10pt
+\setlength\footnotesep{6.65\p@}
+\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
+\setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\intextsep   {12\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\dblfloatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\@fptop{0\p@ \@plus 1fil}
+\setlength\@fpsep{8\p@ \@plus 2fil}
+\setlength\@fpbot{0\p@ \@plus 1fil}
+\setlength\@dblfptop{0\p@ \@plus 1fil}
+\setlength\@dblfpsep{8\p@ \@plus 2fil}
+\setlength\@dblfpbot{0\p@ \@plus 1fil}
+\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
+\def\@listi{\leftmargin\leftmargini
+            \parsep 4\p@ \@plus2\p@ \@minus\p@
+            \topsep 8\p@ \@plus2\p@ \@minus4\p@
+            \itemsep4\p@ \@plus2\p@ \@minus\p@}
+\let\@listI\@listi
+\@listi
+\def\@listii {\leftmargin\leftmarginii
+              \labelwidth\leftmarginii
+              \advance\labelwidth-\labelsep
+              \topsep    4\p@ \@plus2\p@ \@minus\p@
+              \parsep    2\p@ \@plus\p@  \@minus\p@
+              \itemsep   \parsep}
+\def\@listiii{\leftmargin\leftmarginiii
+              \labelwidth\leftmarginiii
+              \advance\labelwidth-\labelsep
+              \topsep    2\p@ \@plus\p@\@minus\p@
+              \parsep    \z@
+              \partopsep \p@ \@plus\z@ \@minus\p@
+              \itemsep   \topsep}
+\else\if1\@ptsize\relax       %--------- 11pt
+\setlength\footnotesep{7.7\p@}
+\setlength{\skip\footins}{10\p@ \@plus 4\p@ \@minus 2\p@}
+\setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\intextsep   {12\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\dblfloatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\@fptop{0\p@ \@plus 1fil}
+\setlength\@fpsep{8\p@ \@plus 2fil}
+\setlength\@fpbot{0\p@ \@plus 1fil}
+\setlength\@dblfptop{0\p@ \@plus 1fil}
+\setlength\@dblfpsep{8\p@ \@plus 2fil}
+\setlength\@dblfpbot{0\p@ \@plus 1fil}
+\setlength\partopsep{3\p@ \@plus 1\p@ \@minus 1\p@}
+\def\@listi{\leftmargin\leftmargini
+            \parsep 4.5\p@ \@plus2\p@ \@minus\p@
+            \topsep 9\p@   \@plus3\p@ \@minus5\p@
+            \itemsep4.5\p@ \@plus2\p@ \@minus\p@}
+\let\@listI\@listi
+\@listi
+\def\@listii {\leftmargin\leftmarginii
+              \labelwidth\leftmarginii
+              \advance\labelwidth-\labelsep
+              \topsep    4.5\p@ \@plus2\p@ \@minus\p@
+              \parsep    2\p@   \@plus\p@  \@minus\p@
+              \itemsep   \parsep}
+\def\@listiii{\leftmargin\leftmarginiii
+              \labelwidth\leftmarginiii
+              \advance\labelwidth-\labelsep
+              \topsep    2\p@ \@plus\p@\@minus\p@
+              \parsep    \z@
+              \partopsep \p@ \@plus\z@ \@minus\p@
+              \itemsep   \topsep}
+\else                         %--------- 12pt
+\setlength\footnotesep{8.4\p@}
+\setlength{\skip\footins}{10.8\p@ \@plus 4\p@ \@minus 2\p@}
+\setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\intextsep   {14\p@ \@plus 4\p@ \@minus 4\p@}
+\setlength\dblfloatsep    {14\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\@fptop{0\p@ \@plus 1fil}
+\setlength\@fpsep{10\p@ \@plus 2fil}
+\setlength\@fpbot{0\p@ \@plus 1fil}
+\setlength\@dblfptop{0\p@ \@plus 1fil}
+\setlength\@dblfpsep{10\p@ \@plus 2fil}
+\setlength\@dblfpbot{0\p@ \@plus 1fil}
+\setlength\partopsep{3\p@ \@plus 2\p@ \@minus 2\p@}
+\def\@listi{\leftmargin\leftmargini
+            \parsep 5\p@  \@plus2.5\p@ \@minus\p@
+            \topsep 10\p@ \@plus4\p@   \@minus6\p@
+            \itemsep5\p@  \@plus2.5\p@ \@minus\p@}
+\let\@listI\@listi
+\@listi
+\def\@listii {\leftmargin\leftmarginii
+              \labelwidth\leftmarginii
+              \advance\labelwidth-\labelsep
+              \topsep    5\p@   \@plus2.5\p@ \@minus\p@
+              \parsep    2.5\p@ \@plus\p@    \@minus\p@
+              \itemsep   \parsep}
+\def\@listiii{\leftmargin\leftmarginiii
+              \labelwidth\leftmarginiii
+              \advance\labelwidth-\labelsep
+              \topsep    2.5\p@\@plus\p@\@minus\p@
+              \parsep    \z@
+              \partopsep \p@ \@plus\z@ \@minus\p@
+              \itemsep   \topsep}
+\fi\fi                        %---------
+\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}
+\renewcommand\theenumi{\@arabic\c@enumi}
+\renewcommand\theenumii{\@alph\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv{\@Alph\c@enumiv}
+\newcommand\labelenumi{\theenumi.}
+\newcommand\labelenumii{(\theenumii)}
+\newcommand\labelenumiii{\theenumiii.}
+\newcommand\labelenumiv{\theenumiv.}
+\renewcommand\p@enumii{\theenumi}
+\renewcommand\p@enumiii{\theenumi(\theenumii)}
+\renewcommand\p@enumiv{\p@enumiii\theenumiii}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
+\newenvironment{description}
+               {\list{}{\labelwidth\leftmargin \labelsep1em%
+                        \advance\labelwidth-\labelsep
+                        \let\makelabel\descriptionlabel}}
+               {\endlist}
+\newcommand*\descriptionlabel[1]{\normalfont\bfseries #1\hfil}
+\newenvironment{acknowledge}
+               {\begin{titlepage}
+                \vspace*{50\p@}%
+                  {\parindent \z@ \raggedright \normalfont
+                   \interlinepenalty\@M
+                   \chapt@font Acknowledgements\par\nobreak
+                   \vskip 40\p@}%
+               }
+               {\end{titlepage}}
+\newsavebox{\eabstractbox}%
+\newsavebox{\jabstractbox}%
+\newenvironment{eabstract}%
+    {\global\setbox\eabstractbox\vbox\bgroup
+     \everypar{}% cancel \@nodocument
+     \@beginparpenalty\@lowpenalty \small
+     \setlength{\parindent}{1.5em}%
+     \begin{center}%
+       \bfseries\MakeUppercase{\eabstractname}%
+       \@endparpenalty\@M
+     \end{center}\par}%
+    {\par\egroup}
+\newenvironment{jabstract}%
+    {\global\setbox\jabstractbox\vbox\bgroup
+     \everypar{}%
+     \@beginparpenalty\@lowpenalty \small
+     \setlength{\parindent}{1zw}%
+     \begin{center}%
+       \bfseries \jabstractname
+       \@endparpenalty\@M
+     \end{center}\par}%
+    {\par\egroup}
+\ifist@english
+\renewenvironment{jabstract}%
+    {\global\setbox\jabstractbox\vbox\bgroup\everypar{}}
+    {\par\egroup\global\setbox\jabstractbox\box\voidb@x}
+\fi
+\newenvironment{verse}
+               {\let\\\@centercr
+                \list{}{\itemsep      \z@
+                        \itemindent   -1.5em%
+                        \listparindent\itemindent
+                        \rightmargin  \leftmargin
+                        \advance\leftmargin 1.5em}%
+                \item\relax}
+               {\endlist}
+\newenvironment{quotation}
+               {\list{}{\listparindent 1.5em%
+                        \itemindent    \listparindent
+                        \rightmargin   \leftmargin
+                        \parsep        \z@ \@plus\p@}%
+                \item\relax}
+               {\endlist}
+\newenvironment{quote}
+               {\list{}{\rightmargin\leftmargin}%
+                \item\relax}
+               {\endlist}
+\newenvironment{titlepage}
+    {\ifist@carepage \cleardoublepage \fi
+      \if@twocolumn
+        \@restonecoltrue\onecolumn
+      \else
+        \@restonecolfalse\newpage
   \fi
-  \noindent
-  {\AIPfigurecaptionheadfont\AIPfigurecaptionheadformat{#1}}
-  \AIPfigurecaptiontextfont\ignorespaces#2\par
-}
-\newskip\AIPfigurecaptionBBskip
-\newcommand\AIP@sourceerror{\AIP@error
-  {\noexpand\source is only supported with `table' or `figure'
-   environment}\@ehd}
-\let\source\AIP@sourceerror
-\newcommand\AIP@fsource@setup{%
-    \def\source##1{\gdef\AIP@typeset@source
-      {\addvspace\AIPfiguresourceskip
-       \rightline{\AIPfiguresourceheadfont \AIPfiguresourceheadtext
-                  \AIPfiguresourcetextfont ##1}
-      }}
-    \global\let\AIP@typeset@source\@empty}
-\newcommand\AIP@tsource@setup{%
-    \def\source##1{\gdef\AIP@typeset@source
-      {\addvspace\AIPtablesourceskip
-       \rightline{\AIPtablesourceheadfont \AIPtablesourceheadtext
-                  \AIPtablesourcetextfont ##1}
-      }}
-    \global\let\AIP@typeset@source\@empty}
-\newcommand\AIP@tablenoteerror{\AIP@error
-  {\noexpand\tablenote is only supported inside `table'
-   environment\MessageBreak and not allowed inside
-   the \noexpand\caption or \noexpand\source command}\@ehd}
-\let\tablenote\AIP@tablenoteerror
-\newcommand\AIP@tablenote[2]{%
-       \leavevmode
-       \stepcounter\@mpfn
-       \protected@xdef\@thefnmark{\thempfn}%
-       #1\@footnotemark
-       \protected@xdef\AIP@tnote@process
-            {\AIP@tnote@process
-             \protect\footnotetext
-               [\the\c@mpfootnote]
-               {\protect\UseParagraphLayout{AIPtablenote}#2}}%
-}
-\newcommand\AIP@tnote@setup{%
-    \def\@mpfn{mpfootnote}%
-    \def\thempfn{\thempfootnote}%
-    \def\thempfootnote{\AIP@tnote@representation\c@mpfootnote}%
-    \global\c@mpfootnote\z@
-    \def\tablenote{\@ifstar{\AIP@tablenote\relax}
-                           {\AIP@tablenote\rlap}}
-    \gdef\AIP@tnote@process{}%
-    \setlength{\skip\@mpfootins}{\AIPtablenoteskip}
-    \let\footnoterule\relax
-    \let\@footnotetext\@mpfootnotetext
+      \thispagestyle{empty}%
+      \setcounter{page}\@ne
+    }%
+    {\if@restonecol\twocolumn \else \newpage \fi
+     \ifist@carepage\else \setcounter{page}\@ne \fi
 }
-\newskip\AIPtablenoteskip
-\newcommand\AIP@tablehead[4]{\multicolumn{#1}{#2}%
-   {\AIPtableheadfont\begin{tabular}[#3]{@{}#2@{}}%
-    \vrule \@height \bodytextsize\@width \z@\relax
-    \ignorespaces#4\unskip
-    \vrule \@depth .5\bodytextsize\@width \z@\end{tabular}}}
-\def\hline{%
-  \noalign{\ifnum0=`}\fi\vskip\AIPhlinesep
-      \hrule \@height \arrayrulewidth\vskip3\AIPhlinesep
-      \futurelet \reserved@a\@xhline}
-\newdimen\AIPhlinesep
-\newenvironment{ltxtable}[1][tbp]
-               {\@float{table}[#1]
-                \let\tablehead\AIP@tablehead
-                \let\@makecaption\AIP@maketablecaption
-                \AIPtablefont}
+\newcommand\appendix{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \gdef\@chapapp{\appendixname}%
+  \gdef\thechapter{\@Alph\c@chapter}}
+\setlength\arraycolsep{5\p@}
+\setlength\tabcolsep{6\p@}
+\setlength\arrayrulewidth{.4\p@}
+\setlength\doublerulesep{2\p@}
+\setlength\tabbingsep{\labelsep}
+\skip\@mpfootins = \skip\footins
+\setlength\fboxsep{3\p@}
+\setlength\fboxrule{.4\p@}
+\@addtoreset {equation}{chapter}
+\renewcommand\theequation
+  {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
+\newcounter{figure}[chapter]
+\renewcommand \thefigure
+     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
+\newenvironment{figure}
+               {\@float{figure}}
                {\end@float}
-\newenvironment{ltxtable*}[1][tbp]
-               {\@dblfloat{table}[#1]
-                \let\tablehead\AIP@tablehead
-                \let\@makecaption\AIP@maketablecaption
-                \AIPtablefont}
+\newenvironment{figure*}
+               {\@dblfloat{figure}}
                {\end@dblfloat}
-\renewenvironment{table*}[1][tbp]
-   {\AIP@error{Environment `table*' not supported\MessageBreak
-                         --- environment `table' used instead}%
-    {The class automatically determines the position of the float
-     according\MessageBreak
-     to its size.}%
-    \begin{table}}
-   {\end{table}}
-\renewenvironment{table}[1][tbp]
-   {\def\AIP@floatspec{#1}%
-    \let\tablehead\AIP@tablehead
-    \let\@makecaption\AIP@maketablecaption
-    \AIP@tsource@setup
-    \AIP@tnote@setup
-    \global \setbox\AIP@box
-    \color@hbox
-      \hbox \bgroup
-      \@floatboxreset
-         \def\caption##1{\gdef\AIP@save@caption{##1}\let\caption\AIP@caption@error}%
-         \def\label##1{\gdef\AIP@save@label{##1}}%
-         \global\let\AIP@save@caption\@undefined
-         \global\let\AIP@save@label\@undefined
-       \normalcolor
-       \AIPtablefont
-       \ignorespaces
-   }
-   {%
-       \AIP@remove@any@previous@space
-       \outer@nobreak
-      \egroup
-    \color@endbox
-    \setlength\dimen@{\columnwidth+1pt}%
-    \ifdim\wd\AIP@box >\dimen@
-      \setlength\dimen@{\textwidth+1pt}%
-      \ifdim\wd\AIP@box >\dimen@
-        \def\@captype{table}%
-        \sbox\@tempboxa{\AIP@make@table@body}%
-        \setlength\dimen@{\ht\@tempboxa+\dp\@tempboxa}%
-        \ifdim\dimen@ <\columnwidth
-          \def\@tempa{\@float{table}}%
-          \expandafter\@tempa\expandafter[\AIP@floatspec]%
-            \centerline{\rotatebox{90}{\box\@tempboxa}}%
-          \end@float
-        \else
-           \def\@tempa{\@dblfloat{table}}%
-           \expandafter\@tempa\expandafter[\AIP@floatspec]%
-           \setbox\@tempboxa\hbox{\rotatebox{90}{\box\@tempboxa}}
-           \dimen@\wd\@tempboxa
-           \advance\dimen@ -5\p@   % grace
-           \ifdim \dimen@ >\textwidth
-             \AIP@error{Table~ too~ wide~ (\the\wd\@tempboxa\space
-                        >~\the\textwidth)}
-                {Table~ doesn't~ fit~ even~ after~ turning~ it~
-                 by~ 90~ degrees.~ You~ probably\MessageBreak
-                 have~ to~ change~ it~ somewhat.}
-           \fi
-           \centerline{\unhbox \@tempboxa}
-          \end@dblfloat
-        \fi
-      \else
-        \def\@tempa{\@dblfloat{table}}%
-        \expandafter\@tempa\expandafter[\AIP@floatspec]%
-          \AIP@make@table@body
-        \end@dblfloat
-      \fi
-    \else
-      \def\@tempa{\@float{table}}%
-      \expandafter\@tempa\expandafter[\AIP@floatspec]%
-        \AIP@make@table@body
-      \end@float
-    \fi
-}
-\newcommand\AIP@caption@error{\AIP@error{Only~ one~
-           \noexpand\caption command~ per~ float~ supported}
-    {If~ you~ need~ more~ than~ one~ \noexpand\caption~ command~ try~ the~
-     ltxfigure~ or~ ltxtable\MessageBreak
-     environment~ as~ explained~ in~ the~ aipguide.}}
-\newcommand\AIP@make@table@body{%
-      \centering
-      \@tempdima\wd\AIP@box
-      \ifdim\@tempdima<\AIPtablecaptionminwidth
-        \@tempdima\AIPtablecaptionminwidth
-      \fi
-      \begin{minipage}\@tempdima
-        \ifx\AIP@save@caption\@undefined\else
-          \let\tablenote\AIP@tablenoteerror
-          \caption{\AIP@save@caption
-                   \ifx\AIP@save@label\@undefined\else
-                     \label\AIP@save@label
-                   \fi}%
-        \fi
-        \par
-        \offinterlineskip                % or we get \lineskip
-        \vbox{\hsize\wd\AIP@box
-                          \box\AIP@box
-                          \AIP@typeset@source}%
-        \AIP@tnote@process
-     \end{minipage}%
-}
-\newdimen\AIPtablecaptionminwidth
-\newcommand\AIP@remove@any@previous@space
-  {\unskip\loop\unskip\ifdim\lastskip>\z@\repeat}
-\newbox\AIP@box
-\newenvironment{ltxfigure}[1][tbp]
-               {\@float{figure}[#1]
-                \let\@makecaption\AIP@makefigurecaption}
+\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}
+\def\fnum@table{\tablename\nobreakspace\thetable}
+\newenvironment{table}
+               {\@float{table}}
                {\end@float}
-\newenvironment{ltxfigure*}[1][tbp]
-               {\@dblfloat{figure}[#1]
-                \let\@makecaption\AIP@makefigurecaption}
+\newenvironment{table*}
+               {\@dblfloat{table}}
                {\end@dblfloat}
-\renewenvironment{figure}[1][tbp]
-   {\def\AIP@floatspec{#1}%
-    \AIP@fsource@setup
-    \global \setbox\AIP@box
-    \color@hbox
-      \hbox \bgroup
-      \@floatboxreset
-         \def\caption##1{\let\caption\AIP@caption@error\gdef\AIP@save@caption{##1}}%
-         \def\label##1{\gdef\AIP@save@label{##1}}%
-         \global\let\AIP@save@caption\@undefined
-         \global\let\AIP@save@label\@undefined
-       \normalcolor
-       \normalfont
-       \normalsize
-       \ignorespaces
-   }
-   {%
-       \AIP@remove@any@previous@space
-       \outer@nobreak
-      \egroup
-    \color@endbox
-    \def\@tempa{\@dblfloat{figure}}%
-    \setlength\dimen@{\columnwidth+1pt}%
-    \ifdim\wd\AIP@box >\dimen@
-      \expandafter\@tempa\expandafter[\AIP@floatspec]%
-        \AIP@make@figure@body
-      \end@dblfloat
-    \else
-      \def\@tempa{\@float{figure}}%
-      \expandafter\@tempa\expandafter[\AIP@floatspec]%
-        \AIP@make@figure@body
-      \end@float
-    \fi
-}
-\renewenvironment{figure*}{\figure}{\endfigure}
-\newcommand\AIP@make@figure@body{%
-      \centering
-      \setlength\@tempdima{\wd\AIP@box-1pt}%
-      \ifdim\@tempdima>\columnwidth
-         \@tempdima\textwidth
-      \else
-         \@tempdima\columnwidth
-      \fi
-      \begin{minipage}\@tempdima
-        \centerline{\vbox{\hsize\wd\AIP@box
-                          \box\AIP@box
-                          \AIP@typeset@source}}%
-        \ifx\AIP@save@caption\@undefined\else
-          \let\@makecaption\AIP@makefigurecaption
-          \caption{\AIP@save@caption
-                   \ifx\AIP@save@label\@undefined\else
-                     \label\AIP@save@label
-                   \fi}%
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{10\p@}
+\setlength\belowcaptionskip{0\p@}
+\long\def\@makecaption#1#2{%
+  \vskip\abovecaptionskip
+  \sbox\@tempboxa{#1: #2}%
+  \ifdim \wd\@tempboxa >\hsize
+    #1: #2\par
+  \else
+    \global \@minipagefalse
+    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+  \fi
+  \vskip\belowcaptionskip}
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
+\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\setcounter{tocdepth}{2}
+\newcommand\tableofcontents{%
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
         \fi
-        \par
-     \end{minipage}}
-\renewcommand\fnum@figure{\thefigure}
-\renewcommand\fnum@table{\thetable}
-\newcommand\spaceforfigure[2]{\parbox{#1}{\mbox{}\vspace*{#2}}}
-\AtBeginDocument{%
-\newcommand\@@longtable{}%
-\let\@@longtable\longtable
-\def\longtable{%
+    \chapter*{\contentsname
+        \@mkboth{%
+           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
+    \@starttoc{toc}%
+    \if@restonecol\twocolumn\fi
+    }
+\newcommand*\l@part[2]{%
+  \ifnum \c@tocdepth >-2\relax
+    \addpenalty{-\@highpenalty}%
+    \addvspace{2.25em \@plus\p@}%
+    \setlength\@tempdima{3em}%
   \begingroup
-    \LTcapwidth\z@
-    \advance\c@LT@tables\@ne   % local as stepcounter comes later
-    \let\LT@entry\AIP@get@longtable@width
-    \csname LT@\romannumeral\c@LT@tables\endcsname
-    \ifdim \LTcapwidth=\z@ \global \LTcapwidth2in
-    \else \global\LTcapwidth\LTcapwidth
-    \fi
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      {\leavevmode
+       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+       \nobreak
+         \global\@nobreaktrue
+         \everypar{\global\@nobreakfalse\everypar{}}%
   \endgroup
-  \AIPtablefont
-  \let\tablehead\AIP@tablehead
-  \@@longtable
-}%
-\def\LT@makecaption#1#2#3{%
-  \LT@mcol\LT@cols {@{}l@{}}{\rlap{\parbox[t]\LTcapwidth{%
-  \UseParagraphLayout{AIPtable-multilinecaption}
-  \noindent
-  {\AIPtablecaptionheadfont\AIPtablecaptionheadformat{#1#2}}
-  \AIPtablecaptiontextfont\ignorespaces#3\endgraf
-  \vspace*\AIPtablecaptionskip
-  }}}}%
-\def\LT@hline{%
-  \noalign{\ifnum0=`}\fi
-    \penalty\@M\vskip\AIPhlinesep
-    \futurelet\@let@token\LT@@hline}
-\def\LT@@hline{%
-  \ifx\@let@token\hline
-    \global\let\@gtempa\@gobble
-    \gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}%
-  \else
-    \global\let\@gtempa\@empty
-    \gdef\LT@sep{\penalty-\@lowpenalty\vskip-\arrayrulewidth}%
-  \fi
-  \ifnum0=`{\fi}%
-  \multispan\LT@cols
-     \unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
-  \noalign{\LT@sep}%
-  \multispan\LT@cols
-     \unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
-  \noalign{\penalty\@M\vskip3\AIPhlinesep}%
-  \@gtempa}
-}
-\newcommand\AIP@get@longtable@width[2]{\advance\LTcapwidth#2\relax }
-\newenvironment{theacknowledgments}
-     {\AIPacknowledgmentsheadtype\AIPacknowledgmentsheadtext
-      \UseParagraphLayout{AIPacknowledgments}}
-     {\par}
-\renewenvironment{theindex}
-               {
+  \fi}
+\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
+      \parfillskip -\@pnumwidth
+      \leavevmode \bfseries
+      \advance\leftskip\@tempdima
+      \hskip -\leftskip
+      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
+    \endgroup
+  \fi}
+\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}}
+\newcommand\listoffigures{%
                 \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
                   \@restonecolfalse
-                  \AIPindexheadtype\indexname
+    \fi
+    \chapter*{\listfigurename
+      \@mkboth{\MakeUppercase\listfigurename}%
+              {\MakeUppercase\listfigurename}}%
+    \@starttoc{lof}%
+    \if@restonecol\twocolumn\fi
+    }
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
                 \else
-                  \columnseprule \z@
-                  \columnsep 35\p@
-                  \@restonecoltrue
-                  \twocolumn[\AIPindexheadtype\indexname]
+      \@restonecolfalse
                 \fi
-                \parindent\z@
-                \parskip\z@ \@plus .3\p@\relax
-                \let\item\@idxitem}
-               {\if@restonecol\onecolumn\fi}
-\IfFileExists{natbib.sty}
-  {
-   \if@load@natbib
-     \AtBeginDocument{
-        \citestyle
-%%           {\csname AIP \AIPcitestyleselect citestyle\endcsname}
-        {aa}
-     }
-    \MakeSpaceNormal
-    \RequirePackage{natbib}
-    \MakeSpaceIgnore
-   \fi
-   }{}
-\ifx\citet\@undefined
-   \def\citet{\AIP@natbibnotavailable\citet}
-   \def\citep{\AIP@natbibnotavailable\citep}
-   \def\citealt{\AIP@natbibnotavailable\citealt}
-   \def\citealp{\AIP@natbibnotavailable\citealp}
-   \def\citetext{\AIP@natbibnotavailable\citetext}
-   \def\citeauthor{\AIP@natbibnotavailable\citeauthor}
-   \def\citeyear{\AIP@natbibnotavailable\citeyear}
-   \def\citeyearpar{\AIP@natbibnotavailable\citeyearpar}
-   \def\Citet{\AIP@natbibnotavailable\Citet}
-   \def\Citep{\AIP@natbibnotavailable\Citep}
-   \def\Citealt{\AIP@natbibnotavailable\Citealt}
-   \def\Citealp{\AIP@natbibnotavailable\Citealp}
-   \def\Citetext{\AIP@natbibnotavailable\Citetext}
-   \def\Citeauthor{\AIP@natbibnotavailable\Citeauthor}
-   \def\Citeyear{\AIP@natbibnotavailable\Citeyear}
-   \def\Citeyearpar{\AIP@natbibnotavailable\Citeyearpar}
-   \renewenvironment{thebibliography}[1]
-     {\AIPbibliographyheadtype\refname
-      \list{\AIPbibliographymarkerformat{\@arabic\c@enumiv}}%
-           {\settowidth\labelwidth{\AIPbibliographymarkerformat{#1}}%
-            \UseParagraphLayout{AIPbibliography}
+    \chapter*{\listtablename
+      \@mkboth{%
+          \MakeUppercase\listtablename}%
+         {\MakeUppercase\listtablename}}%
+    \@starttoc{lot}%
+    \if@restonecol\twocolumn\fi
+    }
+\let\l@table\l@figure
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newenvironment{thebibliography}[1]
+     {\chapter*{\bibname
+        \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
+      \addcontentsline{toc}{chapter}{\bibname}% added(v1.1a)
+      \list{\@biblabel{\@arabic\c@enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
             \advance\leftmargin\labelsep
-            \setlength\itemsep\AIPbibliographyitemsep
             \@openbib@code
             \usecounter{enumiv}%
             \let\p@enumiv\@empty
             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
       \sfcode`\.\@m}
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
       \endlist}
-  \renewcommand*\@cite[2]{{\AIPcitefont
-     \AIPciteformat{#1\if@tempswa , #2\fi}}}
-  \AtBeginDocument{
-        \ifthenelse{\equal\AIPcitestyleselect{num}}
-           {}
-           {\AIP@error{Author/year~ citation~ style~ impossible}
-              {Without~ the~ natbib~ system~ only~ numerical~ citations~ are~
-               possible.~ But~ you~ (or~ the~ journal~ \string\layoutstyle)~
-               requested~ a~ diffferent~ citation~ style.}
-           }
-    }
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+\newenvironment{theindex}
+               {\if@twocolumn
+                  \@restonecolfalse
 \else
-   \renewcommand\bibsection{\AIPbibliographyheadtype\refname}
-   \renewcommand\NAT@bibsetnum[1]{
-      \ifdim\AIPbibliographylabelwidth=\maxdimen
-\settowidth\labelwidth{\@biblabel{#1}}
-        \setlength\leftmargin\labelwidth
-      \else
-        \setlength\labelwidth\AIPbibliographylabelwidth
-        \setlength\leftmargin
-          {\AIPbibliographyleftmargin+\AIPbibliographyleftmarginextra}
-        \setlength\itemindent{-\AIPbibliographyleftmarginextra}
-      \fi
-      \addtolength\leftmargin\AIPbibliographylabelsep
-      \setlength\labelsep\AIPbibliographylabelsep
-      \setlength\itemsep\AIPbibliographyitemsep
-      \UseParagraphLayout{AIPbibliography}
-      \setlength\parsep{\parskip}
-   }
-  \renewcommand\NAT@bibsetup[1]{
-       \setlength\leftmargin
-          {\AIPbibliographyleftmargin+\AIPbibliographyleftmarginextra}
-       \setlength\itemindent{-\AIPbibliographyleftmarginextra}
-       \setlength\itemsep\AIPbibliographyitemsep
-       \UseParagraphLayout{AIPbibliography}
-       \setlength\parsep{\parskip}
-      }
-  \newcommand\bibstyle@arlonum{\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
-     \gdef\NAT@biblabelnum##1{\textsuperscript{##1}}
-     \gdef\thefootnote{\alph{footnote}}
-  }
-  \newcommand\bibstyle@aipproc{\bibpunct{[}{]}{,}{n}{}{,}
-     \gdef\NAT@biblabelnum##1{##1.\hfill}}
+                  \@restonecoltrue
+                \fi
+                \columnseprule \z@
+                \columnsep 35\p@
+                \twocolumn[\@makeschapterhead{\indexname}]%
+                \@mkboth{\MakeUppercase\indexname}%
+                        {\MakeUppercase\indexname}%
+                \thispagestyle{plain}\parindent\z@
+                \parskip\z@ \@plus .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}
+\renewcommand\footnoterule{%
+  \kern-3\p@
+  \hrule\@width.4\columnwidth
+  \kern2.6\p@}
+\@addtoreset{footnote}{chapter}
+\newcommand\@makefntext[1]{%
+    \parindent 1em%
+    \noindent
+    \hb@xt@1.8em{\hss\@makefnmark}#1}
+\newcommand\ist@showabstract@c{%
+  \begin{titlepage}%
+  \begin{center}%
+   \usebox{\eabstractbox}%
+   \vskip 2em%
+   \usebox{\jabstractbox}%
+  \end{center}\par
+  \vfil
+  \thispagestyle{empty}%
+  \end{titlepage}%
+}
+\newenvironment{eabstract@c}%
+    {\global\setbox\eabstractbox=\hbox\bgroup
+     \begin{minipage}{1\textwidth}%
+     \setlength{\parindent}{1.5em}%
+     \small
+     \begin{center}%
+       \bfseries \MakeUppercase{\eabstractname}%
+     \end{center}\par}%
+    {\end{minipage}\egroup}
+\newenvironment{jabstract@c}%
+    {\global\setbox\jabstractbox=\hbox\bgroup
+     \begin{minipage}{1\textwidth}%
+     \setlength{\parindent}{1zw}%
+     \small
+     \begin{center}%
+       \bfseries \jabstractname
+     \end{center}\par}%
+    {\end{minipage}\egroup}
+\newcommand\useoldabstract{%
+  \let\ist@showabstract\ist@showabstract@c
+  \let\eabstract\eabstract@c
+  \let\endeabstract\endeabstract@c
+  \let\jabstract\jabstract@c
+  \let\endjabstract\endjabstract@c
+}
+\newcommand\contentsname{Contents}
+\newcommand\listfigurename{List of Figures}
+\newcommand\listtablename{List of Tables}
+\newcommand\bibname{References}
+\newcommand\indexname{Index}
+\newcommand\figurename{Figure}
+\newcommand\tablename{Table}
+\newcommand\partname{Part}
+\newcommand\chaptername{Chapter}
+\newcommand\appendixname{Appendix}
+\newcommand\eabstractname{Abstract}
+\newcommand\jabstractname{\ist@j@abst}
+\if@seniorthesis
+ \newcommand\ethesisname{A Senior Thesis}
+ \newcommand\einterimname{An Interim Report (Abstract)}
+ \newcommand\jthesisname{\ist@j@senior}
+ \newcommand\jinterimname{\ist@j@interim}
+ \newcommand\thesisgrade{Bachelor}
+ \newcommand\ist@whatscience{Information Science}
+\else \if@masterthesis
+ \newcommand\ethesisname{A Master Thesis}
+ \newcommand\einterimname{An Interim Report (Abstract)}
+ \newcommand\jthesisname{\ist@j@master}
+ \newcommand\jinterimname{\ist@j@interim}
+ \newcommand\thesisgrade{Master}
+ \newcommand\ist@whatscience{Computer Science}
+\else \if@doctorthesis
+ \newcommand\ethesisname{A Doctor Thesis}
+ \newcommand\einterimname{An Interim Report (Abstract)}
+ \newcommand\jthesisname{\ist@j@doctor}
+ \newcommand\jinterimname{\ist@j@interim}
+ \newcommand\thesisgrade{Doctor}
+ \newcommand\ist@whatscience{Computer Science}
+\fi \fi \fi
+\def\etitle#1{\gdef\@etitle{#1}}
+\def\jtitle#1{\gdef\@jtitle{#1}}
+\def\eauthor#1{\gdef\@eauthor{#1}}
+\def\jauthor#1{\gdef\@jauthor{#1}}
+\def\esupervisor#1{\gdef\@esupervisor{#1}}
+\def\jsupervisor#1{\gdef\@jsupervisor{#1}}
+\def\supervisortitle#1{\gdef\@supervisortitle{#1}}
+\def\@etitle{\ist@err@notdefd\etitle}
+\def\@jtitle{\ist@err@notdefd\jtitle}
+\def\@eauthor{\ist@err@notdefd\eauthor}
+\def\@jauthor{\ist@err@notdefd\jauthor}
+\def\@esupervisor{\ist@err@notdefd\esupervisor}
+\def\@jsupervisor{\ist@err@notdefd\jsupervisor}
+\def\@supervisortitle{\ist@err@notdefd\supervisortitle}
+\def\@date{\ist@err@notdefd\@date}
+\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}
+\newcommand\thesupervisortitle{\@supervisortitle}
+\newcommand*\supervisortitleline[1]{\gdef\@supervisortitleline{#1}}
+\newcommand\@supervisortitleline{%
+  \@supervisortitle\ of \ist@whatscience
+}
+\ifist@english \catcode`\.=14 \else \catcode`\.=9 \fi
+.\newcommand\ist@j@senior{卒業論文}
+.\newcommand\ist@j@master{修士論文}
+.\newcommand\ist@j@doctor{博士論文}
+.\newcommand\ist@j@abst{論文要旨}
+.\newcommand\ist@j@interim{中間報告}
+\catcode`\.=12\relax
+\def\title{\ist@err@invalid\title}
+\def\author{\ist@err@invalid\author}
+\def\and{\ist@err@invalid\and}
+\def\abstract{\ist@err@invalid\abstract}
+%\if e\ist@engine
+%  \input{ist-en.clo}
+%\fi
+\setlength\columnsep{10\p@}
+\setlength\columnseprule{0\p@}
+\pagestyle{plain}
+\pagenumbering{arabic}
+\def\sloppy{\tolerance 9999 \hbadness 5000
+            \emergencystretch 3em
+            \hfuzz 2.5\p@ \vfuzz .5\p@}
+\ifist@sloppy
+  \sloppy
+\fi
+\if@twoside
+\else
+  \raggedbottom
+\fi
+\if@twocolumn
+  \twocolumn
+  \sloppy
+  \flushbottom
+\else
+  \onecolumn
 \fi
-\MakeSpaceNormal
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \endinput
 %%
-%% End of file `aipproc.cls'.
+%% End of file `iscs-thesis.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns