arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/ws-p10x7-hepex.cls	2010-04-02 13:25:21.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ws-procs9x6-notrimmark.cls	2012-08-16 16:15:55.187298283 +0200
@@ -1,81 +1,106 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% For support please email: ykoh@wspc.com.sg (or) rajesh@wspc.com.sg
+%% The content, structure, format and layout of this style file is the
+%% property of World Scientific Publishing Co. Pte. Ltd.
+%% Copyright 2006 by World Scientific Publishing Co.
+%% All rights are reserved.
 %%
-%% ws-p10x7.cls  : 07-12-1998  : Version 1.0
-%%
-%% LaTeX2e style to use with proceeding size [10''x7''] to be published by
-%% World Scientific Publishing Co. written by R. Sankaran ....based on....
-%%
-%% ARTICLE DOCUMENT CLASS -- LaTex2e Release [1995/12/01] and Article class
-%%               [1996/05/26 v1.3r of Standard LaTeX document class]
-%%
-%% Copyright (C) 1998 World Scientific Publishing Co. Pte Ltd.
-%% Singapore.
-%%
-%% Please report modification required and comments to: rsanka@wspc.com.sg
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-\def\@styver{v1.0 - 7th December 1998.}
-\typeout{^^JWorld Scientific Proceeding style for trim size 10 x 7 [twocolumn] \@styver^^J}
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{ws-p10x7}[\@styver^^J]
+%% Proceedings Trim Size: 9in x 6in
+%% Text Area: 7.35in (include runningheads) x 4.5in
+%% Main Text is 10/13pt
+%% Last Modified: 7-7-05
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{ws-procs9x6}[1994/07/13 v1.2u Standard LaTeX document class]
+\@twosidetrue\@mparswitchtrue\@twocolumnfalse
+\newif\if@openright
+\@openrighttrue
+\newif\if@restonecol
+%
+\newif\if@draft
 %
-\newif \if@twocolumn   \@twocolumnfalse
-\newif \if@twoside     \@twosidefalse
+\newdimen\draftrule
+\draftrule=0pt
+%
+\DeclareOption{splissue}{\@splissuetrue}
+\DeclareOption{draft}{\@drafttrue\setlength\overfullrule{5pt}\draftrule0.01pt}%
+%
+\hoffset=0.1in
+\voffset=0.2in
 %
-\if@compatibility\else
-\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
-\fi
-\DeclareOption{draft}{\setlength\overfullrule{5pt}}
 \DeclareOption{final}{\setlength\overfullrule{0pt}}
-\DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue}
 %
-\ExecuteOptions{a4paper,10pt,twoside,twocolumn,final}
+\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final}
 \ProcessOptions
 %
-\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}
+\newcommand\bibname{References}%
 %
 \newcommand\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}
+\newcount\minute
+\newcount\hour
+\def\currenttime{%
+    \minute\time
+    \hour\minute
+    \divide\hour60
+    \the\hour:\multiply\hour60\advance\minute-\hour\the\minute}
 %
 \newdimen\trimheight
 \newdimen\trimwidth
 \newdimen\typeheight
 \newdimen\typewidth
 \newdimen\tempdimen
+\newdimen\tablewidth
 \newdimen\normaltextheight
+\newbox\tempbox
+\newdimen\tablewd
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\foliofont{\fontsize{8}{10}\selectfont}
+\def\bibfont{\fontsize{9}{11}\selectfont}
+\def\rhfont{\footnotesize\itshape{}}
+\def\catchlinefont{\footnotesize}
+\def\titlefont{\fontsize{15}{17}\bfseries\boldmath\selectfont\centering{}}
+\def\authorfont{\footnotesize}
+\def\abstractfont{\footnotesize}
+\let\affiliationfont\rhfont
+\def\datefont{\footnotesize}
+\def\sectionfont{\bfseries\boldmath\rightskip2pc plus1fill{}}
+\def\subsectionfont{\bfseries\boldmath\itshape\rightskip2pc plus1fill{}}
+\def\subsubsectionfont{\itshape\rightskip2pc plus1fill{}}
+\def\paragraphfont{\bfseries\boldmath}
+\def\subparagraphfont{\itshape}
+\def\figurecaptionfont{\footnotesize}
+\def\tablefont{\footnotesize}
+\def\tablecaptionfont{\footnotesize}
+\def\foot{\small}
 %
-\def\@xiiipt{13}
 \renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt\@xiiipt
+   \@setfontsize\normalsize\@xpt{13}%\@xiiipt    %%10/13pt
    \abovedisplayskip6\p@\@plus4\p@\@minus2\p@
    \abovedisplayshortskip\abovedisplayskip
    \belowdisplayshortskip\abovedisplayshortskip
    \belowdisplayskip\abovedisplayskip
    \let\@listi\@listI}
 \normalsize
+%
 \newcommand\small{%
    \@setfontsize\small\@ixpt{11}%
-   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
+   \abovedisplayskip 8\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
-}
+   \belowdisplayskip \abovedisplayskip}
+%
 \newcommand\footnotesize{%
    \@setfontsize\footnotesize\@viiipt{10}%
    \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
@@ -85,31 +110,29 @@
                \topsep 3\p@ \@plus\p@ \@minus\p@
                \parsep 2\p@ \@plus\p@ \@minus\p@
                \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
+   \belowdisplayskip \abovedisplayskip}
+
+\renewcommand\normalsize{\@setfontsize\large\@xiipt{14}}
+
 %
 \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\@xiipt{14}}%
+\newcommand\Large{\@setfontsize\Large\@xivpt{16}}%%
 \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
 \newcommand\huge{\@setfontsize\huge\@xxpt{25}}
 \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
-\setlength\parindent{0.25in}
 \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@}
-%%%%%%%
-\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}
 %
+\DeclareOldFontCommand{\rm}{\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\scshape}{\@nomath\sc}
 \DeclareOldFontCommand{\bi}{\bfseries\itshape}{\bfseries\itshape}
 \renewcommand{\rmdefault}{cmr}%
 %
@@ -133,135 +156,235 @@
           {\mbox{\boldmath$\scriptstyle#1$}}%
           {\mbox{\boldmath$\scriptscriptstyle#1$}}}%
 %
-\trimheight10truein
-\advance\trimheight by 0.01truein
-\trimwidth7truein
-\advance\trimwidth by -0.02truein
-\typeheight8.66in
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%Initializations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\setlength\topmargin{0.42in}
-\setlength\headheight{8\p@}%8
+\newdimen\trimheight \trimheight9truein
+\newdimen\trimwidth \trimwidth6truein
+\newdimen\typeheight \typeheight7.35in
+%
+\setlength\parindent{15pt}
+\setlength\headheight{5\p@}
+\setlength\headsep   {.25in}
 \setlength\topskip  {7\p@}
-\setlength\headsep{18\p@}%25
-\setlength\footskip{0.3in}
+\setlength\footskip{10pt}
 \setlength\maxdepth{4\p@}
 \setlength\@maxdepth\maxdepth
-\setlength\textwidth{5.60truein}
+\setlength\textwidth{4.5in}
 \setlength\textheight\typeheight
 \advance\textheight-\headheight
 \advance\textheight-\headsep
-\advance\textheight-2pt
 \setlength\normaltextheight{\textheight}
-\setlength\marginparsep {10\p@}
-\setlength\marginparpush{5\p@}
-\setlength\oddsidemargin  {0.7truein}
-\setlength\evensidemargin {-\textwidth}
+\setlength\oddsidemargin{19mm}
+\setlength\evensidemargin{\trimwidth}
+\addtolength\evensidemargin{-\textwidth}
 \addtolength\evensidemargin{-\oddsidemargin}
-\setlength\marginparwidth {48\p@}
-\setlength\footnotesep{6.65\p@}
-\setlength{\skip\footins}{12\p@ \@plus 4\p@ \@minus 2\p@}%9
-\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\marginparwidth{.75in}
+\setlength\marginparsep{7\p@}
+\setlength\marginparpush{5\p@}
+\setlength\topmargin{0.54in}
+\setlength\footnotesep{6\p@} %6pt
+\setlength{\skip\footins}{18\p@ \@plus 5\p@ \@minus 2\p@}
+\setlength\floatsep    {18\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\textfloatsep{18\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\intextsep   {18\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\dblfloatsep    {18\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\dbltextfloatsep{18\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\@fptop{0\p@}
 \setlength\@fpsep{8\p@ \@plus 2fil}
 \setlength\@fpbot{0\p@ \@plus 1fil}
 \setlength\@dblfptop{0\p@ \@plus 1fil}
 \setlength\@dblfpsep{8\p@ \@plus 2fil}
 \setlength\@dblfpbot{0\p@ \@plus 1fil}
-\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
+\setlength\partopsep{0\p@}
 %
 \setlength\lineskip{1\p@}
-\setlength\normallineskip{1\p@}
-\renewcommand\baselinestretch{}
+\setlength\normallineskip{1\p@}%
+\renewcommand\baselinestretch{}%{}
 \setlength\parskip{0\p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
-%
 \@beginparpenalty -\@lowpenalty
 \@endparpenalty   -\@lowpenalty
 \@itempenalty     -\@lowpenalty
-%%
-\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
+%
+\newenvironment{contents}{%
+    \cleardoublepage
+    \vspace*{0.92in}
+    {\centering{
+    {\bf {\uppercase{Contents}}\par}\par}}
+    \vskip 0.05in             %VSPACE BEFORE CONTENT TEXT
+    \vskip -3pt
+    \normalsize
+}{\par\vfill\pagebreak\par}%
+%
+\newcommand\mastertoc{%
+    \cleardoublepage
+    \title{CONTENTS}
+    \normalsize
+    \@starttoc{toc}%
+    \par\vfill\pagebreak\par
+    \pagenumbering{arabic}
+    \setcounter{page}{1}}
+%
+\newenvironment{titlepages}{%
+    \thispagestyle{plain}
+    \renewcommand\thepage{\roman{page}}
+    \par\ \par
+    \vspace*{2in}
+     \begin{flushleft}
+     \large
+     {\bfseries Proceedings Trim Size: 9in x 6in \\
+     Text Area: 7.35in (include runningheads) x 4.5in \\
+     Main Text is 10/13pt} \\[29pt]
+     {\large For Half-Title Page (prepared by publisher)}
+    \end{flushleft}
+    \vfill
+    \pagebreak\par
+    \thispagestyle{plain}
+    \ \par
+    \vspace*{2.5in}
+    {\begin{center}\large Publishers' page --- (Blank page)\end{center} }\par
+    \vfill
+    \pagebreak\par
+    \thispagestyle{plain}
+    \ \par
+    \vspace*{2.5in}
+    {\begin{center}\large For Full Title Page (prepared by publisher)
+    \end{center} }\par
+    \vfill
+    \pagebreak
+    \vspace*{2.5in}
+    {\begin{center}\large For Copyright Page (prepared by publisher)
+    \end{center} }\par
+    \vfill
+    \pagebreak\par}{\par}%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%% Part %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\CNfont{\large\bfseries}
+\def\CTfont{\Large\bfseries\boldmath{}}
+\newcounter{part}
+\renewcommand\thepart{\Alph{part}}
+\newcommand\part{\cleardoublepage
+                 \renewcommand\thepage{\arabic{page}}
+                 \thispagestyle{pblind}%
+                 \global\@topnum\z@
+                 \@afterindentfalse
+                 \secdef\@part\@spart}
+%
+\def\@part[#1]#2#3{%
+ {\vspace*{3pc}
+  \vbox{\parindent\z@ \reset@font
+         \refstepcounter{part}
+%    \addcontentsline{toc}{part}{#2}
+    \addcontentsline{toc}{part}{Part~\thepart\quad #1}
+         \vskip 1.4in
+         {\centering{\CNfont PART \thepart}
+         \par
+         \vskip 12\p@
+    \vbox{\CTfont #1}\par}
+    \vskip 106\p@
+    \vbox{\noindent #3}\par
+    \nobreak}}
+  \@endpart}
+%
+\def\@spart#1{%
+    {\PTfont #1\par}%
+    \@endpart}
+%
+\def\@endpart{\vfil\newpage
+              \if@twoside
+                \hbox{}%
+                \thispagestyle{pblind}%
       \newpage
-      \global\@topnum\z@   % Prevents figures from going at top of page.
-      \@maketitle
-    \fi
-    \thispagestyle{mypage}\@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
+              \fi}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%Title %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\@clinebuf{}
+%
+\def\title#1{
+    \setcounter{section}{0}
+    \setcounter{subsection}{0}
+    \setcounter{subsubsection}{0}
+    \setcounter{footnote}{0}
+    \setcounter{table}{0}
+    \setcounter{figure}{0}
+    \setcounter{equation}{0}
+    \setcounter{appendixc}{0}
+    \@addtoreset{theorem}{section}
+    \renewcommand{\thelemma}{\thesection.\arabic{lemma}}
+    \renewcommand{\thetheorem}{\thesection.\arabic{theorem}}
+    \renewcommand{\thedefinition}{\thesection.\arabic{definition}}
+    \renewcommand{\thecorollary}{\thesection.\arabic{corollary}}
+    \renewcommand\theequation{\arabic{equation}}
+    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+    \long\def\@makefntext##1{\noindent
+    \@textsuperscript{\normalfont\@thefnmark}{{##1}}}%
+   %\cleardoublepage %to start a new paper in odd page
+    \thispagestyle{plain}\@thanks
+    \vspace*{-14pt}
+    \vskip 79pt
+    \@clinebuf
+    {\centering{\titlefont #1\par}}%
+    \vskip 1em
 }
+\def\subtitle#1{\titlefont :~{{#1}}}
 %
-\def\title#1{\gdef\@title{\uppercase{#1}}}
-\def\@title{\@latex@error{No \expand\title given}\@ehc}
-%%
-\def\@maketitle{%
-  \newpage
-  \null
-\vspace*{-0.10in}
-  \begin{center}%
-  \let \footnote \thanks
-    {\bf \@title \par}%
-    \vskip 2em%
-   \@aabuffer
-\end{center}%
- \par}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Title %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-%%%%%%%%%%%%
 %
-\def\@aabuffer{}
-\def\author #1{\expandafter\def\expandafter\@aabuffer\expandafter
-        {\@aabuffer\normalsize\rm\uppercase{#1}\relax\par
-        \vspace*{2pt}}}%\vspace{0.75em}
-\def\address#1{\expandafter\def\expandafter\@aabuffer\expandafter
-        {\@aabuffer\normalsize\it #1\relax\par
-        \vspace{1.5em}}}
-%%%
-\long\def\abstract#1{
-        \begin{center}
-        \begin{minipage}{5.2truein}
-        \footnotesize
-        \parindent1em\noindent\ignorespaces#1
-        \end{minipage}
-        \end{center}
-        \vskip1.5em}
+\newcounter{ptitl}
+\def\@empty{}
+
+\def\wstoc#1#2{\refstepcounter{ptitl}
+    \addtocontents{toc}
+    {\protect\contentsline{chapter}
+        \protect{\noindent#1}{\thepage}
+    }
+    \ifx#2\@empty\else
+    \addcontentsline{toc}{authors}{\noindent#2}\fi
+    }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Local Definitions %%%%%%%%%%%%%%%%%%%%%%
 %
-%ACKNOWLEDGEMENT: this portion is from John Hershberger
+\def\cdash{$^{\raisebox{-0.5pt}{\hbox{--}}}$}
+\def\mtb{\fboxsep=0pt\fbox{\phantom{e}}}
+\def\email#1{\it #1\par}
+\def\http#1{\it http://#1\par}
+
+\def\breakhere{\par\vskip-\lastskip
+            \pagebreak}
+\def\forcebreak{\vadjust{\pagebreak}}
 %
-\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout
-        {\string\citation{#2}}\fi
-\def\@citea{}\@cite{\@for\@citeb:=#2\do
-        {\@citea\def\@citea{,}\@ifundefined
-        {b@\@citeb}{{\bf ?}\@warning
-        {Citation `\@citeb' on page \thepage \space undefined}}
-        {\csname b@\@citeb\endcsname}}}{#1}}
+
+\newcommand{\cal}{\protect\pcal}
+\newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}}
+%
+\def\author#1{\par
+    {\centering{\authorfont#1}\par\vspace*{0.05in}}
+}
+
+\def\address#1{\par
+    {\centering{\affiliationfont#1\par}}\par\vspace*{11pt}
+}
+%
+\newenvironment{abstract}{\par%
+    \vspace*{6pt}
+    \abstractfont
+    \noindent\leftskip18pt\rightskip18pt
+}{%
+  \par}
+%
+\def\keywords#1{\par
+    \vspace*{8pt}
+    {\authorfont{\leftskip18pt\rightskip\leftskip
+    \noindent{\it Keywords}\/:\ #1\par}}\vskip-12pt}
+%
+\def\category#1#2{\par
+    \vspace*{8pt}
+    {\authorfont{\leftskip18pt\rightskip\leftskip
+    \noindent{\it Categories}\/:\ #1:\ #2\par}}\par}
 %
 \newif\if@cghi
 \def\cite{\@cghitrue\@ifnextchar [{\@tempswatrue
@@ -273,46 +396,63 @@
         ignored: `#2'} \fi}}
 \newcommand{\citeup}{\cite}
 %
-\newenvironment{quotation}
-               {\list{}{\listparindent 1.5em%
-                        \itemindent    \listparindent
-                        \rightmargin   \leftmargin
-                        \parsep        \z@ \@plus\p@}%
-                \item\relax}
-               {\endlist}
-%
-\newenvironment{quote}
-               {\list{}{\rightmargin\leftmargin}%
-                \item\relax}
-               {\endlist}
-%
-\newenvironment{description}
-               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
-                        \let\makelabel\descriptionlabel}}
-               {\endlist}
-\newcommand*\descriptionlabel[1]{\hspace\labelsep
-                                \normalfont\bfseries #1}
-%%%%%
+\newcount\@tempcntc
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
+  {\@ifundefined
+   {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}%
+     {\mbox{\bfseries ?}}\@warning
+   {Citation `\@citeb' on page \thepage \space undefined}}%
+  {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
+   \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
+    \@citea\def\@citea{;\ }\hbox{\csname b@\@citeb\endcsname}%
+   \else
+    \advance\@tempcntb\@ne
+    \ifnum\@tempcntb=\@tempcntc
+    \else\advance\@tempcntb\m@ne\@citeo
+    \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
+\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,}%
+ \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
+  {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{\mbox{--\/}}\fi
+   \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
+\def\@refcitex[#1]#2{\if@filesw\immediate\write\@auxout
+    {\string\citation{#2}}\fi
+\def\@citea{}\@refcite{\@for\@citeb:=#2\do
+    {\@citea\def\@citea{, }\@ifundefined
+    {b@\@citeb}{{\bf ?}\@warning
+    {Citation `\@citeb' on page \thepage \space undefined}}
+    \hbox{\csname b@\@citeb\endcsname}}}{#1}}
+ \def\@refcite#1#2{{#1\if@tempswa\typeout
+        {WSPC warning: optional citation argument
+    ignored: `#2'} \fi}}
+ \def\refcite{\@ifnextchar[{\@tempswatrue
+    \@refcitex}{\@tempswafalse\@refcitex[]}}
+%%%%%%%%%%%%%%%%%%%%%%%% Table of Contents %%%%%%%%%%%%%%%%%%%%%%%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Lists %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\@listI{\leftmargin\leftmargini
+            \listparindent\itemindent
+            \parsep \z@\labelsep.5em
+            \topsep 6.5\p@ \@plus3\p@% \@minus2\p@
+            \itemsep0\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
+\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}
+              \topsep    3.5\p@ \@plus2\p@ \@minus\p@
+              \parsep    \z@
+              \itemsep\z@}
 \def\@listiii{\leftmargin\leftmarginiii
               \labelwidth\leftmarginiii
               \advance\labelwidth-\labelsep
-              \topsep    2\p@ \@plus\p@\@minus\p@
+              \topsep 3.5\p@ \@plus\p@\@minus\p@
               \parsep    \z@
-              \partopsep \p@ \@plus\z@ \@minus\p@
-              \itemsep   \topsep}
+             % \partopsep \p@ \@plus\z@ \@minus\p@
+              \itemsep0\p@}%
 \def\@listiv {\leftmargin\leftmarginiv
               \labelwidth\leftmarginiv
               \advance\labelwidth-\labelsep}
@@ -323,21 +463,22 @@
               \labelwidth\leftmarginvi
               \advance\labelwidth-\labelsep}
 %
-\setlength\leftmargini{2em}
-\leftmargin\leftmargini
+\setlength\leftmargini{3pc}
 \setlength\leftmarginii{2.2em}
 \setlength\leftmarginiii{1.87em}
 \setlength\leftmarginiv{1.7em}
-\setlength\leftmarginv{.5em}
-\setlength\leftmarginvi{.5em}
+\setlength\leftmarginv{1em}
+\setlength\leftmarginvi{1em}
+\setlength\leftmargin{\leftmargini}
+\setlength\listparindent{\parindent}
 \setlength\labelsep{.5em}
 \setlength\labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
-\renewcommand\theenumi{\@arabic\c@enumi}
-\renewcommand\theenumii{\@alph\c@enumii}
-\renewcommand\theenumiii{\@roman\c@enumiii}
-\renewcommand\theenumiv{\@Alph\c@enumiv}
-\newcommand\labelenumi{\theenumi.}
+\renewcommand\theenumi{\arabic{enumi}}
+\renewcommand\theenumii{\alph{enumii}}
+\renewcommand\theenumiii{\roman{enumiii}}
+\renewcommand\theenumiv{\Alph{enumiv}}
+\newcommand\labelenumi{(\theenumi)}
 \newcommand\labelenumii{(\theenumii)}
 \newcommand\labelenumiii{\theenumiii.}
 \newcommand\labelenumiv{\theenumiv.}
@@ -349,71 +490,156 @@
 \newcommand\labelitemiii{$\m@th\ast$}
 \newcommand\labelitemiv{$\m@th\cdot$}
 %
-%FOLLOWING THREE COMMANDS ARE FOR `LIST' COMMAND.
-\topsep=0in
-\parsep=0in
-\itemsep=0in
-%
-\newcounter{arabiclistc}
-\newenvironment{arabiclist}
-        {\setcounter{arabiclistc}{0}
-         \begin{list}{\arabic{arabiclistc}}
-        {\usecounter{arabiclistc}
-         \setlength{\parsep}{0pt}
-         \setlength{\itemsep}{0pt}}}{\end{list}}
+\def\enummax#1{\setbox\tempbox=\hbox{#1\hskip\labelsep}%
+  \expandafter\global\csname leftmargin\romannumeral\the\@enumdepth\endcsname\wd\tempbox}
+%
+\def\enumerate{\@ifnextchar[{\@enumerate}{\@enumerate[\csname label\@enumctr\endcsname]}}
 %
-\setcounter{secnumdepth}{2}
+\def\@enumerate[#1]{\ifnum \@enumdepth >3 \@toodeep\else
+      \advance\@enumdepth \@ne\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
+      \enummax{#1}\list
+      {\csname label\@enumctr\endcsname}{\usecounter
+        {\@enumctr}\def\makelabel##1{\hss\llap{##1}}}\fi}
+%
+\let\Item\item
+\newenvironment{enumeroman}{%
+  \def\theenumi{\roman{enumi}}\def\theenumii{\alph{enumii}}%
+  \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
+        \let\item\Item
+  \begin{enumerate}%
+}{%
+  \end{enumerate}}
+%
+\newenvironment{alphlist}{%
+  \def\theenumi{\alph{enumi}}\def\theenumii{\alph{enumii}}%
+  \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
+        \let\item\Item
+  \begin{enumerate}%
+}{%
+  \end{enumerate}}
+%
+\newenvironment{arabiclist}{%
+    \def\theenumi{\arabic{enumi}}\def\theenumii{\alph{enumii}}
+    \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
+    \let\item\Item
+    \begin{enumerate}
+    }{%
+    \end{enumerate}}
+%
+\newenvironment{romanlist}{%
+    \def\theenumi{\roman{enumi}}\def\theenumii{\alph{enumii}}
+    \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
+    \let\item\Item
+    \begin{enumerate}
+    }{%
+    \end{enumerate}}
+%
+\newenvironment{itemlist}{%
+    \def\labelenumi{\labelitemi}
+    \let\item\Item
+    \begin{enumerate}
+    }{%
+    \end{enumerate}}
+%
+\newenvironment{description}
+               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
+                        \let\makelabel\descriptionlabel}}
+               {\endlist}
+\newcommand*\descriptionlabel[1]{\hspace\labelsep
+                                \normalfont\bfseries #1}
+%
+\newenvironment{unnumlist}{%
+    \let\item\Item
+    \leftmargini2pc
+    \ifnum \@enumdepth >3 \@toodeep\else
+        \advance\@enumdepth \@ne
+        \list{}{\itemindent-2pc\topsep6pt
+              \def\makelabel##1{\hss\llap{##1}}}%
+   \fi
+}{%
+  \endlist}
+%
+\newenvironment{quote}
+               {\list{}{\rightmargin18pt\leftmargin18pt}%
+                \item[]}
+               {\endlist}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%% Sections %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\setcounter{secnumdepth}{3}
 \newcounter {section}
 \newcounter {subsection}[section]
-\renewcommand\thesection      {\@arabic\c@section}
-\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
+\newcounter {subsubsection}[subsection]
+\newcounter {paragraph}[subsubsection]
+\newcounter {subparagraph}[paragraph]
+\renewcommand\thesection      {\arabic{section}}
+\renewcommand\thesubsection   {\thesection.\arabic{subsection}}
+\renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}}
+\renewcommand\theparagraph    {\thesubsubsection.\arabic{paragraph}}
+\renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}}
+%
+\newcommand\section{\@startsection{section}{1}{\z@}{-18pt \@plus-3pt minus-6pt}{5pt}{\sectionfont}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}{-18pt \@plus-3pt minus-6pt}{5pt}{\subsectionfont}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-18pt \@plus-3pt minus-3pt}{5pt}{\subsubsectionfont}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}{12pt \@plus -3pt}{-.5em}{\paragraphfont}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}{3.25ex \@plus1ex}{-1em}{\subparagraphfont}}
+%
+\def\@seccntformat#1{{\upshape{\csname the#1\endcsname.}}\hskip .5em}
+%
+\def\body{
+\setcounter{footnote}{0}
+\def\thefootnote{\alph{footnote}}
+\def\@makefnmark{{$^{\rm \@thefnmark}$}}
+}
+\def\bodymatter{\body}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Floats %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                    {-3.5ex \@plus -1ex \@minus -.2ex}%
-                    {2.3ex \@plus.2ex}%
-                    {\rightskip1pc plus1fil\normalfont\normalsize\bfseries}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                    {-3.25ex\@plus -1ex \@minus -.2ex}%
-                    {1.5ex \@plus .2ex}%
-                    {\rightskip1pc plus1fil\normalfont\normalsize\it }}
-%
-\setcounter{topnumber}{2}
-\renewcommand\topfraction{.7}
-\setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.3}
-\setcounter{totalnumber}{3}
-\renewcommand\textfraction{.2}
-\renewcommand\floatpagefraction{.5}
+\setcounter{topnumber}{3}
+\def\topfraction{.98}
+\setcounter{bottomnumber}{3}
+\def\bottomfraction{.98}
+\setcounter{totalnumber}{6}%4
+\def\textfraction{.01}
+\def\floatpagefraction{.98100}
 \setcounter{dbltopnumber}{2}
-\renewcommand\dbltopfraction{.7}
-\renewcommand\dblfloatpagefraction{.5}
+\def\dbltopfraction{.981}
+\def\dblfloatpagefraction{.99}
+%
 %
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{6\p@}
-\setlength\belowcaptionskip{6\p@}
-%%
-\InputIfFileExists{psfig.sty}{}{}
-\InputIfFileExists{epsfsafe.tex}{}{}
-\InputIfFileExists{epsfig.sty}{}{}
-\InputIfFileExists{epsf.sty}{}{}
+\setlength\abovecaptionskip{6\p@}% plus3pt minus3pt}
+\setlength\belowcaptionskip{-1\p@}
+%
+\def\FigName{figure}%
+%
+\InputIfFileExists{psfig.sty}{\typeout{^^Jpsfig.sty inputed...ok}}{\typeout{^^JWarning: psfig.sty could be be found.^^J}}
+\InputIfFileExists{epsfsafe.tex}{\typeout{^^Jepsfsafe.tex inputed...ok}}
+            {\typeout{^^JWarning: epsfsafe.tex could not be found.^^J}}
+\InputIfFileExists{epsfig.sty}{\typeout{^^Jepsfig.sty inputed...ok}}{\typeout{^^JWarning: epsfig.sty could not be found.^^J}}
+\InputIfFileExists{epsf.sty}{\typeout{^^Jepsf.sty inputed...ok}}{\typeout{^^JWarning: epsf.sty could not be found.^^J}}%
+%
+\newbox\captionbox
 %
-\def\captionfont{\normalfont\footnotesize{}}
 \long\def\@makecaption#1#2{%
-        \captionfont
+  \ifx\FigName\@captype
  \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1.\hskip.5em#2}%
-  \ifdim \wd\@tempboxa >\hsize
-    \noindent #1.\hskip.5em#2\par
+    \setbox\captionbox\hbox{%
+    {\figurecaptionfont#1.\unskip\ignorespaces\hskip1em#2\par}}
+    \ifdim\wd\captionbox>\hsize
+    {\figurecaptionfont#1.\unskip\ignorespaces\hskip1em#2\par}\par
   \else
-    \global \@minipagefalse
-    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+    \centerline{\figurecaptionfont#1.\unskip\ignorespaces\hskip1em#2}\par
+    \fi\else\global\setbox\captionbox\hbox{%
+    {\tablecaptionfont#1.\ignorespaces\hskip1em#2\par}}
   \fi
-  \vskip\belowcaptionskip}
+}
 %
+\def\figurename{Fig.}
 \newcounter{figure}
 \renewcommand\thefigure{\@arabic\c@figure}
-\def\fps@figure{tbp}
+\def\fps@figure{htbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
 \def\fnum@figure{\figurename~\thefigure}
@@ -424,19 +650,24 @@
                {\@dblfloat{figure}}
                {\end@dblfloat}
 %
+\def\ArtDir{\jobname/}
 \def\figurebox#1#2#3{%
         \def\arg{#3}%
         \ifx\arg\empty
-        {\hfill\vbox{\hsize#2\hrule\hbox to #2{\vrule\hfill\vbox to #1{\hsize#2\vfill}\vrule}\hrule}\hfill}%
+        {\hfill\vbox{\hsize#2\hrule\hbox to #2{%
+                \vrule\hfill\vbox to #1{\hsize#2\vfill}\vrule}\hrule}\hfill}%
         \else
-        {\hfill\epsfbox{#3}\hfill}%
+        \hbox to \hsize{\hfill\epsfbox{\ArtDir#3.eps}\hfill}
         \fi}
 %
-\def\@figurecaption#1#2{\unskip\vskip10pt{#1.\hskip.5em#2\par}}
+\def\PSFIG#1#2#3{\par
+  {\hbox to \hsize{%
+    \hfill{\psfig{file=\ArtDir#1.eps,width=#2,angle=#3}}\hfill}\par}}%
 %
 \newcounter{table}
+\def\tablename{Table}
 \renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{tbp}
+\def\fps@table{htbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
 \def\fnum@table{\tablename~\thetable}
@@ -447,127 +678,423 @@
                {\@dblfloat{table}}
                {\end@dblfloat}
 %
-\setlength\arraycolsep{1.5\p@}%5pt
+\long\def\tbl#1#2{%
+    \parindent\z@\ignorespaces\noindent\tablecaptionfont
+    \caption{#1}%
+    \par\setbox\tempbox\hbox{\tablefont #2}%
+    \tablewd\hsize\advance\tablewd-\wd\tempbox\global\divide\tablewd\tw@
+    \ifdim\wd\captionbox<\wd\tempbox\centerline{\unhbox\captionbox}
+    \else\leftskip\tablewd\rightskip\leftskip{\unhbox\captionbox}\par
+    \fi\vskip5pt\centerline{\box\tempbox}
+}%
+\long\def\ttbl#1#2#3{%
+    \parindent\z@
+    \noindent
+    \tablecaptionfont
+    \caption{#2}%
+    \tablewd\hsize
+    \advance\tablewd-#1
+    \global\divide\tablewd\tw@
+    \ifdim \wd\captionbox<#1
+    \centerline{\unhbox\captionbox}
+    \else
+    {\leftskip\tablewd% plus1fill{}
+    \rightskip\tablewd% plus1fill{}
+    \unhbox\captionbox\par}
+    \fi
+    \vskip-8pt
+    \centerline{#3}
+}%
+%
+\newenvironment{InTextTable}{%
+    \par\addvspace{16pt plus6pt minus6pt}%
+    \begin{center}
+    \tablecaptionfont\noindent\ignorespaces
+}{%
+    \end{center}
+    \par\addvspace{17pt plus6pt minus6pt}}
+%
+\newenvironment{tabnote}{%
+    \par\vskip5pt\footnotesize%
+    \@ifnextchar[{\@tabnote}{\@tabnote[Note]}}{%
+    \par\vskip-5pt}
+\def\@tabnote[#1]{%
+    \leftskip\tablewd\rightskip\leftskip {\it #1}\/:\ \ignorespaces}
+%
+
+\def\Hline{%
+  \noalign{\ifnum0=`}\fi\hrule \@height 2\arrayrulewidth \futurelet
+   \@tempa\@xhline}
+
+\def\x{@{\extracolsep{\fill}}}
+\def\toprule{\Hline\\[-6.5pt]}
+\def\colrule{\\[-7pt]\hline\\[-6pt]}
+\def\TMcolrule{\\[-9.5pt]\hline\\[-9.5pt]}
+\def\botrule{\\[-7pt]\Hline}
+\def\crule#1{\\[-7pt]#1\\[-6pt]}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Maths %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\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{0\p@}
-\setlength\fboxrule{.2\p@}
-\renewcommand\theequation{\@arabic\c@equation}
-%
-\newcommand\@pnumwidth{1.55em}
-\newcommand\@tocrmarg{2.55em}
-\newcommand\@dotsep{4.5}
+\setlength\fboxsep{3\p@}
+\setlength\fboxrule{.4\p@}
+
+\renewcommand\theequation{\arabic{equation}}
+
+%
+\setlength\columnsep{10\p@}
+\setlength\columnseprule{0\p@}
+%
+\def\bstrut{\vrule width0pt depth5pt}
+\def\tstrut{\vrule width0pt height10pt}
+\jot=3pt
+%
+
+\def\refstepeqcnt{\refstepcounter{equation}}
+\def\eqnnum{\displaywidth\linewidth\hbox{\@eqnnum}}
+%
+\def\@equation{\let\topsep\abovedisplayskip\@beginparpenalty\predisplaypenalty\@endparpenalty\postdisplaypenalty
+     \refstepeqcnt
+     \trivlist \item[]\leavevmode
+       \hbox to\linewidth\bgroup\hfill $\m@th% $
+       \displaystyle}%
+\def\end@equation{$\hfill\eqnnum\egroup\endtrivlist}
+%
+\renewenvironment{eqnarray}{%
+   \stepcounter{equation}%
+   \def\@currentlabel{\p@equation\theequation}%
+   \global\@eqnswtrue
+   \m@th
+   \global\@eqcnt\z@
+   \tabskip\@centering
+   \let\\\@eqncr
+   $$\everycr{}\halign to\displaywidth\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
+   $$\global\@ignoretrue
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Footnote %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 \renewcommand\footnoterule{%
   \kern-3\p@
-  \hrule\@width.4\columnwidth
+%  \hrule depth0pt height0pt \@width.2\columnwidth
+  \hrule width .4\columnwidth
   \kern2.6\p@}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
      \@makefnmark#1}
 %
+\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or
+    \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
+    \or \ddagger\ddagger \else\@ctrerr\fi}}
+%
 \def\thefootnote{\alph{footnote}}
-\def\@makefnmark{{$^{\@thefnmark}$}}
-%%%%% page style %%%
-\mark{{}{}}%
+\def\@makefnmark{{$^{\rm \@thefnmark}$}}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Page Style %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\mark{{}{}}
+%
+\def\ps@plain{%
+     \let\@mkboth\@gobbletwo
+    \let\@oddfoot\@empty
+    \let\@evenfoot\@empty
+    \def\@evenhead{\rhfont{\upshape{\thepage}}\hfill}%
+    \def\@oddhead{\hfill\rhfont{\upshape{\thepage}}}}%
 %
 \def\RightMark{}
 %
-\def\foliofont{\fontsize{12}{12}\selectfont}
 \def\ps@headings{%
-        \def\@oddfoot{\vbox{\vskip22pt
-          \hbox to 5.6truein{\hfill\reset@font\normalsize\phantom{777}\hfill}
-          \vskip0.3truein
-          \hbox to 5.6truein{\rightnote\hfil\fbox{{\bf \thepage}}\par}}}
-        \let\@evenfoot\@oddfoot
-        \def\@evenhead{\vbox{\par
-        \hbox to 5.6in{{\fbox{\phantom{\foliofont 777}}}\hfill{\sf For Publisher's use}\hfill\fbox{\phantom{\foliofont 777}}}\hrule height0.1pt width5.6in depth0pt\par}}
-        \def\@oddhead{\vbox{\par
-        \hbox to 5.6in{{\fbox{\phantom{\foliofont 777}}}\hfill{\sf For Publisher's use}\hfill\fbox{\phantom{\foliofont 777}}}\hrule height0.1pt width5.6in depth0pt\par}}%
+    \let\@oddfoot\@empty
+    \let\@evenfoot\@empty
+    \def\@evenhead{\rhfont{\upshape{\thepage}}\hskip1em\leftmark\hfill}%
+    \def\@oddhead{\hfill\rhfont\rightmark\hskip1em{\upshape{\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}}}
+    \def\authormark##1{\markboth{##1}{\RightMark}}%
+    \def\chaptermark##1{\gdef\RightMark{##1}\markright{##1}}}%
+    %\def\sectionmark##1{\gdef\RightMark{##1}\markright{##1}}}%
 %
-\def\ps@plain{%
+\def\ps@myheadings{%
+    \let\@oddfoot\@empty\let\@evenfoot\@empty
+    \def\@evenhead{\rlap{\foliofont \thepage}\hfill{\rhfont\leftmark}\hfill}%
+    \def\@oddhead{\hfill{\rhfont\rightmark}\hfill{\foliofont\thepage}}%
      \let\@mkboth\@gobbletwo
-     \let\@oddhead\@empty
-     \def\@oddfoot{\hfill\mbox{\lower12pt\hbox{\thepage}}\hfill}%
-     \let\@evenhead\@empty
-     \let\@evenfoot\@oddfoot}
+    \let\chaptermark\@gobble
+    \let\sectionmark\@gobble}
 %
-\def\ps@mypage{%
+\def\ps@pblind{%
      \let\@mkboth\@gobbletwo
-%     \def\@oddhead{\hfill\mbox{\hbox{Invited talk to the XXX$^{th}$
-%           International Conference on High Energy Physics,
-%           ICHEP 2000, Osaka, Japan, July  27$^{th}$ -- August 2$^{nd}$, 2000.
-%           To appear in the proceedings}\hfill}%
-     \def\@oddfoot{\hfill\mbox{\lower12pt\hbox{\thepage}}\hfill}%
-     \def\@oddhead{\hfill\mbox{\hbox{
-           To appear in the proceedings of ICHEP 2000, Osaka, Japan, July  27$^{th}$ -- August 2$^{nd}$, 2000 }}\hfill}%
-     \let\@evenhead\@empty
+    \def\@evenhead{}%
+    \def\@oddhead{}
+    \def\@oddfoot{\hfill\mbox{\lower8pc\hbox{}}\hfill}
      \let\@evenfoot\@oddfoot}
 %
-\def\ps@myheadings{%
-        \def\@oddfoot{\vbox{\vskip22pt
-          \hbox to 5.6truein{\hfill\reset@font\normalsize\phantom{777}\hfill}
-          \vskip0.4truein
-          \hbox to 5.6truein{\rightnote\hfil\thepage\par}}}
-        \let\@evenfoot\@oddfoot
-        \def\@evenhead{\hbox to 5.6in{\leftmark\hfill}}%
-        \def\@oddhead{\hbox to 5.6in{\hfill\rightmark}}%
- \let\@mkboth\markboth
-    \def\authormark##1{\markboth{##1}{\RightMark}}%
-    \def\chaptermark##1{\gdef\RightMark{##1}\markright{##1}}}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%% Index Shortcuts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
+\def\aindx#1{\index{author}{#1}}    %For Author index
+\def\sindx#1{\index{subject}{#1}}   %For Subject index
+\def\gindx#1{\index{general}{#1}}   %For General index
+%
+%%%%%%%%%%%%%%%%%%%%%%%% THEOREM ENVIRONMENTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\@xthm#1#2{\@begintheorem{#2}{\csname the#1\endcsname}{}\ignorespaces}
+\def\@ythm#1#2[#3]{\@opargbegintheorem{#2}{\csname the#1\endcsname}{#3}\ignorespaces}
+\def\@opargbegintheorem#1#2#3{\trivlist
+      \item[\hskip \labelsep{\bfseries #1\ #2\ (#3).}]\itshape}
+%
+\let\Casefont\upshape%
+\let\Commentfont\upshape%
+\let\Conditionfont\upshape
+\let\Conventionfont\upshape
+\let\Criterionfont\upshape
+\let\Definitionfont\upshape%
+\let\Questionfont\upshape
+\let\Notationfont\upshape
+\let\Notefont\upshape
+\let\Remarkfont\upshape
+\let\Examplefont\upshape
+\let\Propfont\upshape
+\let\Observationfont\upshape
+\let\Solutionfont\upshape
+\let\Stepfont\upshape
+\let\Summaryfont\upshape
+\let\Algorithmfont\itshape
+\let\Answerfont\itshape
+\let\Assertionfont\itshape
+\let\Assumptionfont\itshape
+\let\Claimfont\itshape
+\let\Conjecturefont\itshape
+\let\Corollaryfont\itshape
+\let\Lemmafont\itshape
+\let\Theoremfont\itshape
+\let\Problemfont\itshape
+\let\Propositionfont\itshape
+%
+\let\Algorithmheadfont\bfseries
+\let\Answerheadfont\bfseries
+\let\Assertionheadfont\bfseries
+\let\Assumptionheadfont\bfseries
+\let\Caseheadfont\bfseries
+\let\Claimheadfont\bfseries
+\let\Commentheadfont\bfseries
+\let\Conditionheadfont\bfseries
+\let\Conjectureheadfont\bfseries
+\let\Conventionheadfont\bfseries
+\let\Corollaryheadfont\bfseries
+\let\Criterionheadfont\bfseries
+\let\Definitionheadfont\bfseries
+\let\Exampleheadfont\bfseries
+\let\Lemmaheadfont\bfseries
+\let\Notationheadfont\bfseries
+\let\Noteheadfont\bfseries
+\let\Observationheadfont\bfseries
+\let\Problemheadfont\bfseries
+\let\Propheadfont\bfseries
+\let\Propositionheadfont\bfseries
+\let\Questionheadfont\bfseries
+\let\Remarkheadfont\bfseries
+\let\Solutionheadfont\bfseries
+\let\Stepheadfont\bfseries
+\let\Summaryheadfont\bfseries
+\let\Theoremheadfont\bfseries
+%
+\def\@begintheorem#1#2#3{\par\addvspace{8pt plus3pt minus2pt}%
+              \noindent{\csname#1headfont\endcsname#1\ \ignorespaces#3 #2.}%
+              \csname#1font\endcsname\hskip.5em\ignorespaces}
+\def\@endtheorem{\par\addvspace{8pt plus3pt minus2pt}\@endparenv}
+%
+\newtheorem{algorithm}{Algorithm}[section]
+%\newtheorem{answer}{Answer}[section]
+\newtheorem{assertion}{Assertion}[section]
+\newtheorem{assumption}{Assumption}[section]
+%\newtheorem{case}{Case}[section]
+\newtheorem{claim}{Claim}[section]
+%\newtheorem{comment}{Comment}[section]
+\newtheorem{condition}{Condition}[section]
+\newtheorem{conjecture}{Conjecture}[section]
+\newtheorem{convention}{Convention}[section]
+\newtheorem{corollary}{Corollary}[section]
+\newtheorem{criterion}{Criterion}[section]
+\newtheorem{definition}{Definition}[section]
+\newtheorem{example}{Example}[section]
+\newtheorem{lemma}{Lemma}[section]
+\newtheorem{notation}{Notation}[section]
+%\newtheorem{note}{Note}[section]
+\newtheorem{observation}{Observation}[section]
+\newtheorem{problem}{Problem}[section]
+\newtheorem{prop}{Prop}[section]
+\newtheorem{proposition}{Proposition}[section]
+\newtheorem{question}{Question}[section]
+\newtheorem{remark}{Remark}[section]
+%\newtheorem{solution}{Solution}[section]
+%\newtheorem{step}{Step}
+%\newtheorem{summary}{Summary}[section]
+\newtheorem{theorem}{Theorem}[section]
+%
+\newenvironment{answer}[1][Answer]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newenvironment{case}[1][Case]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newenvironment{comment}[1][Comment]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newenvironment{note}[1][Note]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newenvironment{solution}[1][Solution]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newenvironment{step}[1][Step]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newenvironment{summary}[1][Summary]{\begin{trivlist}
+\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
+%
+\newif\iflogo
+\def\prbox{\par
+    \vskip-\lastskip\vskip-\baselineskip\hbox to \hsize{\hfill\fboxsep0pt\fbox{\phantom{\vrule width5pt height5pt depth0pt}}}\global\logofalse}
+%
+\newenvironment{proof}{%
+    \par\addvspace{12pt plus3pt minus3pt}
+   \global\logotrue
+   \@ifnextchar[{\@proof}{\@proof[Proof]}%
+   }{%
+    \par\iflogo\vskip-\lastskip
+    \vskip-\baselineskip\prbox\par
+    \addvspace{12pt plus3pt minus3pt}\fi}
+%
+\def\@proof[#1]{\noindent{\normalfont\bfseries#1.}\hskip.5em\ignorespaces}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CITATIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\newcommand{\eref}[1]{Eq.~(\ref{#1})}
+\newcommand{\sref}[1]{Sec.~\ref{#1}}
+\newcommand{\cref}[1]{Chap.~\ref{#1}}
+\newcommand{\fref}[1]{Fig.~\ref{#1}}
+\newcommand{\tref}[1]{Table~\ref{#1}}
+\newcommand{\Eref}[1]{Equation (\ref{#1})}
+\newcommand{\Sref}[1]{Section~\ref{#1}}
+\newcommand{\Cref}[1]{Chapter~\ref{#1}}
+\newcommand{\Fref}[1]{Figure~\ref{#1}}
+\newcommand{\Tref}[1]{Table~\ref{#1}}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\newdimen\bibindent
+\bibindent=2em
+\def\@biblabel#1{#1.}
 \newenvironment{thebibliography}[1]
-        {\section*{\refname}
-        \begin{list}{\arabic{enumi}.}
-        {\usecounter{enumi}\setlength{\parsep}{0pt}
-         \setlength{\itemsep}{0pt} \settowidth
-        {\labelwidth}{#1.}\sloppy}}{\end{list}}
-%
-\newcommand\appendix{\par
-  \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}
-        \section*{\appendixname}}
-%
-\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}
+     {\section*{\bibname}\bibfont%
+      \list{\@biblabel{\arabic{enumiv}}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+        \labelsep6pt%.33em
+            \advance\leftmargin\labelsep
+        \itemsep0pt\parsep0pt
+            \usecounter{enumiv}%
+            \renewcommand\theenumiv{\arabic{enumiv}}}%
+      \sloppy\clubpenalty4000\widowpenalty4000%
+      \sfcode`\.=\@m}
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
+      \endlist}
+\newcommand\newblock{}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\newcounter{appendixc}
+\newcounter{subappendixc}[appendixc]
+\newcounter{subsubappendixc}[subappendixc]
+\renewcommand{\theappendixc}{\Alph{appendixc}}
+\renewcommand{\thesubappendixc}{\Alph{appendixc}.\arabic{subappendixc}}
+\renewcommand{\thesubsubappendixc}
+   {\Alph{appendixc}.\arabic{subappendixc}.\arabic{subsubappendixc}}
+
+\newcommand{\appendix}[1]{
+       \vspace{14pt}
+       \refstepcounter{appendixc}
+       \setcounter{figure}{0}
+       \setcounter{table}{0}
+       \setcounter{lemma}{0}
+       \setcounter{theorem}{0}
+       \setcounter{corollary}{0}
+       \setcounter{definition}{0}
+       \setcounter{equation}{0}
+       \renewcommand{\thefigure}{\Alph{appendixc}\arabic{figure}}
+       \renewcommand{\thetable}{\Alph{appendixc}\arabic{table}}
+       \renewcommand{\theappendixc}{\Alph{appendixc}}
+       \renewcommand{\thelemma}{\Alph{appendixc}.\arabic{lemma}}
+       \renewcommand{\thetheorem}{\Alph{appendixc}.\arabic{theorem}}
+       \renewcommand{\thedefinition}{\Alph{appendixc}.\arabic{definition}}
+       \renewcommand{\thecorollary}{\Alph{appendixc}.\arabic{corollary}}
+       \renewcommand{\theequation}{\Alph{appendixc}.\arabic{equation}}
+       \noindent{\sectionfont\appendixname~\theappendixc.{~\boldmath~#1}}
+       \par\vspace{5pt}\@afterheading}
+
+\newcommand{\subappendix}[1]{\vspace{14pt}
+       \refstepcounter{subappendixc}
+       \noindent{\sectionfont\appendixname~\thesubappendixc.~{~\bfseries\boldmath\itshape #1}}
+       \par\vspace{8pt}\@afterheading}
+
+\newcommand{\subsubappendix}[1]{\vspace{14pt}
+       \refstepcounter{subsubappendixc}
+       \noindent{\appendixname~\thesubsubappendixc.~{~\subsubsectionfont #1}}
+       \par\vspace{8pt}\@afterheading}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\bib{B\kern-.05em{I}\kern-.025em{B}\kern-.08em}
+\def\btex{B\kern-.05em{I}\kern-.025em{B}\kern-.08em\TeX}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Trim Marks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\draftnote{\hbox to \trimwidth{\scriptsize\sf\ \today
+\quad\currenttime\hfil WSPC - Proceedings Trim Size: 9in x 6in
+\quad\jobname\hfil}}%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Crop Mark %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\cropmarks{\nointerlineskip%
+     \vbox to 0pt{\vskip-8.6pt
+    \parindent0pt\hspace*{6pt}\draftnote
+     \par\advance\trimheight by 2pc
+     \vbox to \trimheight{\offinterlineskip\parindent0pt\vskip-2pc
+     \hbox to \trimwidth{\raise2.6pc\hbox{\vrule height2pc width0.3pt}\raisebox{2pc}
+   {\hspace*{-2.6pc}\vrule width2pc height0.3pt}\hfill\raisebox{2pc}
+   {\vrule width2pc height0.3pt}\hspace*{-2.6pc}\raise2.6pc\hbox{\vrule height2pc width0.3pt}}\vfill
+     \hbox to \trimwidth{\lower1.2pc\hbox{\vrule height2pc width0.3pt}\raisebox{1.4pc}
+        {\hspace*{-2.6pc}\vrule width2pc height0.3pt}\hfill
+    \lower1.2pc\hbox{\vrule height2pc width0.3pt}\rlap{\hspace*{0.6pc}\raisebox{1.4pc}{\vrule width2pc height0.3pt}}}}}
+     \vbox to 0pt{\offinterlineskip\parindent0pt\vskip\topmargin%\vskip1.3pt
+     \tempdimen\normaltextheight
+     \advance\tempdimen24pt
+     \moveright\@themargin
+     \vbox to \tempdimen{\hrule height\draftrule
+     \vbox to 0pt{\vskip\headheight\vskip\headsep%\vskip3pt
+                \vrule height\draftrule width\textwidth}%
+      \hbox to \textwidth{\vrule width\draftrule \hfill\vrule height\tempdimen width\draftrule}%
+           \hrule height\draftrule}}}%%
+%
+\let\trimmarks\cropmarks
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Crop Marks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\def\rightnote{\jobname : {\it submitted to  {\bf World Scientific} on \today}}%
-\def\cropmarks{}%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%% Output Routine %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 %
 \def\@outputpage{%
@@ -591,13 +1118,13 @@
     \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
          \let\@themargin\oddsidemargin
     \else \let\@thehead\@evenhead
-       \let\@thefoot\@evenfoot \let\@themargin\oddsidemargin
+       \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
     \fi
   \fi
   \reset@font
   \normalsize
   \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
-    \@begindvi\cropmarks
+    \@begindvi%\trimmarks
     \vskip \topmargin
     \moveright\@themargin \vbox {%
       \setbox\@tempboxa \vbox to\headheight{%
@@ -632,21 +1159,25 @@
 \stepcounter{page}%
 \let\firstmark\botmark
 }
-%%
-\setlength\columnsep{0.20truein}
-\setlength\columnseprule{0\p@}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Process Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\pagestyle{headings}
+\pagenumbering{arabic}
+\onecolumn
+\frenchspacing
+\flushbottom
 \def\sloppy{\tolerance=100000\hfuzz=\maxdimen\vfuzz=\maxdimen}
+\sloppy
 \vbadness=12000
 \hbadness=12000
-\hoffset=-1cm
-\pagenumbering{arabic}
-\pagestyle{plain}
-\twocolumn
-\sloppy
-\flushbottom
+\usepackage{amsfonts,amssymb,amsmath}
+\usepackage[figuresright]{rotating}
+\usepackage{dcolumn,url}
+\usepackage{chapterbib}
+\usepackage[super,nospace]{cite}
+\let\refcite\citen
 \endinput
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%End %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%      For technical support please email: rajesh@wspc.com.sg

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns