%% %% This is file `ahs.cls', %% %% Journal of the American Helicopter Society %% %% based on article.cls v0.1 (for LaTeX2e). %% %% ========================================================= %% Please check the updated history at the end of this file. %% ========================================================= %% %% \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 \~} %% \NeedsTeXFormat{LaTeX2e}[1996/06/01] \ProvidesClass{ahs}[2004/12/17 v0.2 Journal of the American Helicopter Society document class] \newcommand\@ptsize{} \newif\if@restonecol \newif\if@titlepage \@titlepagefalse \if@compatibility\else \DeclareOption{a4paper} {\setlength\paperheight {297mm}% \setlength\paperwidth {210mm}} \DeclareOption{a5paper} {\setlength\paperheight {210mm}% \setlength\paperwidth {148mm}} \DeclareOption{b5paper} {\setlength\paperheight {250mm}% \setlength\paperwidth {176mm}} \DeclareOption{letterpaper} {\setlength\paperheight {11in}% \setlength\paperwidth {8.5in}} \DeclareOption{ahspaper}% AHS-Paper {\setlength\paperheight {11in}% \setlength\paperwidth {8in}} \DeclareOption{legalpaper} {\setlength\paperheight {14in}% \setlength\paperwidth {8.5in}} \DeclareOption{executivepaper} {\setlength\paperheight {10.5in}% \setlength\paperwidth {7.25in}} \DeclareOption{landscape} {\setlength\@tempdima {\paperheight}% \setlength\paperheight {\paperwidth}% \setlength\paperwidth {\@tempdima}} \fi \if@compatibility \renewcommand\@ptsize{0} \else \DeclareOption{9pt}{\renewcommand\@ptsize{0}} \DeclareOption{10pt}{\renewcommand\@ptsize{0}} \fi \DeclareOption{11pt}{\renewcommand\@ptsize{1}} \DeclareOption{12pt}{\renewcommand\@ptsize{2}} \if@compatibility\else \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} \fi \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} \DeclareOption{draft}{\setlength\overfullrule{5pt}} \if@compatibility\else \DeclareOption{final}{\setlength\overfullrule{0pt}} \fi \DeclareOption{titlepage}{\@titlepagetrue} \if@compatibility\else \DeclareOption{notitlepage}{\@titlepagefalse} \fi \if@compatibility\else \DeclareOption{onecolumn}{\@twocolumnfalse} \fi \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}}% } %\ExecuteOptions{letterpaper,twoside,onecolumn,final} \ExecuteOptions{letterpaper,twoside,onecolumn,final}% legalpaper \ProcessOptions \renewcommand\normalsize{% \@setfontsize\normalsize\@xiipt\@xiipt \abovedisplayskip 6\p@ \@plus2\p@ \@minus.5\p@ \abovedisplayshortskip \z@ \@plus3\p@ \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ \belowdisplayskip \abovedisplayskip \let\@listi\@listI} \normalsize \newcommand\small{% \@setfontsize\small\@ixpt{11}% \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\@xiipt\@xiipt%\@viipt{8}% \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\@viiipt} \newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt} \newcommand\large{\@setfontsize\large\@xiipt{14}} \newcommand\Large{\@setfontsize\Large\@xivpt{18}} \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}} \newcommand\huge{\@setfontsize\huge\@xxpt{25}} \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}} \def\titlefont{\fontsize{18}{20}\selectfont\bfseries\leftskip0pt plus1fill\rightskip0pt plus1fill\mathversion{bold}}% \centering \def\authorfont{\normalsize\selectfont\leftskip0pt plus1fill\rightskip0pt plus1fill}%\centering} \def\affilfont{\normalsize\selectfont\leftskip0pt plus1fill\rightskip0pt plus1fill\itshape} \def\footnotefont{\fontsize{8}{9}\selectfont\centering\itshape} \def\abstractfont{\normalsize\selectfont\leftskip3pc\rightskip\leftskip\mathversion{bold}} \def\sectionfont{\normalsize\selectfont\bfseries\centering\mathversion{bold}} \def\subsectionfont{\normalsize\selectfont\bfseries\raggedright\mathversion{bold}} \def\subsubsectionfont{\normalsize\selectfont\bfseries\itshape\raggedright\mathversion{normal}} \def\paragraphfont{\normalsize\selectfont\itshape\mathversion{normal}} \def\bibfont{\normalsize\selectfont\mathversion{normal}} \def\nomenfont{\normalsize\selectfont\rightskip0pt plus1fill\mathversion{normal}} \def\figcaptionfont{\reset@font\normalsize\selectfont\mathversion{normal}}%\centering} \def\figcaptionnumfont{\reset@font\normalsize\selectfont\bfseries\mathversion{normal}}%\centering} \def\Tablecaptionfont{\reset@font\normalsize\selectfont\mathversion{normal}}% \def\tablecaptionfont{\reset@font\normalsize\selectfont\leftskip\tableleftskip\rightskip\tablerightskip\mathversion{normal}}% \def\tablecaptionnumfont{\reset@font\normalsize\selectfont\bfseries\mathversion{normal}}% \def\tablefont{\reset@font\normalsize\selectfont\leftskip\tableleftskip\rightskip\tablerightskip}% \def\TCHfont{\reset@font\normalsize\selectfont\mathversion{normal}}% \if@twocolumn \setlength\parindent{1pc}%{1em} \else \setlength\parindent{15\p@} \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@} \setlength\headheight{14\p@} \setlength\headsep {26\p@} \setlength\topskip {10\p@} \setlength\footskip{30\p@} \if@compatibility \setlength\maxdepth{4\p@} \else \setlength\maxdepth{.5\topskip} \fi \if@compatibility \if@twocolumn \setlength\textwidth{410\p@} \else \setlength\textwidth{410\p@}%345 \fi \else \setlength\@tempdima{\paperwidth} \addtolength\@tempdima{6pc}%-2in} \setlength\@tempdimb{504\p@} \if@twocolumn \ifdim\@tempdima>2\@tempdimb\relax \setlength\textwidth{2\@tempdimb} \else \setlength\textwidth{\@tempdima} \fi \else \ifdim\@tempdima>\@tempdimb\relax \setlength\textwidth{\@tempdimb} \else \setlength\textwidth{\@tempdima} \fi \fi \fi \if@compatibility\else \@settopoint\textwidth \fi \if@compatibility \setlength\textheight{43\baselineskip} \else \setlength\@tempdima{\paperheight}% \addtolength\@tempdima{-12pc}% % \addtolength\@tempdima{-2in}% % \addtolength\@tempdima{-1.5in}% \divide\@tempdima\baselineskip% \@tempcnta=\@tempdima% \setlength\textheight{\@tempcnta\baselineskip}% % \setlength\textheight{62\baselineskip} \fi \addtolength\textheight{\topskip}% \if@twocolumn \setlength\marginparsep {10\p@} \else \setlength\marginparsep{11\p@} \fi \setlength\marginparpush{5\p@} \if@compatibility \if@twoside \setlength\oddsidemargin {44\p@} \setlength\evensidemargin {82\p@} \setlength\marginparwidth {107\p@} \else \setlength\oddsidemargin {63\p@} \setlength\evensidemargin {63\p@} \setlength\marginparwidth {90\p@} \fi \if@twocolumn \setlength\oddsidemargin {30\p@} \setlength\evensidemargin {30\p@} \setlength\marginparwidth {48\p@} \fi \else \if@twoside \setlength\@tempdima {\paperwidth} \addtolength\@tempdima {-\textwidth} \setlength\oddsidemargin {.659in}%.5\@tempdima} % \setlength\oddsidemargin {3pc} \addtolength\oddsidemargin {-65pt}%-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 \fi \if@compatibility \setlength\topmargin{27pt} \else \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} \addtolength\topmargin{-0.5pt}%12.5pt}% For 36pt b/b \@settopoint\topmargin \fi \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{\textheight}%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} \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} % \setlength\lineskip{1\p@} \setlength\normallineskip{1\p@} \renewcommand\baselinestretch{2} \setlength\parskip{0\p@}% \@plus \p@} \@lowpenalty 51 \@medpenalty 151 \@highpenalty 301 \setcounter{topnumber}{1} \renewcommand\topfraction{.7} \setcounter{bottomnumber}{1} \renewcommand\bottomfraction{.3} \setcounter{totalnumber}{1} \renewcommand\textfraction{.2} \renewcommand\floatpagefraction{.5} \setcounter{dbltopnumber}{1} \renewcommand\dbltopfraction{.7} \renewcommand\dblfloatpagefraction{.5} \def\jname#1{\gdef\@jname{\MakeUppercase{#1}}}% \def\jmonth#1{\gdef\@jmonth{\MakeUppercase{#1}}}% \def\jyear#1{\gdef\@jyear{#1}}% \def\logno#1{\gdef\@logno{#1}}% \logno{} \if@twoside \def\ps@headings{\let\@mkboth\markboth \let\@oddfoot\@empty\let\@evenfoot\@empty \def\@evenhead{\hbox to 4pc{\thepage\hfill}{\MakeUppercase{\leftmark}}\hfill\@jname}% \def\@oddhead{AHS Log No. \@logno\hfill\hbox to 4pc{\hfill\thepage}}% } \else \def\ps@headings{\let\@mkboth\markboth \let\@oddfoot\@empty\let\@evenfoot\@empty \def\@evenhead{\thepage\hfill{\leftmark}\hfill}% \def\@oddhead{\hfill{\rightmark}\hfill\thepage}% } \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\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}% {\titlefont \@title \par}% \vskip 3em% \lineskip .75em% \@authors \vskip 1.5em% \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\@authors\@empty \global\let\@date\@empty \global\let\@title\@empty \global\let\title\relax \global\let\authors\relax \global\let\date\relax \global\let\and\relax } \else \newcommand\maketitle{\par \begingroup \renewcommand\thefootnote{}%\@fnsymbol\c@footnote}% \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}% \long\def\@makefntext##1{\parindent 1em\noindent % \hb@xt@1.8em{\hss\@textsuperscript{\normalfont\@thefnmark}}% ##1}% \if@twocolumn \ifnum \col@number=\@ne \@maketitle \else % \twocolumn[ \@maketitle%]% \fi \else \newpage \global\@topnum\z@ % Prevents figures from going at top of page. \@maketitle \fi \thispagestyle{plain}\@thanks \endgroup \setcounter{footnote}{0}% \global\let\thanks\relax \global\let\maketitle\relax \global\let\@maketitle\relax \global\let\@thanks\@empty \global\let\@authors\@empty \global\let\@date\@empty \global\let\@title\@empty \global\let\title\relax \global\let\authors\relax \global\let\date\relax \global\let\and\relax } \def\@maketitle{% \newpage \null \vskip-40.5pt% % \begin{center}% \let \footnote \thanks {\titlefont \@title\par}% \vskip 25pt% {%\large % \lineskip .5em% \@authors} \ifvoid\abstractbox% \else% \vspace*{39pt}% {\box\abstractbox}% \fi% % \end{center}% \par\vskip 28pt} \fi % \newcount\authorcount\authorcount\z@ \newcount\tempcount\tempcount\z@ % \gdef\AUempty{empty} \renewcommand\author[2][\relax]{\global\advance\authorcount\@ne \def\testau{#1} \expandafter\gdef\csname @author\romannumeral\the\authorcount\endcsname{#2}% \ifx#1\relax\expandafter\xdef\csname @aufig\romannumeral\the\authorcount\endcsname{\AUempty}\else\expandafter\xdef\csname @aufig\romannumeral\the\authorcount\endcsname{#1}\fi% }% \newcommand\affiliation[1]{\expandafter\gdef\csname @affiliation\romannumeral\the\authorcount\endcsname{#1}} % \def\@authors{\loop \ifnum\authorcount>\z@ \advance\tempcount\@ne {\authorfont% \def\tempa{\csname @aufig\romannumeral\the\tempcount\endcsname} \ifthenelse{\equal{\tempa}{\AUempty}}{}% {\figurebox{9pc}{6pc}{\csname @aufig\romannumeral\the\tempcount\endcsname}\vskip2pt}% {\csname @author\romannumeral\the\tempcount\endcsname\par}}%\vskip-2pt {\affilfont\csname @affiliation\romannumeral\the\tempcount\endcsname\par}%\vskip-2pt \ifnum\authorcount>\@ne\ifnum\authorcount>\tw@ \else\vskip13pt \fi\fi% \vskip-2pt \advance\authorcount\m@ne \repeat} % \newbox\tempbox \newdimen\nomenwd \nomenwd\z@ % \newdimen\nomenwd\nomenwd\z@ \newenvironment{nomenclature}[1][\relax]{% \ifx#1\relax\else\setbox\tempbox\hbox{#1}\global\nomenwd\wd\tempbox\fi \section{Nomenclature} % \leftskip1pc\rightskip1pc }{\par\addvspace{.5\baselineskip}} \newcommand\nomenentry[2]{\nomenfont\noindent\@hangfrom{\ifdim\nomenwd>\z@\hbox to\nomenwd{#1\hfill}\else#1\fi\hskip8pt}{\nomenfont#2\par}} % \newcommand\nomensection[1]{\vskip6pt\noindent{\it#1}\vskip6pt} % \setcounter{secnumdepth}{0} \newcounter {part} \newcounter {section} \newcounter {subsection}[section] \newcounter {subsubsection}[subsection] \newcounter {paragraph}[subsubsection] \newcounter {subparagraph}[paragraph] \renewcommand \thepart {\@Roman\c@part} \renewcommand \thesection {\@Roman\c@section.} \renewcommand\thesubsection {\@Alph\c@subsection.} \renewcommand\thesubsubsection{\@arabic\c@subsubsection.} \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph} \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph} \newcommand\section{\@startsection {section}{1}{\z@}% {3.5ex \@plus 1ex \@minus .2ex}% {12pt}% {\sectionfont\centering}} \newcommand\subsection{\@startsection{subsection}{2}{\z@}% {3.25ex\@plus 1ex \@minus .2ex}% {12pt}% {\subsectionfont}} \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% {3.25ex\@plus 1ex \@minus .2ex}% {12pt}% {\subsubsectionfont}} \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {3.25ex \@plus1ex \@minus.2ex}% {-1em}% {\paragraphfont}} \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% {3.25ex \@plus1ex \@minus ..2ex}% {-1em}% {\normalfont\normalsize\bfseries}} % \def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth \let\@svsec\@empty \else \refstepcounter{#1}% \protected@edef\@svsec{\@seccntformat{#1}\relax}% \fi \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup #6{% \@hangfrom{\hskip #3\relax\@svsec}% \interlinepenalty \@M \ifnum#2=1{#8}\else#8\fi\@@par}%\MakeUppercase \endgroup \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% \ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}% \fi #7}% \else \def\@svsechd{% #6{\hskip #3\relax \@svsec \ifnum#2=3#8\else#8\fi}% \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% \ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}% \fi #7}}% \fi \@xsect{#5}} % \if@twocolumn \setlength\leftmargini {2em} \else \setlength\leftmargini {2.5em} \fi \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 \setlength \labelsep {.5em} \setlength \labelwidth{\leftmargini} \addtolength\labelwidth{-\labelsep} \@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty -\@lowpenalty \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\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel}} {\endlist} \newcommand*\descriptionlabel[1]{\hspace\labelsep \normalfont\bfseries #1} \newbox\abstractbox \if@titlepage \newenvironment{abstract}{% \titlepage \null\vfil \@beginparpenalty\@lowpenalty \begin{center}% \bfseries \abstractname \@endparpenalty\@M \end{center}}% {\par\vfil\null\endtitlepage} \else \newenvironment{abstract}{% \if@twocolumn \section*{\abstractname}% \hsize\textwidth% \global\setbox\abstractbox\vbox\bgroup\par\abstractfont\noindent\ignorespaces% \else \section*{\abstractname}% \quotation \fi} {\if@twocolumn\egroup\else\endquotation\fi} \fi \newenvironment{verse} {\let\\\@centercr \list{}{\itemsep \z@ \itemindent -1.5em% \listparindent\itemindent \rightmargin \leftmargin \advance\leftmargin 1.5em}% \item\relax} {\endlist} \newenvironment{quotation} {\abstractfont\list{}{\listparindent 1em% \itemindent \listparindent \rightmargin1pc \leftmargin1pc \parsep \z@ \@plus\p@}% \item\relax} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax} {\endlist} \if@compatibility \newenvironment{titlepage} {% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse\newpage \fi \thispagestyle{empty}% \setcounter{page}\z@ }% {\if@restonecol\twocolumn \else \newpage \fi } \else \newenvironment{titlepage} {% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse\newpage \fi \thispagestyle{empty}% \setcounter{page}\@ne }% {\if@restonecol\twocolumn \else \newpage \fi \if@twoside\else \setcounter{page}\@ne \fi } \fi \newcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \renewcommand\thesection{\@Alph\c@section}} \setlength\arraycolsep {1.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@} \renewcommand \theequation {\@arabic\c@equation} \newcounter{figure} \renewcommand \thefigure {\@arabic\c@figure} \def\fps@figure{tbp} \def\ftype@figure{1} \def\ext@figure{lof} \def\fnum@figure{\figurename~\thefigure} \newenvironment{figure} {\@float{figure}} {\end@float} \newenvironment{figure*} {\@dblfloat{figure}} {\end@dblfloat} \newcounter{table} \renewcommand\thetable{\@arabic\c@table} \def\fps@table{tbp} \def\ftype@table{2} \def\ext@table{lot} \def\fnum@table{\tablename~\thetable} \newenvironment{table} {\@float{table}} {\end@float} \newenvironment{table*} {\@dblfloat{table}} {\end@dblfloat} \newlength\abovecaptionskip \newlength\belowcaptionskip \setlength\abovecaptionskip{10\p@} \setlength\belowcaptionskip{\z@} % \def\FigName{figure} \long\def\@makecaption#1#2{% \ifx\FigName\@captype \setbox\tempbox\hbox{\figcaptionnumfont{#1}\ #2}% \vskip\abovecaptionskip% \ifdim\wd\tempbox>\hsize% {\figcaptionfont{\figcaptionnumfont#1}\ #2\par}% \else% {\figcaptionfont\centering{\figcaptionnumfont#1}\ #2\par}% \fi% \else% \setbox\tempbox\hbox{\Tablecaptionfont\noindent{\Tablecaptionfont#1.}\hskip1em#2} % \ifdim\wd\tempbox>\tblwidth% % {\tablecaptionfont\noindent{\tablecaptionnumfont#1.}\hskip1em% % #2\vphantom{y}\par}% % \else% {\Tablecaptionfont\centering\noindent{\tablecaptionnumfont#1.}\hskip1em% #2\vphantom{y}\par}% % \fi% \vskip\belowcaptionskip% \fi% }% \newskip\tabnoteleftskip \newskip\tabnoterightskip \newdimen\tabledim \newskip\tableleftskip \newskip\tablerightskip \newdimen\tablewidth \newdimen\tblwidth \def\TCH#1{{\TCHfont#1}} \newcommand\tbl[2]{% \setbox\tempbox\hbox{\tablefont#2}% \tablewidth\wd\tempbox \global\tblwidth\wd\tempbox \tabledim\hsize \advance\tabledim-\wd\tempbox \divide\tabledim\tw@ \global\tableleftskip\tabledim% plus1fill \global\tablerightskip\tabledim% plus1fill \global\tabnoteleftskip\tabledim \global\tabnoterightskip\tabledim \caption{#1}% \centerline{\box\tempbox} }% \newif\iffirsttabnote \global\firsttabnotetrue \newcommand\tabnote[1]{\par% \iffirsttabnote\vskip3pt\fi% \leftskip\tabnoteleftskip\rightskip\tabnoterightskip \footnotesize#1\par\global\firsttabnotefalse} % \def\endarray{\crcr\egroup\egroup} \def\endtabular{\crcr\egroup\egroup $\egroup\hfill} \expandafter \let \csname endtabular*\endcsname = \endtabular \def\tabular{\let\@halignto\@empty\@tabular} \@namedef{tabular*}#1{\def\@halignto{to#1}\@tabular} \def\@tabular{\leavevmode\hfill \hbox \bgroup $\let\@acol\@tabacol \let\@classz\@tabclassz \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} \def\@tabarray{\m@th\@ifnextchar[\@array{\@array[c]}} \def\@array[#1]#2{% \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi \bgroup \setbox\@arstrutbox\hbox{% \vrule \@height\arraystretch\ht\strutbox \@depth\arraystretch \dp\strutbox \@width\z@}% \@mkpream{#2}% \edef\@preamble{% \ialign \noexpand\@halignto \bgroup \@arstrut \@preamble \tabskip\z@skip \cr}% \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox \let\tabularnewline\\% \let\par\@empty \let\@sharp##% \set@typeset@protect \lineskip\z@skip\baselineskip\z@skip \@preamble} %% \def\x{@{\extracolsep{\fill}}} \newcommand\toprule{\\[-13pt]\hline\hline\\[-4.8\p@]}% \newcommand\colrule{\\[-8.2\p@]\hline\\[-4.8\p@]} \newcommand\botrule{\\[-7.2\p@]\hline\hline\\[-17pt]} \newcommand\crule[1]{\\[-8.4\p@]#1\\[-16.5\p@]} %% %\newskip\tableleftskip %\newskip\tablerightskip %\newskip\tabnoteleftskip %\newskip\tabnoterightskip %\newdimen\tabledim %\newdimen\tablewidth %% \newcommand\subcaption[1]{{\figcaptionfont#1\par}} % \newdimen\figheight \newdimen\figwidth \def\figurebox#1#2#3{% \global\figheight=#1 \global\figwidth=#2 \edef\@thirdarg{#3} \@ifnextchar[{\figbox}{\figbox[]}} % \def\figbox[#1]{\vskip0pt% \gdef\@arg{#1} \ifx\@arg\empty \dimen99=\figheight \divide\dimen99 by \tw@ \vbox to3pt{\vfill}% \centerline{\vbox{\hrule\hbox to \figwidth{\vrule\hfill\vbox to \figheight{% \hbox to \figwidth{\hfill{\vrule height\dimen99 width0pt{\@thirdarg\%}}\hfill}\vfill}\hskip-.8pt\vrule}\hrule}} \else \vbox to3pt{\vfill}% \centerline{\vbox{% \ifx\@thirdarg\empty\def\@thirdarg{1000}\fi \epsfscale=\@thirdarg\epsfbox{\ArtDir#1}}} \fi} %\input epsf.sty \def\ArtDir{}% % \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}{3} \newcommand\tableofcontents{% \section*{\contentsname \@mkboth{% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% \@starttoc{toc}% } \newcommand*\l@part[2]{% \ifnum \c@tocdepth >-2\relax \addpenalty\@secpenalty \addvspace{2.25em \@plus\p@}% \begingroup \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@}% \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 \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\listoffigures{\clearpage\pagestyle{empty}% \section{\listfigurename % \@mkboth{\MakeUppercase\listfigurename}% % {\MakeUppercase\listfigurename} }% \@starttoc{lof}% \clearpage} \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \newcommand\listoftables{\pagestyle{empty}% \section{\listtablename % \@mkboth{% % \MakeUppercase\listtablename}{\MakeUppercase\listtablename} }% \@starttoc{lot}% \clearpage} % \newdimen\mathindent \mathindent\z@ \newenvironment{fleqnarray}{\arraycolsep0pt% \stepcounter{equation}% \def\@currentlabel{\p@equation\theequation}% \global\@eqnswtrue\m@th \global\@eqcnt\z@ \tabskip\mathindent \let\\=\@eqncr \setlength\abovedisplayskip{\topsep}% \ifvmode \addtolength\abovedisplayskip{\partopsep}% \fi \addtolength\abovedisplayskip{\parskip}% \setlength\belowdisplayskip{\abovedisplayskip}% \setlength\belowdisplayshortskip{\abovedisplayskip}% \setlength\abovedisplayshortskip{\abovedisplayskip}% $$\everycr{}\halign to\linewidth% $$ \bgroup \hskip\@centering $\displaystyle\tabskip\z@skip{##}$\@eqnsel&% \global\@eqcnt\@ne \hskip \tw@\arraycolsep \hfil${##}$\hfil&% \global\@eqcnt\tw@ \hskip \tw@\arraycolsep $\displaystyle{##}$\hfil \tabskip\@centering&% \global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup\tabskip\z@skip\cr}% {\@@eqncr \egroup \global\advance\c@equation\m@ne$$% $$ \@ignoretrue } % \let\l@table\l@figure \newdimen\bibindent % \def\thebibliography#1{\section{{\refname}}\vskip1pt\list {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin0pt \itemindent22pt \itemsep-4pt\labelsep0pt \usecounter{enumiv}% \let\p@enumiv\@empty \def\theenumiv{\arabic{enumiv}}}% \def\newblock{\hskip .11em plus.33em minus.07em}% \sloppy\clubpenalty4000\widowpenalty4000\bibfont \sfcode`\.=1000\relax} \def\endthebibliography{% \def\@noitemerr{\@warning{Empty `thebibliography' environment}}% \endlist} % \def\@biblabel#1{$^{#1}$} % \newcommand\newblock{\hskip ..11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty \newenvironment{theindex} {\if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi \columnseprule \z@ \columnsep 35\p@ \twocolumn[\section*{\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\thefootnote{\@fnsymbol\c@footnote} \renewcommand\footnoterule{% \kern7\p@ \hrule\@width8pc height0.5pt \kern2.6\p@} \newcommand\@makefntext[1]{% \parindent 1em% \noindent \hb@xt@1.8em{\hss\@makefnmark}#1} %% Enumerate list for AHS \def\enumerate{\labelwidth0pt\let\list\enumlist% \ifnum \@enumdepth >\thr@@\@toodeep\else \advance\@enumdepth\@ne \edef\@enumctr{enum\romannumeral\the\@enumdepth}% \expandafter \list \csname label\@enumctr\endcsname {\usecounter\@enumctr\def\makelabel##1{%\hss\llap {\hspace*{\labelsep}\hspace*{3pc}##1}}}% AHS list style \fi} \def\enumlist#1#2{% \ifnum \@listdepth >5\relax \@toodeep \else \global\advance\@listdepth\@ne \fi \rightmargin\z@ \listparindent\z@ \itemindent\z@ \csname @list\romannumeral\the\@listdepth\endcsname \def\@itemlabel{#1}% \let\makelabel\@mklab \@nmbrlistfalse #2\relax \@trivlist \parskip\parsep \parindent\listparindent % \advance\linewidth -\rightmargin % \advance\linewidth -\leftmargin % \advance\@totalleftmargin \leftmargin % \parshape \@ne \@totalleftmargin \linewidth \ignorespaces} % %% \newcommand\contentsname{Contents} \newcommand\listfigurename{List of Figures} \newcommand\listtablename{List of Tables} \newcommand\refname{References} \newcommand\indexname{Index} \newcommand\figurename{Fig.} \newcommand\tablename{Table} \newcommand\partname{Part} \newcommand\appendixname{Appendix} \newcommand\abstractname{Abstract} \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{24\p@} \setlength\columnseprule{0\p@} \pagestyle{headings} \pagenumbering{arabic} \if@twoside \else \raggedbottom \fi \if@twocolumn \twocolumn \sloppy \flushbottom \else \onecolumn \fi \usepackage{ifthen} \usepackage{times} %\usepackage[mtbold]{mathtime} \usepackage{bm} \renewcommand{\ttdefault}{cmtt} \usepackage{graphicx}% Include figure files % \endinput %% %% End of file `ahs.cls'. %% %% ========================= %% Update history of ahs.cls %% %% On Date 25th Feb 2007, feedback raised by ``J. Gordon Leishman" %% %% 1) \setlength\@fpsep{\textheight} --> for single float on separate page %% 2) \long\def\@makecaption ---> has been updated for table caption `centering' style. %%