File indexing completed on 2025-01-18 10:18:37
0001 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0002 % BENCH.CLS %
0003 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0004
0005 \NeedsTeXFormat{LaTeX2e}
0006 \LoadClass[11pt]{article}
0007 \ProvidesClass{bench}
0008
0009 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0010 % Making the Title, with definitions for date, abstract etc %
0011 % This part written by David Cassel %
0012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0013
0014 \def\@aabuffer{}
0015 \def\author #1{\expandafter\def\expandafter\@aabuffer\expandafter
0016 {\@aabuffer \small\rm #1\relax \par}}
0017 \def\address#1{\expandafter\def\expandafter\@aabuffer\expandafter
0018 {\@aabuffer \small\it #1\relax
0019 \\
0020 \Photo
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 \par\vspace{1em}}}
0023
0024 \def\maketitle{
0025 \begin{center}
0026 {\bf \@title \par}
0027 \vskip 2em % Vertical space after title.
0028 \@aabuffer\relax
0029 \end{center} \par
0030 \gdef\@aabuffer{}
0031 }
0032
0033 \def\abstracts#1{
0034 \begin{center}
0035 {\begin{minipage}{5.2truein}
0036 \footnotesize
0037 \parindent=0pt #1\par
0038 \end{minipage}}\end{center}
0039 \vskip 2em \par}
0040
0041 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0042 % Margins, textwidths, indentations etc %
0043 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0044
0045 \fussy
0046 \flushbottom
0047 \parindent 0.25in
0048 %\oddsidemargin 4mm
0049 %\evensidemargin 4mm
0050 %\topmargin=0mm
0051 %\headheight=0mm
0052 %\headsep=0mm
0053 %\footskip=5mm
0054 %\textheight = 240mm
0055 %\textwidth = 160mm
0056 %\RequirePackage[a4paper,hmargin=1.5cm,vmargin={1.5cm,1.5cm}]{geometry}
0057 \RequirePackage[a4paper,margin=2.5cm]{geometry}
0058 \RequirePackage[english]{babel}
0059 \RequirePackage{graphicx,url}
0060 \RequirePackage[colorlinks=true,urlcolor=blue,linkcolor=black,citecolor=black]{hyperref}
0061 % for BibTeX - sorted numerical labels by order of first citation.
0062 \bibliographystyle{unsrt}
0063
0064 \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus
0065 -.2ex}{2.3ex plus .2ex}{\bf }}
0066 \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus
0067 -.2ex}{1.5ex plus .2ex}{\it }}
0068
0069 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0070 % alpha footnotes, no running heads and silly citations. %
0071 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0072
0073 \def\thefootnote{\alph{footnote}}
0074 \def\@makefnmark{{$\!^{\@thefnmark}$}}
0075
0076 \pagestyle{empty}
0077
0078
0079 \renewenvironment{thebibliography}[1]
0080 {\begin{list}{\arabic{enumi}.}
0081 {\usecounter{enumi}\setlength{\parsep}{0pt}
0082 \setlength{\itemsep}{0pt}
0083 \settowidth
0084 {\labelwidth}{#1.}\sloppy}}{\end{list}}
0085
0086 %---------------------------------------------------------------------------
0087 %FOLLOWING THREE COMMANDS ARE FOR `LIST
0088 \topsep=0in\parsep=0in\itemsep=0in
0089
0090 \newcounter{arabiclistc}
0091 \newenvironment{arabiclist}
0092 {\setcounter{arabiclistc}{0}
0093 \begin{list}{\arabic{arabiclistc}}
0094 {\usecounter{arabiclistc}
0095 \setlength{\parsep}{0pt}
0096 \setlength{\itemsep}{0pt}}}{\end{list}}
0097
0098 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0099 % ACKNOWLEDGEMENT: this portion is from John Hershberger %
0100 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0101
0102 \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout
0103 {\string\citation{#2}}\fi
0104 \def\@citea{}\@cite{\@for\@citeb:=#2\do
0105 {\@citea\def\@citea{,}\@ifundefined
0106 {b@\@citeb}{{\bf ?}\@warning
0107 {Citation `\@citeb
0108 {\csname b@\@citeb\endcsname}}}{#1}}
0109
0110 \newif\if@cghi
0111 \def\cite{\@cghitrue\@ifnextchar [{\@tempswatrue
0112 \@citex}{\@tempswafalse\@citex[]}}
0113 \def\citelow{\@cghifalse\@ifnextchar [{\@tempswatrue
0114 \@citex}{\@tempswafalse\@citex[]}}
0115 \def\@cite#1#2{{$\!^{#1}$\if@tempswa\typeout
0116 {IJCGA warning: optional citation argument
0117 ignored: `#2
0118 \newcommand{\citeup}{\cite}
0119
0120 \setcounter{secnumdepth}{2}
0121
0122 \def\baselinestretch{1.0}
0123 \ifx\selectfont\undefined
0124 \@normalsize\else\let\glb@currsize=\relax\selectfont
0125 \fi
0126
0127 \ifx\selectfont\undefined
0128 \def\@singlespacing{%
0129 \def\baselinestretch{1}\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
0130 }
0131 \else
0132 \def\@singlespacing{\def\baselinestretch{1}\let\glb@currsize=\relax\selectfont}
0133 \fi
0134
0135 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0136 % Footnote size table and figure captions %
0137 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0138
0139 \long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
0140 ext@#1\endcsname}{#1}{\protect\numberline{\csname
0141 the#1\endcsname}{\ignorespaces #2}}\begingroup
0142 \@parboxrestore
0143 \footnotesize
0144 \expandafter\let\expandafter\@tempa\csname @make#1caption\endcsname
0145 \ifx\@tempa\relax\let\@tempa\@makecaption\fi
0146 \@tempa{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
0147 \endgroup}
0148 %
0149 % Here is the content of a .sty file containing definitions using the above
0150 % hook.
0151 %
0152 % The following is the same as the \@makecaption in book.sty:
0153 \long\def\@makefigurecaption#1#2{%
0154 \vskip 10pt
0155 \setbox\@tempboxa\hbox{#1 -- {\footnotesize #2}}%
0156 \ifdim \wd\@tempboxa >\hsize #1 -- {\footnotesize #2}\par \else
0157 \hbox to\hsize{\hfil\box\@tempboxa\hfil} %
0158 \fi
0159 }
0160 %
0161
0162 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0163 % %
0164 % END OF FILE bench.cls %
0165 % %
0166 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%