arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/my_ijamas.cls	2010-04-01 16:02:09.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/singlecol-new.cls	2012-08-17 10:29:53.764851735 +0200
@@ -1,62 +1,24 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%% This is file `article.cls' changed to
-%% IJAMAS.cls by Delfim F. M. Torres, IJAMAS Editor, January 2006
-%% Last change: 22/February/2006
-%%
-%% THIS FILE MUST NOT BE CHANGED
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% classes.dtx  (with options: `article')
-%%
-%% This is a generated file.
-%%
-%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001
-%% The LaTeX3 Project and any individual authors listed elsewhere
-%% in this file.
-%%
-%% This file was generated from file(s) of the LaTeX base system.
-%% --------------------------------------------------------------
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.2
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%%    http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
-%% version 1999/12/01 or later.
-%%
-%% This file may only be distributed together with a copy of the LaTeX
-%% base system. You may however distribute the LaTeX base system without
-%% such generated files.
-%%
-%% The list of all files belonging to the LaTeX base distribution is
-%% given in the file `manifest.txt'. See also `legal.txt' for additional
-%% information.
-%%
-%% \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}[1995/12/01]
-\ProvidesClass{ijamas}
-              [2001/04/21 v1.4e
+\ProvidesClass{singlecol}
+              [1998/05/05 v1.3y
  Standard LaTeX document class]
+
+%\def\clsdir{C:/Inderscience/IJBRA-sample}
+\RequirePackage{epsf,ifthen,dcolumn,graphics,leqno,calc,lastpage,color,endnotes}
+
+\usepackage{amsmath,amsfonts,amssymb,bm,latexsym}
+
+%\usepackage[LY1]{fontenc}
+%
+%\edef\@tempa{\rmdefault}
+%\def\@tempb {cmr}
+%\ifx\@tempa\@tempb
+%  \renewcommand*\sfdefault{phv}
+%  \renewcommand*\rmdefault{ptm}
+%  \renewcommand*\ttdefault{pcr}
+%  \renewcommand*\bfdefault{b}
+%\fi
+
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
@@ -78,8 +40,8 @@
    {\setlength\paperheight {14in}%
     \setlength\paperwidth  {8.5in}}
 \DeclareOption{executivepaper}
-   {\setlength\paperheight {10.5in}%
-    \setlength\paperwidth  {7.25in}}
+   {\setlength\paperheight {9.5in}%
+    \setlength\paperwidth  {6.5in}}
 \DeclareOption{landscape}
    {\setlength\@tempdima   {\paperheight}%
     \setlength\paperheight {\paperwidth}%
@@ -96,10 +58,22 @@
 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
 \fi
 \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
-\DeclareOption{draft}{\setlength\overfullrule{5pt}}
-\if@compatibility\else
-\DeclareOption{final}{\setlength\overfullrule{0pt}}
-\fi
+\DeclareOption{draft}{\setlength\overfullrule{5pt}%
+  \AtBeginDocument{\PagePositionCropNo
+    {7pc}{5.3pc}{5.9pc}{7pt}
+    {7in}{10in}{-1in}{-1in}}}
+\DeclareOption{boxdraft}{\setlength\overfullrule{5pt}%
+  \AtBeginDocument{\PagePositionBoxNo
+    {7pc}{5.3pc}{5.9pc}{7pt}
+    {7in}{10in}{-1in}{-1in}}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}%
+  \AtBeginDocument{\PagePositionCropNo
+    {4pc}{4pc}{3.77pc}{7pt}
+    {6.3in}{9.4in}{0in}{0in}}}
+\DeclareOption{finalcro}{\setlength\overfullrule{0pt}%
+  \AtBeginDocument{\PagePositionCropNo
+    {7pc}{5.3pc}{5.9pc}{7pt}
+    {7in}{10in}{-1in}{-1in}}}
 \DeclareOption{titlepage}{\@titlepagetrue}
 \if@compatibility\else
 \DeclareOption{notitlepage}{\@titlepagefalse}
@@ -116,11 +90,11 @@
       \advance\leftmargin\bibindent
       \itemindent -\bibindent
       \listparindent \itemindent
-      \parsep 0 em%  \z@
+      \parsep \z@
       }%
    \renewcommand\newblock{\par}}%
 }
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
+\ExecuteOptions{letterpaper,10pt,twoside,onecolumn,final}
 \ProcessOptions
 \input{size1\@ptsize.clo}
 \setlength\lineskip{1\p@}
@@ -140,130 +114,826 @@
 \setcounter{dbltopnumber}{2}
 \renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.5}
-\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\sectionmark##1{%
-      \markboth {\MakeUppercase{%
-        \ifnum \c@secnumdepth >\z@
-          \thesection\quad
-        \fi
-        ##1}}{}}%
-    \def\subsectionmark##1{%
-      \markright {%
-        \ifnum \c@secnumdepth >\@ne
-          \thesubsection\quad
-        \fi
-        ##1}}}
-\else
-  \def\ps@headings{%
-    \let\@oddfoot\@empty
-    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
-    \let\@mkboth\markboth
-    \def\sectionmark##1{%
-      \markright {\MakeUppercase{%
-        \ifnum \c@secnumdepth >\m@ne
-          \thesection\quad
-        \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\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}%
-    {\@title \par}%
-    \vskip 3em%
-    {\large
-     \lineskip .75em%
-      \begin{tabular}[t]{c}%
-        \@author
-      \end{tabular}\par}%
-      \vskip 1.5em%
-    {\large \@date \par}%       % Set date in \large size.
-  \end{center}\par
-  \@thanks
-  \vfil\null
-  \end{titlepage}%
-  \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
+
+\def\SEVEN{\fontsize{7}{9}\selectfont}
+\def\EGT{\fontsize{8}{10}\selectfont}
+\def\NINE{\fontsize{9}{10}\selectfont}
+\def\TEN{\fontsize{10}{12}\selectfont}
+\def\ELEVEN{\fontsize{11}{13}\selectfont}
+\def\TWELVE{\fontsize{12}{14}\selectfont}
+\def\THIRTEEN{\fontsize{13}{15}\selectfont}
+\def\FOURTEEN{\fontsize{14}{16}\selectfont}
+\def\SIXTEEN{\fontsize{16}{22}\selectfont}
+
+\newdimen\markwidth
+\newdimen\blth
+\newdimen\marklength
+\newdimen\markdistance
+\newdimen\trimwidth
+\newdimen\trimheight
+\newdimen\auxaaa
+\newdimen\auxbbb
+\newdimen\auxccc
+\newdimen\auxddd
+
+\newcolumntype{d}[1]{D{.}{.}{#1}}
+
+\long\def\koo#1#2#3{\vbox to0pt{\hsize0pt\kern #2\hbox to0pt{\kern
+#1{#3}\hss}\vss}}
+\long\def\zeroCC#1{\vbox to0pt{\vss\hbox to0pt{\hss #1\hss}\vss}}
+\long\def\zeroLC#1{\vbox to0pt{\vss\hbox to0pt{\hss #1\hss}}}
+\long\def\zeroUC#1{\vbox to0pt{\hbox to0pt{\hss #1\hss}\vss}}
+\long\def\zeroLR#1{\vbox to0pt{\vss\hbox to0pt{\hss #1}}}
+\long\def\zeroLL#1{\vbox to0pt{\vss\hbox to0pt{#1\hss}}}
+\long\def\zeroUR#1{\vbox to0pt{\hbox to0pt{\hss #1}\vss}}
+\long\def\zeroUL#1{\vbox to0pt{\hbox to0pt{#1\hss}\vss}}
+\long\def\zeroCL#1{\vbox to0pt{\vss\hbox to0pt{#1\hss}\vss}}
+\long\def\zeroCR#1{\vbox to0pt{\vss\hbox to0pt{\hss #1}\vss}}
+
+%%%%%%%%%%%%%%%%%%% Numbers supplied down here!
+\markwidth=.5pt %0.4 truept % Thickness of the mark line
+\blth=0.2pt
+\marklength=20 truept % Length of the mark line
+\markdistance=3 truept % Distance of the real corner to the beg. of the mark
+%%% \trimwidth=\textwidth+\oddsidemargin+\evensidemargin
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\auxaaa\marklength\advance\auxaaa\markdistance
+\def\oddevenswitch{\ifodd\c@page \auxbbb=\oddsidemargin
+ \else\auxbbb=\evensidemargin\fi}%
+
+%%% First reset all page position parameters depending on the job:
+% \PagePositionCropYes - should be just for testing
+% \PagePositionCropNo  - should be the default behavior
+% \PagePositionBoxYes  - gives the page box for testing
+
+\def\PagePositionCropYes#1#2#3#4#5#6#7#8{%
+  \oddsidemargin=#1%  % [3] inner margin / gutter
+  \evensidemargin=#2% % [4] outside margin
+  \topmargin=#3%      % [5] \rhsink = \topmargin + \headheight (=12pt here)
+  \headheight=#4%     % [6] VERY IMPORTANT! (see above)
+  \trimwidth=#5%      % [7]
+  \trimheight=#6%     % [8]
+  \hoffset=#7%        % = -1in to move the area in the upper left corner
+  \voffset=#8%        % = -1in to move the area in the upper left corner
+%%%
+ \def\CROPMARKS{\oddevenswitch
+ \hbox to0pt{\kern-\auxbbb
+   \vbox to0bp{\kern-\topmargin\kern-\headheight
+   \hbox to\trimwidth{%
+     \koo{-\auxaaa}{-\markwidth}{\VRHDW{\markwidth}{0pt}{\marklength}}%
+     \koo{-\markwidth}{-\auxaaa}{\VRHDW{0pt}{\marklength}{\markwidth}}%
+     \hfill
+     \koo{\markdistance}{-\markwidth}{\VRHDW{\markwidth}{0pt}{\marklength}}%
+     \koo{0pt}{-\auxaaa}{\VRHDW{0pt}{\marklength}{\markwidth}}}%
+   \nointerlineskip\vskip\trimheight
+   \nointerlineskip
+   \hbox to\trimwidth{%
+     \koo{-\auxaaa}{0pt}{\VRHDW{0pt}{\markwidth}{\marklength}}%
+     \koo{-\markwidth}{\markdistance}{\VRHDW{0pt}{\marklength}{\markwidth}}%
+     \hfill
+     \koo{\markdistance}{0pt}{\VRHDW{0pt}{\markwidth}{\marklength}}%
+     \koo{0pt}{\markdistance}{\VRHDW{0pt}{\marklength}{\markwidth}}}%
+   \vss}\hss}}%
+}%
+
+\def\PagePositionCropNo#1#2#3#4#5#6#7#8{%
+  \oddsidemargin=#1%  % [3] inner margin / gutter
+  \evensidemargin=#2% % [4] outside margin
+  \topmargin=#3%      % [5] \rhsink = \topmargin + \headheight (=12pt here)
+  \headheight=#4%     % [6] VERY IMPORTANT! (see above)
+  \trimwidth=#5%      % [7]
+  \trimheight=#6%     % [8]
+  \hoffset=#7%        % = -1in to move the area in the upper left corner
+  \voffset=#8%        % = -1in to move the area in the upper left corner
+%%%
+\def\CROPMARKS{}%
+}%
+
+\def\PagePositionBoxYes#1#2#3#4#5#6#7#8{%
+  \oddsidemargin=#1%  % [3] inner margin / gutter
+  \evensidemargin=#2% % [4] outside margin
+  \topmargin=#3%      % [5] \rhsink = \topmargin + \headheight (=12pt here)
+  \headheight=#4%     % [6] VERY IMPORTANT! (see above)
+  \trimwidth=#5%      % [7]
+  \trimheight=#6%     % [8]
+  \hoffset=#7%        % = -1in to move the area in the upper left corner
+  \voffset=#8%        % = -1in to move the area in the upper left corner
+%%%
+ \def\CROPMARKS{\oddevenswitch
+ \hbox to0pt{\kern-\auxbbb
+   \vbox to0bp{\kern-\topmargin\kern-\headheight
+   \hbox to\trimwidth{%
+     \auxccc=\trimwidth \advance\auxccc by 2\blth
+     \auxddd=\trimheight \advance\auxddd by 2\blth
+     \koo{-\blth}{0pt}{\zeroLL{\VRHDW{\blth}{0pt}{\auxccc}}}%
+     \koo{-\blth}{-\blth}{\zeroUL{\VRHDW{\auxddd}{0pt}{\blth}}}%
+     \koo{\trimwidth}{-\blth}{\zeroUL{\VRHDW{\auxddd}{0pt}{\blth}}}%
+     \koo{-\blth}{\trimheight}{\zeroUL{\VRHDW{\blth}{0pt}{\auxccc}}}\hss}%
+   \vss}\hss}}%
+}%
+
+\def\LRH#1{\gdef\setLRH{#1}}\def\setLRH{}%
+\def\RRH#1{\gdef\setRRH{#1}}\def\setRRH{}%
+
+\LRH{author}
+\RRH{short title}
+
+\def\ps@headings{\let\@mkboth\markboth
+  \def\@oddfoot{\setoddFOOT}%
+  \def\@evenfoot{\setevenFOOT}%
+  \def\@evenhead{\setevenRH}%
+  \def\@oddhead{\setoddRH}%
+  \def\sectionmark##1{}%
+  \def\subsectionmark##1{}}%
+
+%%%%%%%%%%%%%%%%%%% Standard settings:
+
+\def\setoddRH{\VRHDW{\headheight}{0pt}{0pt}\CROPMARKS%
+  \raisebox{0pt}[\headheight][0pt]{%
+%    \marginnumbering
+    \begin{tabular}{@{}c@{}}\\[-42pt]%
+%    \TEN\hskip -1pt\today\\[27pt]%
+  \hbox to \textwidth{\hspace*{0pt}{\TEN\it\spaceskip0.41em\setRRH}\hfill{\TEN\thepage}}
+    \end{tabular}
+  }}%
+
+% \def\Stamp#1{\gdef\theStamp{#1}}%
+% \Stamp{Please enter the STAMP VALUE}%
+
+\def\setevenRH{\VRHDW{\headheight}{0pt}{0pt}\CROPMARKS%
+  \raisebox{0pt}[\headheight][0pt]{%
+% \marginnumbering
+  \begin{tabular}{@{}c@{}}\\[-42pt]%
+%    \TEN\hskip -1pt\today \\[30pt]%
+  \hbox to \textwidth{\spaceskip0.41em{\TEN\thepage}\hfill\TEN\it%
+  \setLRH}%
+    \end{tabular}
+  }}%
+
+\def\setevenFOOT{\hfil}
+\def\setoddFOOT{\hfil}
+
+\let\savesetevenRH=\setevenRH
+\let\savesetoddRH=\setoddRH
+\let\savesetoddFOOT=\setoddFOOT
+\let\savesetevenFOOT=\setevenFOOT
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\ps@plain
+\def\ps@plain{\let\@mkboth\@gobbletwo
+     \def\@oddhead{\hfil}%
+     \let\@evenhead=\@oddhead
+     \def\@oddfoot{\hfil}%
+     \def\@evenfoot{\hfil}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\ps@empty
+\def\ps@empty{\let\@mkboth\@gobbletwo
+     \def\@oddhead{\hfil}%
+     \let\@evenhead=\@oddhead
+     \def\@oddfoot{\hfil}%
+     \let\@evenfoot=\@oddfoot}
+
+\def\jname{ETC}
+
+\def\boxtext{\begin{tabular}{l}
+\\[-190pt]
+\hbox to \textwidth{\hfill{\parbox{16pc}
+    {\EGT
+    \begin{tabular}{c}
+    \jname\ \artname\quad Pe:\ \penumber/LE/CP/DISK (LaTeX)\\
+   \today\quad \printtime\quad Ist Proof
+    \end{tabular}
 }
-\else
+}\enskip}
+\end{tabular}}
+
+\def\DS{\displaystyle}
+
+\def\KLUWERLOGO{\epsffile[0 0 16 18]{aglogo3.eps}}%
+
+\def\setfirstoddFOOT{\hfil}
+\def\setfirstevenFOOT{\hfil}
+
+\def\JOURNALNAME#1{\gdef\theJOURNALNAME{#1}}%
+\def\VOL#1{\gdef\theVOL{#1}}%
+\VOL{0}%
+\def\PAGES#1{\gdef\thePAGES{#1}}%
+\PAGES{\thepage--\pageref{LastPage}}%
+\def\PUBYEAR#1{\gdef\thePUBYEAR{#1}}%
+\PUBYEAR{2004}%
+\def\ISSUE#1{\gdef\theISSUE{#1}}%
+\ISSUE{00}%
+
+\JOURNALNAME{\TEN{\it Int. J. Data Mining and Bioinformatics, Vol.
+\theVOL, No. \theISSUE, \thePAGES}\hfill \thepage}%
+\def\jtitlefont{\fontsize{16}{22}\selectfont\rm}
+
+\def\Dnum#1{\gdef\theDnum{#1}}%
+\Dnum{Please enter the Dekker No}%
+
+\def\CLline{{\CROPMARKS\vskip -36pt \fontsize{9}{12}\selectfont
+\TEN\hskip -1pt\\
+\NINE{\theJOURNALNAME\\[9pt]
+%Vol. \theVOL, Nos. \theISSUE, pp. \thePAGES, \thePUBYEAR}
+}\endgraf}\vspace*{38pt}}%
+
+\def\BottomCatch{%
+\vskip -10pt
+\thispagestyle{empty}%
+\begin{table}[b]%
+\NINE\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcr@{}}%
+\\[-12pt]
+Copyright \copyright\ 2009 Inderscience Enterprises Ltd. & &%
+\end{tabular*}%
+\vskip -35pt%
+\end{table}%
+}%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%SSS
+%%%%%% \Trivlist, \TRivlist, \Center, \Flushleft, \Flushright
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\Trivlist{\parskip0pt\topsep=0pt\parsep0pt\partopsep0pt\@nmbrlistfalse
+  \@trivlist \labelwidth\z@ \leftmargin\z@
+  \itemindent\z@ \def\makelabel##1{##1}}
+
+\def\endTrivlist{\if@newlist\@noitemerr\fi
+   \if@inlabel\indent\fi
+   \ifhmode\unskip \par\fi
+   \if@noparlist \else
+      \ifdim\lastskip >\z@ \@tempskipa\lastskip \vskip -\lastskip
+         \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip
+         \vskip\@tempskipa
+   \fi\@endparenv\fi}
+
+\def\TRivlist{\parskip0pt\topsep=12pt plus 5pt minus 5pt
+  \parsep0pt\partopsep0pt\@nmbrlistfalse
+  \@trivlist \labelwidth\z@
+  \leftmargin 0pt \rightmargin 0pt
+  \itemindent\z@ \def\makelabel##1{##1}}
+
+\def\endTRivlist{\if@newlist\@noitemerr\fi
+   \if@inlabel\indent\fi
+   \ifhmode\unskip \par\fi
+   \if@noparlist \else
+      \ifdim\lastskip >\z@ \@tempskipa\lastskip \vskip -\lastskip
+         \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip
+         \vskip\@tempskipa
+   \fi\@endparenv\fi}
+
+\def\Center{\Trivlist \centering\item[]}
+\let\endCenter=\endTrivlist
+\def\Flushleft{\Trivlist \raggedright\item[]}
+\let\endFlushleft=\endTrivlist
+\def\Flushright{\Trivlist \raggedleft\item[]}
+\let\endFlushright=\endTrivlist
+
+\newcommand{\up}{\HD{12}{0}}% for tables
+\newcommand{\down}{\HD{6}{6}}%
+
+%%%%%%%%%%koo.sty
+\def\VRHDW#1#2#3{\vrule height #1 depth #2 width #3}
+\def\HRHDW#1#2#3{\hrule height #1 depth #2 width #3}
+\def\HD#1#2{\vrule height #1pt depth #2pt width 0pt\relax}
+\def\halmos{\VRHDW{8pt}{0pt}{4pt}}%
+
+\newcommand\abstractname{\NINE Abstract:}
+%\newcommand\keywordname{Keywords:\null}
+
+\newbox\t@abstract
+\newbox\t@receivedname
+\newbox\temptbox
+\newdimen\tempdime
+
+\def\authorA#1{\gdef\@authorA{\bf #1}}%{\authfont #1}}
+\def\authorB#1{\gdef\@authorB{\bf #1}}%{\authfont #1}}
+\def\authorC#1{\gdef\@authorC{\bf #1}}%{\authfont #1}}
+\def\authorD#1{\gdef\@authorD{\bf #1}}%{\authfont #1}}
+\def\authorE#1{\gdef\@authorE{\bf #1}}%{\authfont #1}}
+\def\authorF#1{\gdef\@authorF{\bf #1}}%{\authfont #1}}
+\def\authorG#1{\gdef\@authorG{\bf #1}}%{\authfont #1}}
+
+\def\affA#1{\gdef\@affA{\TEN #1}}
+\def\affB#1{\gdef\@affB{\TEN #1}}
+\def\affC#1{\gdef\@affC{\TEN #1}}
+\def\affD#1{\gdef\@affD{\TEN #1}}
+\def\affE#1{\gdef\@affE{\TEN #1}}
+\def\affF#1{\gdef\@affF{\TEN #1}}
+\def\affG#1{\gdef\@affG{\TEN #1}}
+
+\def\HISTORY#1{\gdef\@HISTORY{\NINE #1}}
+\def\ADDITIONAL#1{\gdef\@ADDITIONAL{\NINE #1}}
+\def\PRESENTED#1{\gdef\@PRESENTED{\NINE #1}}
+\def\DEDICATED#1{\gdef\@DEDICATED{{\TWELVE\it #1}}}
+
+\def\REF#1{\gdef\@REF{\NINE #1}}
+\def\BIO#1{\gdef\@BIO{\NINE #1}}
+\def\JEL#1{\gdef\@JEL{\NINE #1}}
+\def\PACS#1{\gdef\@PACS{\NINE #1}}
+\def\KEYWORD#1{\gdef\@KEYWORD{\NINE #1}}
+
+%%
+\def\sechead#1{\def\@sechead{#1}}
+\def\docHeading#1{\def\@docHeading{#1}}
+\def\subtitle#1{\def\@subtitle{\uppercase{#1}}}
+
+\def\address#1{\def\@address{#1}}
+\def\Date#1{\def\@Date{Accepted~#1}}
+\def\abstract{\@ifnextchar[{\@abstract}{\@abstract[]}}
+
+\def\@abstract[#1]{%
+  \global\setbox\t@abstract=\vbox\bgroup%
+    \parindent10pt\leftskip 3pc\rightskip 3pc%
+    \noindent{\bf\TEN \abstractname}\ %\vskip 12.8pt
+    \noindent\NINE%
+    \ignorespaces}%
+\def\endabstract{\egroup}
+
+\newcommand\bioname{\NINE Biographical notes:}
+\newbox\t@bio
+\def\bio{\@ifnextchar[{\@bio}{\@bio[]}}
+\def\@bio[#1]{%
+  \global\setbox\t@bio=\vbox\bgroup%
+    \parindent10pt\leftskip 3pc\rightskip 3pc%
+    \noindent{\bf\TEN \bioname}\ %\vskip 12.8pt
+    \noindent\NINE%
+    \ignorespaces}%
+\def\endbio{\egroup}
+
+%\font\titfont=ARIALBD at 14pt
+%\font\authfont=ARIAL at 14pt
+
+\font\sy=cmsy10 at 10pt
+\def\eucalA{\sy\mbox{\char"41}}
+\def\eucalB{\sy\mbox{\char"42}}
+\def\eucalC{\sy\mbox{\char"43}}
+\def\eucalD{\sy\mbox{\char"44}}
+\def\eucalE{\sy\mbox{\char"45}}
+\def\eucalF{\sy\mbox{\char"46}}
+\def\eucalG{\sy\mbox{\char"47}}
+\def\eucalH{\sy\mbox{\char"48}}
+\def\eucalI{\sy\mbox{\char"49}}
+\def\eucalJ{\sy\mbox{\char"4A}}
+\def\eucalK{\sy\mbox{\char"4B}}
+\def\eucalL{\sy\mbox{\char"4C}}
+\def\eucalM{\sy\mbox{\char"4D}}
+\def\eucalN{\sy\mbox{\char"4E}}
+\def\eucalO{\sy\mbox{\char"4F}}
+\def\eucalP{\sy\mbox{\char"50}}
+\def\eucalQ{\sy\mbox{\char"51}}
+\def\eucalR{\sy\mbox{\char"52}}
+\def\eucalS{\sy\mbox{\char"53}}
+\def\eucalT{\sy\mbox{\char"54}}
+\def\eucalu{\sy\mbox{\char"55}}
+\def\eucalV{\sy\mbox{\char"56}}
+\def\eucalW{\sy\mbox{\char"57}}
+\def\eucalX{\sy\mbox{\char"58}}
+\def\eucalY{\sy\mbox{\char"59}}
+\def\eucalZ{\sy\mbox{\char"5A}}
+
+
+\def\eucalT{\sy\mbox{\char"4D}}
+\def\eucalY{\sy\mbox{\char"59}}
+
+
 \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
+      \gdef\thefootnote{\alph{footnote}}
+    \def\@makefnmark{\hbox
+    to 0pt{$^{\@thefnmark}$\hss}}
+    \long\def\@makefntext##1{\noindent
+      \ifnum\c@footnote=1\hbox{*\,}\else
+      \hbox{\@textsuperscript{\normalfont\@thefnmark}\,}\fi
+      \foot ##1}%
+%      \ifnum \col@number=\@ne
+%        \@maketitle
+%      \else
         \@maketitle
-      \else
-        \twocolumn[\@maketitle]%
-      \fi
-    \else
-      \newpage
-      \global\@topnum\z@   % Prevents figures from going at top of page.
-      \@maketitle
-    \fi
-    \@thanks%\thispagestyle{plain}\@thanks
+%          \twocolumn[\@maketitle]%
+%      \fi
+%      \thispagestyle{firstpage}
+  \@thanks
   \endgroup
   \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
+  \global\let\maketitle\relax\global\let\@maketitle\relax
 }
+
+\long\gdef\ARTICLEOPENING#1{\long\gdef\@maketitle{#1}}%
+\ARTICLEOPENING{}%
+
+%FFF
 \def\@maketitle{%
-  \newpage
-  \null
-  \vskip 2em%
-  \begin{center}%
-  \let \footnote \thanks
-    {\fontsize{16pt}{15pt}\selectfont \bf \@title \par}%
-    \vskip 1.5em%
-    {\large
-      \lineskip .5em%
-      \begin{tabular}[t]{c}%
-        \@author
-      \end{tabular}\par}%
-    \vskip 1em%
-    {\large \@date}%
-  \end{center}%
-  \par
-  \vskip 1.5em}
-\fi
+%  \begin{Center}%
+    \ifx\@subtitle\undefined%
+    \else%
+        \begin{Flushleft}%
+            \TEN\vskip -65pt  \HD{0}{3}\@subtitle%
+        \end{Flushleft}%
+     \fi%
+    \let \footnote \thanks%
+      {%
+    \ifx\@docHeading\undefined\else{\@docHeading\par}\fi%
+       \hyphenpenalty 10000%
+        \begin{Flushleft}
+        \rule{30pc}{1.5pt}\\%[1pt]
+        \rightskip 2pc plus 20pc
+        \baselineskip16pt plus .2pt minus .2pt
+        \bfseries%
+         \HD{14}{0}\FOURTEEN%\titfont
+         {\bf \@title}\\[-8pt]
+         \rule{30pc}{1.5pt}\HD{10}{6}%
+         \end{Flushleft}
+            \par}%
+%%%authorA  %GGG
+    \ifx\@authorA\undefined%
+    \else%
+      \begin{Flushleft}%
+        \baselineskip16pt plus .25pt minus .24pt
+         \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{24}{0}\FOURTEEN\@authorA\HD{0}{0}
+    \end{Flushleft}%
+    \fi\par%
+    \ifx\@affA\undefined%
+    \else
+      \begin{Flushleft}%
+    \HD{18}{0}%
+    \leftskip 3pc plus 0pt  \rightskip 3pc plus 0pt
+    \@affA\HD{0}{12}%
+      \end{Flushleft}%
+          \fi%
+%%%
+    \ifx\@authorB\undefined%
+    \else%
+      \begin{Flushleft}%
+    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{16}{0}\FOURTEEN\@authorB\HD{0}{0}
+    \end{Flushleft}
+    \fi%
+    \ifx\@affB\undefined%
+    \else \begin{Flushleft}\HD{22}{0}%
+    \leftskip 3pc plus 0pc  \rightskip 3pc plus 20pc
+    \@affB\HD{0}{12}%
+    \end{Flushleft}%%
+    \fi%
+%%%
+%%%
+    \ifx\@authorC\undefined%
+    \else%
+      \begin{Flushleft}%
+    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{16}{0}\FOURTEEN\@authorC\HD{0}{0}
+    \end{Flushleft}
+    \fi%
+    \ifx\@affC\undefined%
+    \else \begin{Flushleft}\HD{22}{0}%
+    \leftskip 3pc plus 0pc  \rightskip 3pc plus 20pc
+    \@affC\HD{0}{12}%
+    \end{Flushleft}%%
+    \fi%
+%%%
+%%%
+    \ifx\@authorD\undefined%
+    \else%
+      \begin{Flushleft}%
+    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{16}{0}\FOURTEEN\@authorD\HD{0}{0}
+    \end{Flushleft}
+    \fi%
+    \ifx\@affD\undefined%
+    \else \begin{Flushleft}\HD{22}{0}%
+    \leftskip 3pc plus 0pc  \rightskip 3pc plus 20pc
+    \@affD\HD{0}{12}%
+    \end{Flushleft}%%
+    \fi%
+%%%
+    \ifx\@authorE\undefined%
+    \else%
+      \begin{Flushleft}%
+    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{16}{0}\FOURTEEN\@authorE\HD{0}{0}
+    \end{Flushleft}
+    \fi%
+    \ifx\@affE\undefined%
+    \else \begin{Flushleft}\HD{22}{0}%
+    \leftskip 3pc plus 0pc  \rightskip 3pc plus 20pc
+    \@affE\HD{0}{12}%
+    \end{Flushleft}%%
+    \fi%
+%%%
+    \ifx\@authorF\undefined%
+    \else%
+      \begin{Flushleft}%
+    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{16}{0}\FOURTEEN\@authorF\HD{0}{0}
+    \end{Flushleft}
+    \fi%
+    \ifx\@affF\undefined%
+    \else \begin{Flushleft}\HD{22}{0}%
+    \leftskip 3pc plus 0pc  \rightskip 3pc plus 20pc
+    \@affF\HD{0}{12}%
+    \end{Flushleft}%%
+    \fi%
+%%%
+    \ifx\@authorG\undefined%
+    \else%
+      \begin{Flushleft}%
+    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+    \HD{16}{0}\FOURTEEN\@authorG\HD{0}{0}
+    \end{Flushleft}
+    \fi%
+    \ifx\@affG\undefined%
+    \else \begin{Flushleft}\HD{22}{0}%
+    \leftskip 3pc plus 0pc  \rightskip 3pc plus 20pc
+    \@affG\HD{0}{12}%
+    \end{Flushleft}%%
+    \fi%
+%%%
+    \ifx\@Date\undefined\else{\footnotesize%
+    \@Date%
+    \par}\vskip24pt\fi%
+    \HD{3}{0}%
+    \ifx\@ADDITIONAL\undefined%
+    \else%
+        \@ADDITIONAL \HD{0}{20}\par%
+    \fi%
+    \ifx\@PRESENTED\undefined%
+    \else%
+        \@PRESENTED\HD{0}{20}\par%
+    \fi%
+    \ifx\@HISTORY\undefined%
+    \else%
+        \@HISTORY \HD{9}{0}\par%
+    \fi%
+    \HD{0}{0}%
+%    \tableofcontents
+    {\unvbox\t@abstract}%
+%     \end{Center}%
+    \ifx\@KEYWORD\undefined%
+    \else%
+    \noindent\leftskip 3pc\rightskip 3pc%
+     \HD{19}{0}\NINE{\bf Keywords:}\ \@KEYWORD \HD{0}{0}\par%
+     \fi
+        \ifx\@REF\undefined%
+    \else%
+    \noindent\leftskip 3pc\rightskip 3pc%
+     \HD{21}{0}\NINE{\bf Reference}\  \@REF \HD{0}{0}\par%
+    \fi%
+    \HD{12}{0}{\unvbox\t@bio}%
+%%bio
+      \noindent\leftskip 0pc\rightskip 2pc
+             \HD{18.5}{0}\rule{30pc}{2pt}
+  \vskip 8pt plus 3pt minus 2pt%
+  \relax%
+}%
+%
+%\def\@maketitle{%
+%%  \begin{Center}%
+%    \ifx\@subtitle\undefined%
+%    \else%
+%        \begin{Flushleft}%
+%            \TEN\vskip -65pt  \HD{0}{3}\@subtitle%
+%        \end{Flushleft}%
+%     \fi%
+%    \let \footnote \thanks%
+%      {%
+%    \ifx\@docHeading\undefined\else{\@docHeading\par}\fi%
+%       \hyphenpenalty 10000%
+%        \begin{Flushleft}
+%        \rule{30pc}{2pt}\\%[1pt]
+%        \rightskip 2pc plus 20pc
+%        \baselineskip16pt plus .2pt minus .2pt
+%        \Large\bfseries%
+%         \HD{14}{0}\@title\\[-8pt]
+%         \rule{30pc}{2pt}\HD{10}{6}%
+%         \end{Flushleft}
+%            \par}%
+%%%%authorA  %GGG
+%    \ifx\@authorA\undefined%
+%    \else%
+%      \begin{Flushleft}%
+%        \baselineskip16pt plus .25pt minus .24pt
+%         \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+%    \HD{24}{0}\@authorA\HD{0}{0}
+%    \end{Flushleft}%
+%    \fi\par%
+%    \ifx\@affA\undefined%
+%    \else
+%      \begin{Flushleft}%
+%    \HD{18}{0}%
+%    \leftskip 3pc plus 0pt  \rightskip 3pc plus 0pt
+%    \@affA\HD{0}{9}%
+%      \end{Flushleft}%
+%          \fi%
+%%%%
+%    \ifx\@authorB\undefined%
+%    \else%
+%      \begin{Flushleft}%
+%    \leftskip 3pc plus 20pc  \rightskip 3pc plus 20pc
+%    \HD{16}{0}\@authorB\HD{0}{0} \end{Flushleft}\fi%
+%    \ifx\@affB\undefined%
+%    \else \begin{Flushleft}\HD{22}{0}%
+%    \leftskip 0pc plus 20pc  \rightskip 0pc plus 20pc
+%    \@affB\HD{0}{9}%
+%    \end{Flushleft}%%
+%    \fi%
+%%%%
+%
+%    \ifx\@Date\undefined\else{\footnotesize%
+%    \@Date%
+%    \par}\vskip24pt\fi%
+%    \HD{3}{0}%
+%    \ifx\@ADDITIONAL\undefined%
+%    \else%
+%        \@ADDITIONAL \HD{0}{20}\par%
+%    \fi%
+%    \ifx\@PRESENTED\undefined%
+%    \else%
+%        \@PRESENTED\HD{0}{20}\par%
+%    \fi%
+%    \ifx\@HISTORY\undefined%
+%    \else%
+%        \@HISTORY \HD{9}{0}\par%
+%    \fi%
+%    \HD{6}{0}%
+%%    \tableofcontents
+%    {\unvbox\t@abstract}%
+%%     \end{Center}%
+%    \ifx\@KEYWORD\undefined%
+%    \else%
+%    \noindent\leftskip 3pc\rightskip 3pc%
+%     \HD{19}{0}\NINE{\bf Keywords:}\quad\@KEYWORD \HD{0}{0}\par%
+%     \fi
+%        \ifx\@REF\undefined%
+%    \else%
+%    \noindent\leftskip 3pc\rightskip 3pc%
+%     \HD{21}{0}\NINE{\bf Reference}\quad\@REF \HD{0}{0}\par%
+%    \fi%
+%    \ifx\@BIO\undefined%
+%    \else%
+%    \noindent\leftskip 3pc\rightskip 3pc%
+%     \HD{19.6}{0}\NINE{\bf Biographical notes:}\quad\@BIO \HD{0}{0}\par%
+%    \fi%
+%      \noindent\leftskip 0pc\rightskip 2pc
+%             \HD{18.5}{0}\rule{30pc}{2pt}
+%        %\ifx\@JEL\undefined%
+%    %\else%
+%     % \noindent\NINE {\it JEL Classification:}\ \@JEL \HD{20}{0}\par%
+%    %\fi%
+%    %\ifx\@PACS\undefined%
+%    %\else%
+%    % \EGT   {\it PACS:}\ \@PACS \HD{20}{0}\par%
+%    %\fi%
+%  \vskip 8pt plus 3pt minus 2pt%
+%  \relax%
+%}%
+%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-b-THEOREM
+
+\RequirePackage{theorem}
+
+\gdef\th@TH{%
+  \def\theorem@headerfont{\normalfont\mdseries\bf}%
+  \theorempreskipamount=12pt plus 1pt minus 1pt%
+  \theorempostskipamount=12pt plus 1pt minus 1pt%
+  \def\@begintheorem##1##2{\normalfont\it%
+        \item[\noindent\hskip\labelsep \theorem@headerfont\bf ##1\ ##2:]\enskip}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\it%
+        \item[\noindent\hskip\labelsep \theorem@headerfont{\bf ##3:}]\enskip}}
+
+%This is defined to get Rule Case, definition, Example etc.
+\gdef\th@THrm{%
+  \def\theorem@headerfont{\normalfont\mdseries\bf}%
+  \theorempreskipamount=12pt plus 1pt minus 1pt%
+  \theorempostskipamount=12pt plus 1pt minus 1pt%
+  \labelsep 0.5em %%10pt
+  \def\@begintheorem##1##2{\normalfont\rm
+        \item[\hskip\labelsep
+          \theorem@headerfont{\bf ##1\ ##2:}]\enskip}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\rm
+        \item[\noindent\hskip\labelsep
+          \theorem@headerfont {{\bf ##3:}}]\enskip}}
+
+\gdef\th@THhit{%
+  \def\theorem@headerfont{\normalfont\mdseries\scshape}%
+  \theorempreskipamount=12pt plus 1pt minus 1pt%
+  \theorempostskipamount=12pt plus 1pt minus 1pt%
+  \labelsep 0.5em %%10pt
+  \def\@begintheorem##1##2{\it
+        \item[\hskip\labelsep
+          \theorem@headerfont {\rm ##1}\ ##2.]\enskip}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\it
+        \item[\noindent\hskip\labelsep
+          \theorem@headerfont {\bf ##3:}]\enskip}}
+
+\gdef\th@THkeyall{%
+  \def\theorem@headerfont{\normalfont\mdseries\scshape}%
+  \theorempreskipamount=12pt plus 6pt minus 3pt%
+  \theorempostskipamount=12pt plus 6pt minus 3pt%
+  \labelsep 0.5em %%10pt
+  \def\@begintheorem##1##2{\normalfont\it
+        \item[\indent\hskip\labelsep \theorem@headerfont ##1.]}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\it
+        \item[\indent]{\theorem@headerfont {##3}\hskip\labelsep}\ignorespaces}}
+
+\gdef\th@EX{%
+  \def\theorem@headerfont{\normalfont\mdseries\scshape}%
+  \theorempreskipamount=0pt\theorempostskipamount=0pt
+  \labelsep 0.5em %%10pt
+  \def\@begintheorem##1##2{\normalfont\upshape
+        \item[\indent\hskip\labelsep \theorem@headerfont ##1\ ##2.]}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\upshape
+        \item[\indent\hskip\labelsep \theorem@headerfont ##1\ ##2\ {##3.}]}}
+
+\gdef\th@EXkey{%
+  \def\theorem@headerfont{\normalfont\mdseries\scshape}%
+  \theorempreskipamount=13pt\theorempostskipamount=13pt
+  \labelsep 0.5em %%10pt
+  \def\@begintheorem##1##2{\normalfont\upshape
+        \item[\indent\hskip\labelsep \theorem@headerfont ##1\ ##2.]}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\upshape
+        \item[\indent\hskip\labelsep \theorem@headerfont {##3}]}}
+
+\gdef\th@EXkeyall{%
+  \def\theorem@headerfont{\normalfont\mdseries\scshape}%
+  \theorempreskipamount=0pt\theorempostskipamount=0pt
+  \labelsep 0.5em %%10pt
+  \def\@begintheorem##1##2{\normalfont\upshape
+        \item[\indent\hskip\labelsep \theorem@headerfont ##1\ ##2.]}%
+  \def\@opargbegintheorem##1##2##3{\normalfont\upshape
+        \item[\indent\hskip\labelsep]{\theorem@headerfont {##3}}}}
+
+\def\problem#1{\noindent{\bf Problem #1.\/}\enskip\rm}
+\def\endproblem{\hfill$\square$\vskip 10pt}
+
+\def\theo#1{\vskip 10pt \noindent{\bi Theorem #1.\/}\enskip\it}
+\def\endtheo{\hfill$\square$\vskip 12pt}
+%% Use for proper proofs that end with extra space (regardless of the use
+%% or non-use of \qed (=the black box)
+\def\THTrivlist{\parskip0pt\topsep=1.2em plus 0.3em minus 0.2em
+  \parsep0pt\partopsep0pt\@nmbrlistfalse
+  \@trivlist \labelwidth\z@ \leftmargin\z@
+  \itemindent\z@ \def\makelabel##1{##1}}
+
+\let\endTHTrivlist=\endlist
+
+\def\proof#1{\THTrivlist %%\addvspace{0pt}
+  \item[\hspace*{4pt}{\TEN\it #1}:\enskip]\ignorespaces}
+\def\endproof{\hfill $\square$\endTHTrivlist}
+
+\def\endSQproof{\hfill\endTHTrivlist}
+% this is to remove square from end of Proof
+
+\def\thproof#1{\vskip-\lastskip\par{ #1.\/}\enskip\rm}
+\def\endthproof{\hfill$\square$\vskip 12pt}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-e-THEOREM
+
+%%% BIBLIOGRAPHY
+
+\def\@biblabel#1{[#1]}
+ \def\@cite#1{[#1]}
+
+%%%%%%%%%%%%%%%%%BIBLIOGRAPHY %%%%%%%%%%%%BBBBBB
+
+\def\thebibliography#1{%
+    \par{\section*{References and Notes}}%
+    \list{}{\settowidth\labelwidth{#1}
+    \setlength{\topsep}{0pt}
+    \labelsep 0pt\labelwidth 0pt
+    \leftmargin 8pt
+     \itemindent-8pt
+    \itemsep  5pt
+    \def\bibitem{\item \NINE
+     \baselineskip10pt plus 0.3pt minus 0.25pt\relax}}
+    \def\newblock{\hskip .11em plus .33em minus .07em}
+    \sloppy\clubpenalty4000\widowpenalty4000
+    \sfcode`\.=1000\relax}
+
+\def\endthebibliography{\endlist}
+
+\def\NUMBIB{\def\@biblabel##1{\bf ##1}%
+\def\thebibliography##1{%
+  \par{\section*{References and Notes\HD{0}{0}}}%
+  \list
+  {\@biblabel{\arabic{enumiv}}}{\NINE
+    \baselineskip 10pt plus 0.3pt minus 0.25pt\relax
+    \settowidth\labelwidth{\@biblabel{##1}}%
+    \leftmargin\labelwidth
+    \advance\leftmargin\labelsep
+    \usecounter{enumiv}%
+    \let\p@enumiv\@empty
+    \labelsep 8pt\labelwidth 13.5pt
+    \itemsep  2pt
+    \parskip4pt\topsep4pt
+    \def\theenumiv{\arabic{enumiv}}}%
+    \def\newblock{\hskip .11em plus.33em minus.07em}%
+    \sloppy\clubpenalty4000\widowpenalty4000
+    \sfcode`\.=1000\relax
+    \parsep0pt}}
+
+\clubpenalty 10000
+\widowpenalty 10000
+\predisplaypenalty=10000
 \setcounter{secnumdepth}{3}
 \newcounter {part}
 \newcounter {section}
@@ -277,9 +947,7 @@
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{%
-   \if@noskipsec \leavevmode \fi
-   \par
+\newcommand\part{\par
    \addvspace{4ex}%
    \@afterindentfalse
    \secdef\@part\@spart}
@@ -291,12 +959,11 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    {\parindent \z@
-    \raggedright
+    {\parindent \z@ \raggedright
      \interlinepenalty \@M
      \normalfont
      \ifnum \c@secnumdepth >\m@ne
-       \Large\bfseries \partname\nobreakspace\thepart
+       \Large\bfseries \partname~\thepart
        \par\nobreak
      \fi
      \huge \bfseries #2%
@@ -305,34 +972,91 @@
     \vskip 3ex
     \@afterheading}
 \def\@spart#1{%
-    {\parindent \z@
-    \raggedright
+    {\parindent \z@ \raggedright
      \interlinepenalty \@M
      \normalfont
      \huge \bfseries #1\par}%
      \nobreak
      \vskip 3ex
      \@afterheading}
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                                  {-3.5ex \@plus -1ex \@minus -.2ex}%
-                                  {2.3ex \@plus.2ex}%
-                                   {\normalfont\large\bfseries}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1.5ex \@plus .2ex}%
-                                     {\normalfont\large\bfseries}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1.5ex \@plus .2ex}%
-                                     {\normalfont\normalsize\bfseries}}
-\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}}
+
+\def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
+   \par \@tempskipa #4\relax
+   \@afterindentfalse
+   \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
+   \if@nobreak \everypar{}\else
+     \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar
+     {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
+
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+     \ifnum #2>\c@secnumdepth
+       \let\@svsec\@empty
+     \else
+       \refstepcounter{#1}%
+       \edef\@svsec{\csname the#1\endcsname\hskip 9.3pt}%
+     \fi
+     \@tempskipa #5\relax
+      \ifdim \@tempskipa>\z@
+        \begingroup #6{\relax
+               \parindent0pt
+               \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}}%
+        \endgroup
+       \csname #1mark\endcsname{#7}\addcontentsline
+         {toc}{#1}{\ifnum #2>8 %%%\c@secnumdepth
+                     \else
+                      \protect\numberline{\csname the#1\endcsname}\fi
+                    #7}\else
+        \def\@svsechd{#6\hskip #3\relax  %% \relax added 2 May 90
+                   \@svsec #8.\csname #1mark\endcsname
+                      {#7}\addcontentsline
+                           {toc}{#1}{\ifnum #2>\c@secnumdepth \else
+                             \protect\numberline{\csname the#1\endcsname}\fi
+                       #7}}\fi
+     \@xsect{#5}}
+
+\def\@xsect#1{\@tempskipa #1\relax
+      \ifdim \@tempskipa>\z@
+       \par \nobreak
+       \vskip \@tempskipa
+       \@afterheading
+    \else \global\@nobreakfalse \global\@noskipsectrue
+       \everypar{\if@noskipsec \global\@noskipsecfalse
+                   \clubpenalty\@M \hskip -\parindent
+                   \begingroup \@svsechd \endgroup \unskip
+                   \hskip -#1\relax  % relax added 14 Jan 91
+                  \else \clubpenalty \@clubpenalty
+                    \everypar{}\fi}\fi\ignorespaces}
+
+\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax
+   \ifdim \@tempskipa>\z@
+     \begingroup #4{\@hangfrom{\hskip #1}{\interlinepenalty \@M #5\par}}\endgroup
+   \else \def\@svsechd{#4\hskip #1\relax #5}\fi
+    \@xsect{#3}}
+
+\def\section{\@startsection {section}{1}{\z@}
+    {24pt plus 4pt minus 4pt}
+    {12pt}
+    {\reset@font\hyphenpenalty9999\ELEVEN\bfseries\hangindent1.33pc}}
+
+\def\subsection{\@startsection{subsection}{2}{\z@}
+    {12pt plus 4pt minus 4pt}
+    {10pt}
+    {\reset@font\hyphenpenalty9999\ELEVEN\it\hangindent1.95pc}}
+
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}
+    {12pt plus 4pt minus 4pt}
+    {8pt}
+    {\reset@font\hyphenpenalty9999\ELEVEN\it\hangindent1.95pc}}
+
+\def\paragraph{\@startsection{paragraph}{4}{0pt}
+    {12pt plus 4pt minus 2pt}
+    {8pt}
+    {\reset@font\hyphenpenalty9999\ELEVEN\it\hangindent1.95pc}}
+
+\def\subparagraph{\@startsection{subparagraph}{5}{18pt}
+    {13pt plus 4pt minus 2pt}
+    {-10pt}
+    {\reset@font\TEN\SECRR\bf }}
 \if@twocolumn
   \setlength\leftmargini  {2em}
 \else
@@ -371,42 +1095,18 @@
 \newcommand\labelitemiii{\textasteriskcentered}
 \newcommand\labelitemiv{\textperiodcentered}
 \newenvironment{description}
-               {\list{}{\labelwidth \z@
-               \itemindent -\leftmargin
+               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-\if@titlepage
-  \newenvironment{abstract}{%
-      \titlepage
-      \null\vfil
-      \@beginparpenalty\@lowpenalty
-      \begin{center}%
-        \bfseries \abstractname
-        \@endparpenalty\@M
-      \end{center}}%
-     {\par\vfil\null\endtitlepage}
-\else
-  \newenvironment{abstract}{%
-      \if@twocolumn
-        \section*{\abstractname}%
-      \else
-        \small
-        \begin{center}%
-          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
-        \end{center}%
-        \quotation
-      \fi}
-      {\if@twocolumn\else\endquotation\fi}
-\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep   \z@
-                        \itemindent   1.5em%
+                        \itemindent   -1.5em%
                         \listparindent \itemindent
                         \rightmargin  \leftmargin
-                        \noindent \leftmargin 1.5em}%
+                        \advance\leftmargin 1.5em}%
                 \item\relax}
                {\endlist}
 \newenvironment{quotation}
@@ -417,7 +1117,7 @@
                 \item\relax}
                {\endlist}
 \newenvironment{quote}
-               {\list{}{\rightmargin\leftmargin}%
+               {\list{}{\NINE\rightmargin\leftmargin}%
                 \item\relax}
                {\endlist}
 \if@compatibility
@@ -453,8 +1153,8 @@
 \newcommand\appendix{\par
   \setcounter{section}{0}%
   \setcounter{subsection}{0}%
-  \gdef\thesection{\@Alph\c@section}}
-\setlength\arraycolsep{5\p@}
+  \renewcommand\thesection{\@Alph\c@section}}
+\setlength\arraycolsep{1\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
@@ -462,14 +1162,79 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\@addtoreset {equation}{section}
+\newdimen\mathindent
+\mathindent=24pt
 \renewcommand \theequation {\@arabic\c@equation}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%EQUATIONS
+% They are indented from left 2 picas and have on the right eqno as "[23]"
+\def\EQtrivlist{\parskip0pt\topsep=12pt plus 5pt minus 6pt
+   \parsep0pt\partopsep0pt\@nmbrlistfalse
+   \@trivlist \labelwidth\z@ \leftmargin\z@
+   \itemindent\z@ \def\makelabel##1{##1}}%
+\def\endEQtrivlist{\if@newlist\@noitemerr\fi
+   \if@inlabel\indent\fi
+   \ifhmode\unskip \par\fi
+   \if@noparlist \else
+      \ifdim\lastskip >\z@ \@tempskipa\lastskip \vskip -\lastskip
+         \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip
+         \vskip\@tempskipa
+   \fi\@endparenv\fi}%
+
+%%%%%%%%%%%%%%%%%%%%%%-B-fleqn.sty-(modified)
+\def\[{\relax\ifmmode\@badmath\else
+  \@beginparpenalty\predisplaypenalty
+  \@endparpenalty\postdisplaypenalty
+  \EQtrivlist \item[]\leavevmode
+  \hbox to\linewidth\bgroup $\m@th\displaystyle
+  \hskip\mathindent\bgroup\fi}
+
+\def\]{\relax\ifmmode \egroup $\hfil\displaywidth\linewidth
+  \egroup \endEQtrivlist\else \@badmath \fi\noindent\ignorespaces}
+
+\def\equation{\@beginparpenalty\predisplaypenalty
+  \@endparpenalty\postdisplaypenalty
+  \refstepcounter{equation}\EQtrivlist \item[]\leavevmode
+  \hbox to\linewidth\bgroup $\m@th\displaystyle\hskip\mathindent}
+
+\def\endequation{$\hfil\displaywidth\linewidth\@eqnnum\egroup\endEQtrivlist}
+
+\def\VVV{\@beginparpenalty\predisplaypenalty
+  \@endparpenalty\postdisplaypenalty
+  \EQtrivlist \item[]\leavevmode
+  \hbox to\linewidth\bgroup $\m@th\displaystyle\hskip\mathindent}
+
+\def\endVVV{$\hfil\displaywidth\linewidth\egroup\endEQtrivlist}
+
+\def\eqnarray{\stepcounter{equation}\let\@currentlabel=\theequation
+  \global\@eqnswtrue
+  \global\@eqcnt\z@\tabskip\mathindent\let\\=\@eqncr
+  \abovedisplayskip 12pt plus 5pt minus 5pt
+  \belowdisplayskip\abovedisplayskip
+  \belowdisplayshortskip\abovedisplayskip
+  \abovedisplayshortskip\abovedisplayskip
+  $$\m@th\halign to\linewidth\bgroup\@eqnsel
+  \hskip\@centering
+  $\displaystyle\tabskip\z@
+  {##}$&\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
+  &\global\@eqcnt\tw@ $\displaystyle{##}$\hfil
+   \tabskip\@centering&\llap{##}\tabskip\z@\cr}
+
+\def\endeqnarray{\@@eqncr\egroup
+      \global\advance\c@equation\m@ne$$\global\@ignoretrue}
+
+\newdimen\mathindent
+\mathindent=24pt %%% \leftmargini
+
+%%%%%%%%%%%%%%%%%%%%-E-fleqn.sty-(modified)
+
+
 \newcounter{figure}
 \renewcommand \thefigure {\@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-\def\fnum@figure{\figurename\nobreakspace\thefigure}
+\def\fnum@figure{\bf\figurename~\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
@@ -481,7 +1246,7 @@
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
-\def\fnum@table{\tablename\nobreakspace\thetable}
+\def\fnum@table{\bf\tablename~\thetable}
 \newenvironment{table}
                {\@float{table}}
                {\end@float}
@@ -492,16 +1257,22 @@
 \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}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\@makecaption!!!
+%%%%%%%%%%%%%%%%%%%%%%%%%%%ragu
+\long\def\@makecaption#1#2{\parindent0pt
+\ifx\@captype\@tabtxt
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%TABLE
+%\NINE
+%\par\noindent\hbox to\textwidth{\hfil\parbox{\tabw}{\noindent %
+%   {\tabnamefont #1\HD{7}{0}}\quad\raggedright
+%\hangindent3pc #2\HD{0}{6}}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\else %% if it is a figure!
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FIGURE
+\NINE
+\par\noindent{\fignamefont #1\HD{7}{0}}\quad\raggedright
+\hangindent3.27pc #2\vspace{6pt} \fi}
+
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -525,10 +1296,8 @@
   \ifnum \c@tocdepth >-2\relax
     \addpenalty\@secpenalty
     \addvspace{2.25em \@plus\p@}%
-    \setlength\@tempdima{3em}%
     \begingroup
-      \parindent 1 em %\z@
-       \rightskip \@pnumwidth
+      \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
        \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
@@ -545,8 +1314,7 @@
     \addvspace{1.0em \@plus\p@}%
     \setlength\@tempdima{1.5em}%
     \begingroup
-      \parindent 0 em %\z@
-      \rightskip \@pnumwidth
+      \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       \leavevmode \bfseries
       \advance\leftskip\@tempdima
@@ -559,50 +1327,196 @@
 \newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
 \newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
 \newcommand\listoffigures{%
-    \section*{\listfigurename}%
+    \section*{\listfigurename
       \@mkboth{\MakeUppercase\listfigurename}%
-              {\MakeUppercase\listfigurename}%
+              {\MakeUppercase\listfigurename}}%
     \@starttoc{lof}%
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \section*{\listtablename}%
+    \section*{\listtablename
       \@mkboth{%
-          \MakeUppercase\listtablename}%
-         {\MakeUppercase\listtablename}%
+          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
     \@starttoc{lot}%
     }
 \let\l@table\l@figure
-\newdimen\bibindent
-\setlength\bibindent{1.5 em}
-\newenvironment{thebibliography}[1]
-     {\section*{\refname}%
-      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
-      \list{\@biblabel{\@arabic\c@enumiv}}%
-           {\settowidth\labelwidth{\@biblabel{#1}}%
-            \leftmargin\labelwidth
-            \advance \leftmargin\labelsep
-            \@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}
-\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
-\let\@openbib@code\@empty
+
+\newenvironment{NLh}[1]{%
+ \setbox\boxH=\hbox{{\rm #1}}%
+ \begin{list}{\rm{\arabic{enumii}.}}{%
+ \usecounter{enumii}%
+ \raggedright
+ \topsep=10pt plus .5pt minus .5pt%
+ \partopsep=0pt%
+ \itemsep=6pt%
+ \parsep=0pt%
+ \labelsep=14pt%
+ \labelwidth=\wd\boxH%
+ \leftmargin=\labelwidth%
+ \advance\leftmargin\labelsep%
+ \rightmargin=0pt%
+ \listparindent=0em%
+ \itemindent 0pt\ignorespaces}\mathindent=0pt}{\end{list}}%
+
+
+\def\LM{\leavevmode }
+\newenvironment{BL}{%
+ \begin{list}{\LM\hbox{$\bullet$}}{%
+ \raggedright
+ \topsep=10pt plus 4pt minus 4pt
+ \partopsep=0pt
+ \itemsep=6pt %2pt
+ \parsep=0pt
+ \labelsep=14pt
+ \labelwidth=10pt
+ \rightmargin=0pt
+ \listparindent=0pt
+ \itemindent=0pt %=\leftmargin
+ \leftmargin=20pt}}{\end{list}}%
+
+\floatsep 18pt plus 4pt minus 4pt
+\textfloatsep 18pt plus 4pt minus 4pt
+\intextsep 18pt plus 4pt minus 4pt
+\@fptop 0pt plus 1fil
+\@fpsep 8pt plus 2fil
+\@fpbot 0pt plus 1fil
+
+\newenvironment{inFig}
+{\vskip 14pt\noindent\hskip -0pt}
+{\vskip 10pt}
+
+\newif\if@ttirotate \@ttirotatefalse
+\def\ttirotate{\global\@ttirotatetrue}
+\def\endttirotate{\global\@ttirotatefalse}
+
+%------ Figures intro
+\newcommand\listfigurename{List of Figures}
+\def\thefigure{\arabic{figure}}
+\def\fignamefont{\NINE}
+\def\tabnamefont{\NINE}
+
+%------ Tables intro
+\newbox\@tempboxb
+\newcommand\tablename{Table}
+\newcommand\listtablename{List of Tables}
+\renewcommand\thetable{\arabic{table}}
+\def\fps@table{tbp}\def\ftype@table{2}\def\ext@table{lot}
+\def\fnum@table{{\tabnamefont\bf\tablename\ \thetable}}
+\def\table{\let\@makecaption\@tablecaption\@float{table}}
+\let\endtable\end@float
+\@namedef{table*}{\let\@makecaption\@tablecaption\@dblfloat{table}}
+\@namedef{endtable*}{\end@dblfloat}
+
+\long\def\@tablecaption#1#2{%
+% Set TN followed by the caption see the length
+  \setbox\@tempboxa
+  \hbox{\NINE{\it #1}\quad #2}%
+% Set the caption only to examine its existence and length if any
+  \setbox\@tempboxb
+  \hbox{\NINE#2}%
+% If no caption, TN centers with no period after it
+  \ifdim\wd\@tempboxb < 3pt
+    \begin{Center}\NINE
+    \HD{8}{0}{\it #1}\HD{0}{6}\end{Center}
+  \else
+% If TN+caption shorter than the table
+  \ifdim\wd\@tempboxa < \tempdime
+    %\begin{Center}
+    \NINE \HD{8}{0}{\it #1}\qquad #2\HD{0}{6}%\end{Center}
+  \else
+% If TN+caption longer than the table
+    \noindent\NINE\HD{8}{0}{\bf #1}\quad
+    \raggedright\hangindent3.08pc  #2\HD{0}{6}\endgraf
+  \fi\fi}
+
+%------TABLE
+
+\newbox\boxH
+\newbox\boxHrunin
+\newbox\temptbox
+\newbox\temptboxA
+
+\newdimen\tempdime
+\newdimen\tempdimeA
+\newdimen\rboxh
+\newdimen\rboxw
+\def\EGT{\footnotesize}
+
+\newcommand{\TABLE}[3]{%
+  \setbox\temptbox=\hbox{{\EGT#2}}%
+  \tempdime\wd\temptbox%
+  \@TABLE{#1\vs{2}}{#2}{#3}{\tempdime}}
+
+\newcommand{\@TABLE}[4]{%
+\long\def\testtabnote{#3}%
+\long\def\itis@empty{}%
+\ifx\testtabnote\itis@empty
+  \long\def\tabnote##1{\relax}%
+\else
+  \long\def\tabnote##1{\par{\NINE \vspace*{4pt} ##1\endgraf}}%
+\fi \if@ttirotate
+  \setbox4=\hbox to #4 %%\textheight
+  {\vbox to \textwidth{\hsize #4 %%%\textheight
+  \vss\overfullrule=0pt
+  \begin{minipage}[c]{#4}%
+    \caption{#1}%
+    {\NINE#2}
+    \tabnote{\hspace*{3pc}#3}%
+  \end{minipage}%
+  \vss}}
+\else
+  \setbox4=\hbox to \hsize{\hss
+  % Table should be indented by 2pc
+  %  from left margin
+  \begin{minipage}[t]{#4}%
+    \caption{\hangindent3pc #1}%
+    {\NINE#2}%
+    \tabnote{#3}%
+  \end{minipage}\hss}
+\fi \if@ttirotate
+  \setbox5=\zeroCC{\box4}%
+  \par\noindent\hspace*{0.5\textwidth}%
+  \vrule width 0pt height 0.5\textheight depth 0.499\textheight
+  \rotatebox{90}{\box5}%
+\else
+  \noindent\box4%
+\fi }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-b-figures-and-tables
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%BBB
+%%% FIGURES AND TABLES
+
+\setcounter{topnumber}{3}
+\def\topfraction{0.99}
+\setcounter{bottomnumber}{2}
+\def\bottomfraction{.99}
+\setcounter{totalnumber}{5}
+\def\textfraction{.08}
+\def\floatpagefraction{.55}
+\setcounter{dbltopnumber}{3}
+\def\dbltopfraction{.9}
+\def\dblfloatpagefraction{.5}
+
+% FIGURE
+
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+%\def\fnum@figure{\bf Figure\ \thefigure}
+\def\figure{\@float{figure}}
+\let\endfigure\end@float
+\@namedef{figure*}{\@dblfloat{figure}}
+\@namedef{endfigure*}{\end@dblfloat}
+
 \newenvironment{theindex}
                {\if@twocolumn
                   \@restonecolfalse
                 \else
                   \@restonecoltrue
                 \fi
-                \columnseprule 0 em %\z@
+                \columnseprule \z@
                 \columnsep 35\p@
                 \twocolumn[\section*{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
@@ -623,23 +1537,115 @@
     \parindent 1em%
     \noindent
     \hb@xt@1.8em{\hss\@makefnmark}#1}
+
+\renewcommand{\footnote}{\endnote}
+\def\enotesize{\NINE}
+
+\def\notesname{Notes}% <------ JK
+\def\enoteheading{\section*{\notesname}%
+ \leavevmode\par}
+
+\def\enoteformat{\rightskip\z@ \leftskip6pt \parindent=0em
+     \leavevmode\llap{\hbox{$^{\@theenmark}$}}}
+
 \newcommand\contentsname{Contents}
-\newcommand\listfigurename{List of Figures}
-\newcommand\listtablename{List of Tables}
 \newcommand\refname{References}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
-\newcommand\tablename{Table}
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
-\newcommand\abstractname{ABSTRACT}
+\def\p#1{\phantom{#1}}
+\def\vvp{\vadjust{\vfill\pagebreak}}
+\def\vvsp#1{\vadjust{\vspace{#1pt}\pagebreak}}
+\def\vvSP#1{\HD{0}{#1}\pagebreak}
+\def\tra#1{\spaceskip 0.#1em plus 0.15em minus 0.09em\relax}%
+\def\vs#1{\vadjust{\vspace{#1pt}}}
+\def\mathtight{
+\thickmuskip2mu \thinmuskip1mu \medmuskip=1.5mu\relax}
+
+%%For Table rule
+
+\def\toprule{\noalign{\ifnum0=`}\fi \hrule \@height 2.0pt \hrule
+\@height 2pt \@width 0pt \futurelet\@tempa\@xhline}
+
+\def\midrule{\noalign{\ifnum0=`}\fi \hrule \@height 2pt \@width 0pt
+\hrule \@height 0.7pt \hrule \@height 2pt \@width 0pt
+\futurelet\@tempa\@xhline}
+
+\def\botrule{\noalign{\ifnum0=`}\fi \hrule
+\@height 2pt \@width 0pt \hrule \@height 2.0pt
+\futurelet\@tempa\@xhline}
+
+\def\hline{\noalign{\ifnum0=`}\fi\hrule \@height .5pt \futurelet
+  \reserved@a\@xhline}
+\def\@xhline{\ifx\reserved@a\hline\vskip\doublerulesep
+  \vskip-0.5pt\fi\ifnum0=`{\fi}}
+
+% Thick 1 pt table rules
+\def\Hline{\noalign{\ifnum0=`}\fi\hrule \@height .7pt \futurelet
+  \reserved@a\@xHline}
+\def\@xHline{\ifx\reserved@a\Hline\vskip6pt\doublerulesep
+  \vskip-1pt\fi\ifnum0=`{\fi}}
+
+% Thick 2 pt table rules
+\def\HLINE{\noalign{\ifnum0=`}\fi\hrule \@height 2.0pt \futurelet
+  \reserved@a\@xHLINE}
+\def\@xHLINE{\ifx\reserved@a\HLINE\vskip6pt\doublerulesep
+  \vskip-1pt\fi\ifnum0=`{\fi}}
+\headsep -3.7pt
+\topskip=4pt %% \headsep + \topskip s/b here 27pt (17+10)
+%\footskip 36pt
+\textheight=576pt %% = 46 x 12 + 10 = 47 lines of text 10/12
+\textwidth=30pc
+\columnsep 12pt\columnseprule 0pt
+
+\def\mgp#1{\marginpar{\kern-6pt{\EGT #1}}}
+\def\x{\end{document}}
+\def\h{\hbox}
+\def\p#1{\phantom{#1}}
+\def\vvp{\vadjust{\vfill\pagebreak}}
+\def\vvsp#1{\vadjust{\vspace{#1pt}\pagebreak}}
+\def\vvSP#1{\HD{0}{#1}\pagebreak}
+\def\tra#1{\spaceskip 0.#1em plus 0.15em minus 0.09em\relax}%
+\def\vs#1{\vadjust{\vspace{#1pt}}}
+\def\mathtight{
+\thickmuskip2mu \thinmuskip1mu \medmuskip=1.5mu\relax}
+
 \def\today{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\pagestyle{plain}
+\pagestyle{headings}
+\clubpenalty 10000
+\widowpenalty 10000
+\predisplaypenalty=10000
+\interdisplaylinepenalty=100
+\displaywidowpenalty 1500
+\postdisplaypenalty 0 %%%500
+\interlinepenalty 0
+\brokenpenalty 500 % Plain default = 100
+\adjdemerits=100 % Plain default = 10000
+\linepenalty=10
+\doublehyphendemerits=10000
+\finalhyphendemerits=5000
+\hyphenpenalty=50
+\exhyphenpenalty=50
+\binoppenalty=150 % 700
+\relpenalty=100 % 500
+\interfootnotelinepenalty=100
+%\nulldelimiterspace=1.2pt
+\lefthyphenmin=10
+\righthyphenmin=10
+\tolerance=9999
+\frenchspacing
+
+\thinmuskip=3mu
+\medmuskip=4mu% plus 1mu minus 1mu
+\thickmuskip=5mu% plus 3mu
+
+\emergencystretch=1.6pc
 \pagenumbering{arabic}
 \if@twoside
 \else
@@ -652,54 +1658,8 @@
 \else
   \onecolumn
 \fi
-
-\usepackage[dcucite]{harvard}
-\renewcommand{\harvardyearleft}{}
-\renewcommand{\harvardyearright}{}
-
-\renewcommand{\familydefault}{\sfdefault}
-
-\usepackage{amsmath}
-\usepackage{amsthm}
-\usepackage{amscd}
-\usepackage{amsbsy}
-\usepackage{amssymb}
-\usepackage{amsmath}
-\usepackage{amsfonts}
-\usepackage{amsopn}
-
-\usepackage{times}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\textwidth 15.92 cm
-\textheight 24.62 cm
-\oddsidemargin - 0.06 cm
-\topmargin - 0.36cm
-
-\theoremstyle{plain}
-\newtheorem{theorem}{Theorem}[section]
-\newtheorem{corollary}[theorem]{Corollary}
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{proposition}[theorem]{Proposition}
-%
-\theoremstyle{definition}
-\newtheorem{definition}{Definition}[section]
-%
-\theoremstyle{remark}
-\newtheorem{remark}{Remark}[section]
-
-\renewcommand{\theequation}{\thesection.\arabic{equation}}
-\setlength{\parindent}{0pt}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\newenvironment{keywords}{{\bf Keywords:}}
-
-\newenvironment{msc}{{\bf 2000 Mathematics Subject Classification:}\medskip}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
 \endinput
+
 %%
-%% End of file `ijamas.cls'.
+%% End of file `singlecol.cls'.
+

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns