arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/ws-ijmpb-rev.cls	2010-04-02 08:01:08.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ws-procs9x6-notrimmark.cls	2012-08-16 16:15:55.187298283 +0200
@@ -1,17 +1,18 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% Trim Size: 9.75in x 6.5in
-%% Text Area: 8in (include Runningheads) x 5in
-%% ws-ijmpb.cls   :   23 November 2002
-%% Class file to use with ws-ijmpb.tex written in Latex2E.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% 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 1995, 2002 by World Scientific Publishing Co.
+%% Copyright 2006 by World Scientific Publishing Co.
 %% All rights are reserved.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%
-
+%% 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-ijmpb-rev}[1994/07/13 v1.2u Standard LaTeX document class]
+\ProvidesClass{ws-procs9x6}[1994/07/13 v1.2u Standard LaTeX document class]
 \@twosidetrue\@mparswitchtrue\@twocolumnfalse
 \newif\if@openright
 \@openrighttrue
@@ -22,13 +23,11 @@
 \newdimen\draftrule
 \draftrule=0pt
 %
-%
 \DeclareOption{splissue}{\@splissuetrue}
 \DeclareOption{draft}{\@drafttrue\setlength\overfullrule{5pt}\draftrule0.01pt}%
-
 %
-%\hoffset=-1.5cm
-%\voffset=-0.5cm
+\hoffset=0.1in
+\voffset=0.2in
 %
 \DeclareOption{final}{\setlength\overfullrule{0pt}}
 %
@@ -67,7 +66,7 @@
 \def\bibfont{\fontsize{9}{11}\selectfont}
 \def\rhfont{\footnotesize\itshape{}}
 \def\catchlinefont{\footnotesize}
-\def\titlefont{\fontsize{10}{13}\bfseries\boldmath\selectfont\centering{}}
+\def\titlefont{\fontsize{15}{17}\bfseries\boldmath\selectfont\centering{}}
 \def\authorfont{\footnotesize}
 \def\abstractfont{\footnotesize}
 \let\affiliationfont\rhfont
@@ -80,9 +79,10 @@
 \def\figurecaptionfont{\footnotesize}
 \def\tablefont{\footnotesize}
 \def\tablecaptionfont{\footnotesize}
+\def\foot{\small}
 %
 \renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt{13}%\@xiiipt
+   \@setfontsize\normalsize\@xpt{13}%\@xiiipt    %%10/13pt
    \abovedisplayskip6\p@\@plus4\p@\@minus2\p@
    \abovedisplayshortskip\abovedisplayskip
    \belowdisplayshortskip\abovedisplayshortskip
@@ -111,6 +111,9 @@
                \parsep 2\p@ \@plus\p@ \@minus\p@
                \itemsep \parsep}%
    \belowdisplayskip \abovedisplayskip}
+
+\renewcommand\normalsize{\@setfontsize\large\@xiipt{14}}
+
 %
 \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
 \newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
@@ -155,32 +158,30 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%Initializations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\newdimen\trimheight \trimheight9.71truein   %measure is 9.75truein
-\newdimen\trimwidth \trimwidth6.48truein     %measure is 6.50truein
-\typeheight48.1pc
-%\typewidth30pc
-
+\newdimen\trimheight \trimheight9truein
+\newdimen\trimwidth \trimwidth6truein
+\newdimen\typeheight \typeheight7.35in
 %
-\setlength\parindent{1.5em}%10\p@
+\setlength\parindent{15pt}
 \setlength\headheight{5\p@}
-\setlength\headsep   {19pt}%15
-\setlength\topskip   {7\p@}%{10\p@}
-\setlength\footskip{10pt}%18pt
+\setlength\headsep   {.25in}
+\setlength\topskip   {7\p@}
+\setlength\footskip{10pt}
 \setlength\maxdepth{4\p@}
 \setlength\@maxdepth\maxdepth
-\setlength\textwidth{5truein}
+\setlength\textwidth{4.5in}
 \setlength\textheight\typeheight
 \advance\textheight-\headheight
 \advance\textheight-\headsep
 \setlength\normaltextheight{\textheight}
-\setlength\oddsidemargin{19mm}%.625in%
+\setlength\oddsidemargin{19mm}
 \setlength\evensidemargin{\trimwidth}
 \addtolength\evensidemargin{-\textwidth}
 \addtolength\evensidemargin{-\oddsidemargin}
 \setlength\marginparwidth{.75in}
 \setlength\marginparsep{7\p@}
 \setlength\marginparpush{5\p@}
-\setlength\topmargin{.85926in}%
+\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@}
@@ -207,142 +208,213 @@
 \@endparpenalty   -\@lowpenalty
 \@itempenalty     -\@lowpenalty
 %
+\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
+              \fi}
+%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%Title %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\def\title#1{\gdef\@title{{#1}}}
-\newcommand\maketitle{\par
-  \begingroup
+\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}%
-    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
     \long\def\@makefntext##1{\noindent
-%   \@textsuperscript{\normalfont\@thefnmark}{\lowercase{##1}}}%
-    \@textsuperscript{\normalfont\@thefnmark}{##1}}%
-      \newpage
-      \global\@topnum\z@
-      \@maketitle
+    \@textsuperscript{\normalfont\@thefnmark}{{##1}}}%
+   %\cleardoublepage %to start a new paper in odd page
     \thispagestyle{plain}\@thanks
-  \endgroup
-  \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-}
-\def\@maketitle{%
-  \newpage
-  \null
-  \vspace*{-10pt}
-   \vspace*{-25pt}% to have the bylines on the beginning of the page
+    \vspace*{-14pt}
+    \vskip 79pt
   \@clinebuf
-%  \vspace*{52pt}
-  \vspace*{49pt}
-  \begin{center}%
-  \let\footnote \thanks
-  {\titlefont\@title \par}%
-  \vspace*{28pt}
-  \@aabuffer\par
-  \end{center}%
+    {\centering{\titlefont #1\par}}%
+    \vskip 1em
 }
+\def\subtitle#1{\titlefont :~{{#1}}}
+%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Title %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Local Definitions %%%%%%%%%%%%%%%%%%%%%%
 %
-%\def\u#1{\uppercase{#1}}
-\def\uc#1{\uppercase{#1}}
-\newcommand{\cal}{\protect\pcal}
-\newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}}
+\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 %%%%%%%%%%%%%%%%%%%%%%
 %
+\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\thebepage{\thepage}
-\def\theeepage{\pageref{eof}}

-\def\pub#1#2{\par%
-    \addvspace{-2pt plus-2pt minus-2pt}
-    {\centering{
-    \authorfont #1\par
-    #2\par}\par}
-    \addvspace{15pt plus2pt minus2pt}}%
+\newcommand{\cal}{\protect\pcal}
+\newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}}
 %
-
-\newenvironment{history}{%
-    \addvspace{-2pt plus-2pt minus-2pt}
-   \authorfont\begin{center}\vskip-\lastskip
-}{%
-   \end{center}
-    \addvspace{15pt plus2pt minus2pt}
+\def\author#1{\par
+    {\centering{\authorfont#1}\par\vspace*{0.05in}}
 }
-%

-\def\email#1{\it #1\par}
-\def\http#1{\it http://#1\par}
-\def\url#1{\it #1\par}
-\def\received#1{Received~#1\par}
-\def\revised#1{Revised~#1\par}
-\def\accepted#1{Accepted~#1\par}
-\def\comby#1{\par\addvspace{1\baselineskip}Communicated\ by~#1\par}
+\def\address#1{\par
+    {\centering{\affiliationfont#1\par}}\par\vspace*{11pt}
+}
 %
-
-\def\@clinebuf{}
-%\def\catchline#1#2#3#4#5{\expandafter\def\expandafter\@clinebuf\expandafter
-%    {\@clinebuf\catchlinefont
-%    \noindent International Journal of Modern Physics B\par
-%    \noindent \copyright\ World Scientific Publishing Company\par
-%    }\relax\par
-%   }%
-\def\No{No.}
-%
-%\def\and{\hbox{\lowercase{ and }}}
-\def\and{\hbox{\lowercase{and }}}
-\def\aand{\\[10pt]{\upshape{and}}\\[-3pt]}
-\def\@aabuffer{}
-\def\author#1{\expandafter\def\expandafter\@aabuffer\expandafter
-    {\@aabuffer{\authorfont{{#1}}}\relax\par
-    \vspace*{3pt}}}
-\def\address#1{\expandafter\def\expandafter\@aabuffer\expandafter
-    {\@aabuffer{\affiliationfont{#1}}\relax\par
-    \vspace*{13pt}}}
+\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}}\par}
+    \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}
 %
-\newenvironment{abstract}{\par%
-    \abstractfont
-    \noindent\leftskip18pt\rightskip18pt
-}{%
-  \par}
-%
-\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}}
  \newif\if@cghi
 \def\cite{\@cghitrue\@ifnextchar [{\@tempswatrue
     \@citex}{\@tempswafalse\@citex[]}}
 \def\citelow{\@cghifalse\@ifnextchar [{\@tempswatrue
     \@citex}{\@tempswafalse\@citex[]}}
-\def\@cite#1#2{{$\null^{#1}$\if@tempswa\typeout
+\def\@cite#1#2{{$^{#1}$\if@tempswa\typeout
     {WSPC warning: optional citation argument
     ignored: `#2'} \fi}}
 \newcommand{\citeup}{\cite}
 %
+\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
@@ -355,10 +427,7 @@
     ignored: `#2'} \fi}}
  \def\refcite{\@ifnextchar[{\@tempswatrue
     \@refcitex}{\@tempswafalse\@refcitex[]}}
-%
-\def\dfrac#1#2{{\displaystyle{#1\over#2}}}
-\def\tfrac#1#2{{\textstyle{#1\over#2}}}
-
+%%%%%%%%%%%%%%%%%%%%%%%% Table of Contents %%%%%%%%%%%%%%%%%%%%%%%
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Lists %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -442,7 +511,7 @@
   \end{enumerate}}
 %
 \newenvironment{alphlist}{%
-  \def\theenumi{\alph{enumi}}\def\theenumii{\roman{enumii}}%
+  \def\theenumi{\alph{enumi}}\def\theenumii{\alph{enumii}}%
   \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
         \let\item\Item
   \begin{enumerate}%
@@ -517,7 +586,12 @@
 %
 \def\@seccntformat#1{{\upshape{\csname the#1\endcsname.}}\hskip .5em}
 %
-\gdef\@author{}
+\def\body{
+\setcounter{footnote}{0}
+\def\thefootnote{\alph{footnote}}
+\def\@makefnmark{{$^{\rm \@thefnmark}$}}
+}
+\def\bodymatter{\body}
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Floats %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -545,8 +619,6 @@
             {\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}}%
-%\InputIfFileExists{psfig.sty}{}{}
-%\InputIfFileExists{epsf.sty}{}{}
 %
 \newbox\captionbox
 %
@@ -649,6 +721,7 @@
 \def\@tabnote[#1]{%
     \leftskip\tablewd\rightskip\leftskip {\it #1}\/:\ \ignorespaces}
 %
+
 \def\Hline{%
   \noalign{\ifnum0=`}\fi\hrule \@height 2\arrayrulewidth \futurelet
    \@tempa\@xhline}
@@ -660,7 +733,6 @@
 \def\botrule{\\[-7pt]\Hline}
 \def\crule#1{\\[-7pt]#1\\[-6pt]}
 %
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Maths %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 \setlength\arraycolsep{1.5\p@}
@@ -671,7 +743,9 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
+
 \renewcommand\theequation{\arabic{equation}}
+
 %
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
@@ -680,14 +754,7 @@
 \def\tstrut{\vrule width0pt height10pt}
 \jot=3pt
 %
-%
-\renewcommand{\[}{\relax\ifmmode\@badmath\else\bgroup\let\eqnnum\relax\let\refstepeqcnt\relax\@equation\fi}
-\renewcommand{\]}{\relax\ifmmode\end@equation\egroup\@endparenv\@doendpe\else\@badmath\fi}
-%
-\@namedef{equation*}{\let\eqnnum\relax\let\refstepeqncnt\relax\@equation}
-\@namedef{endequation*}{\end@equation}
-\renewenvironment{equation}{\@equation}{\end@equation}
-%
+
 \def\refstepeqcnt{\refstepcounter{equation}}
 \def\eqnnum{\displaywidth\linewidth\hbox{\@eqnnum}}
 %
@@ -724,8 +791,8 @@
 %
 \renewcommand\footnoterule{%
   \kern-3\p@
-  \hrule depth0pt height0pt \@width.2\columnwidth
-%  \hrule width .4\columnwidth
+%  \hrule depth0pt height0pt \@width.2\columnwidth
+  \hrule width .4\columnwidth
   \kern2.6\p@}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
@@ -745,10 +812,10 @@
 %
 \def\ps@plain{%
      \let\@mkboth\@gobbletwo
-     \let\@oddhead\@empty
-     \def\@oddfoot{\hfill\mbox{\lower12pt\hbox{\foliofont\thepage}}\hfill}%
-     \let\@evenhead\@empty
-     \let\@evenfoot\@oddfoot}
+    \let\@oddfoot\@empty
+    \let\@evenfoot\@empty
+    \def\@evenhead{\rhfont{\upshape{\thepage}}\hfill}%
+    \def\@oddhead{\hfill\rhfont{\upshape{\thepage}}}}%
 %
 \def\RightMark{}
 %
@@ -777,65 +844,157 @@
     \def\@oddfoot{\hfill\mbox{\lower8pc\hbox{}}\hfill}
    \let\@evenfoot\@oddfoot}
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% theorem environments %%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%% Index Shortcuts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\def\@xthm#1#2{\@begintheorem{#2}{\csname the#1\endcsname}{}\ignorespaces}
-\def\@ythm#1#2[#3]{\@begintheorem{}{\csname the#1\endcsname}{#3}\ignorespaces}
+\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\Theoremfont\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\Propositionfont\itshape
 \let\Lemmafont\itshape
-\let\Examplefont\upshape
-\let\Theoremheadfont\bfseries
+\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\Propositionheadfont\bfseries
-\let\Lemmaheadfont\bfseries
+\let\Criterionheadfont\bfseries
 \let\Definitionheadfont\bfseries
-\let\Remarkfont\upshape
-\def\Exampleheadfont{\bfseries}
-\def\Remarkheadfont{\bfseries}
-\def\Stepheadfont{\bfseries}
-\let\Stepfont\upshape
+\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}
 %
-\newcounter{lemma}
-\newcounter{corollary}
-\newcounter{proposition}
-\newcounter{definition}
-\newcounter{example}
-\newcounter{remark}
-\newcounter{question}
-\newcounter{notation}
-%
-%\newtheorem{theorem}{Theorem}%[section]
-\newtheorem{theorem}{Theorem}
-\newtheorem{corollary}[theorem]{Corollary}%[section]
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{proposition}[theorem]{Proposition}%[section]
-\newtheorem{definition}[theorem]{Definition}%[section]
-\newtheorem{example}[example]{Example}%[section]
-\newtheorem{remark}[theorem]{Remark}%[section]
-\newtheorem{notation}[theorem]{Notation}%[section]
-\newtheorem{question}[theorem]{Question}%[section]
-\newtheorem{step}{Step}
+\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{\hbox to \hsize{\hfill\fboxsep0pt\fbox{\phantom{\vrule width5pt height5pt depth0pt}}}\global\logofalse}
+\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%
-\noindent{\bf Proof:\hskip.5em}\ignorespaces}{%
+    \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
@@ -858,97 +1017,59 @@
       \endlist}
 \newcommand\newblock{}
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\newcounter{appendix}
-\newcommand\appendix{\par %\newpage
-    \refstepcounter{appendix}
-    \setcounter{section}{0}%
+\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{definition}{0}
         \setcounter{corollary}{0}
+       \setcounter{definition}{0}
     \setcounter{equation}{0}
-    \@addtoreset{equation}{section}
-\renewcommand\thesection{\appendixname\ \Alph{section}}%
-\renewcommand\theequation{\Alph{section}.\arabic{equation}}
-%\def\@seccntformat##1{{\upshape{\csname the##1\endcsname}}\hskip .5em}  %%% (ss) %%%
-%\section{}   %%% (ss) %%%
-}%
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%For contents pages %%%%%%%%%%%%%%%%%%%%%%%%
+       \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}
 %
-%\def\journalname{\uppercase{International Journal of Modern Physics B}}
-\def\No{No.}
-\def\chead#1#2#3{\par
-\thispagestyle{empty}
-{\centering{%
-{\titlefont\journalname}\par
-{\sl Vol.~#1, \No~#2 (#3)}\par
-\vspace*{34pt}
-\noindent CONTENTS\par}}
-\vspace*{14pt}}
-\def\leaderfill{\leaders\hbox to 1em{\hss.\hss}\hfill}
-\def\centry#1#2#3{\par
-    {\foliofont
-    \setbox\tempbox\hbox{#3}
-    {\rightskip3.5pc plus1fil
-    \noindent{\uppercase{#1}}\par}
-    {\leftskip12pt{\rightskip1pc plus1fil
-    \ignorespaces\noindent#2\leaderfill\hspace*{2pt}\hskip\wd\tempbox\par}\par}\par
-    \vskip-\lastskip
-    \vskip-\baselineskip
-    \hbox to \hsize{\hfill#3}\par}
-    \addvspace{8pt plus1pt minus1pt}\par}
-%%
-\def\cent#1#2#3{\par{\foliofont
-    {\rightskip2pc plus1fil
-    \noindent\par}
-    {\noindent{\uppercase{#1}}\ignorespaces#2\leaderfill\hspace*{2pt}#3\par}}\par
-%
-%   \noindent{\uppercase{#1}}\par}
-%   \hbox to 30pc{\noindent\ignorespaces\hspace*{12pt}#2\leaderfill\hspace*{2pt}#3\par}}\par
-    \addvspace{8pt plus1pt minus1pt}\par
-    }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-%\def\cent#1#2#3{\par
-%   {\foliofont
-%   \setbox\tempbox\hbox{#3}
-%   {\rightskip3.5pc plus1fil
-%   \noindent{\uppercase{#1}}\par}
-%   {\leftskip12pt{\rightskip1pc plus1fil
-%   \ignorespaces\noindent#2\leaderfill\hspace*{2pt}\hskip\wd\tempbox\par}\par}\par
-%   \vskip-\lastskip
-%   \vskip-\baselineskip
-%   \hbox to \hsize{\hfill#3}\par}
-%   \addvspace{8pt plus1pt minus1pt}\par}
-%
-%\def\cent#1#2#3{\par\bibfont\addvspace{10pt plus2pt minus2pt}
-%   {\foliofont{\rightskip4pc plus1fil
-%   \noindent#1\par}\par
-%   \vskip-\lastskip\vskip-\baselineskip
-%   \hbox to \hsize{\hfill#3}\par
-%   {\noindent\leftskip15pt{\rightskip4pc plus1fil{\it #2}\par}}}\par}
-%
-\def\ehead#1#2#3{\par
-    \addvspace{12pt plus1pt minus1pt}
-    {\foliofont\rightskip4pc plus1fil
-    \noindent{\bf #1{#2}{#3}\par}
-    \vspace*{4pt}}\par}
-%
-\def\eehead#1#2#3{\par
-%   \addvspace{6pt plus1pt minus1pt}
-    \addvspace{12pt plus1pt minus1pt}
-    {\foliofont\rightskip4pc plus1fil
-    \noindent{\bf #1{#2}{#3}\par}
-    \vspace*{4pt}}\par}
+\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{\today}
-%\quad\currenttime\quad\WSPC/INSTRUCTION FILE\qquad\jobname}%
+\def\draftnote{\hbox to \trimwidth{\scriptsize\sf\ \today
+\quad\currenttime\hfil WSPC - Proceedings Trim Size: 9in x 6in
+\quad\jobname\hfil}}%
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ss %%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Crop Mark %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\cropmarks{\nointerlineskip%
      \vbox to 0pt{\vskip-8.6pt
     \parindent0pt\hspace*{6pt}\draftnote
@@ -969,29 +1090,9 @@
                 \vrule height\draftrule width\textwidth}%
       \hbox to \textwidth{\vrule width\draftrule \hfill\vrule height\tempdimen width\draftrule}%
            \hrule height\draftrule}}}%%
-\def\xcropmarks{\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\tempdimen27pt
-     \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
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ss %%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Crop Marks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%% Output Routine %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -1023,7 +1124,7 @@
   \reset@font
   \normalsize
   \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
-    \@begindvi\trimmarks
+    \@begindvi%\trimmarks
     \vskip \topmargin
     \moveright\@themargin \vbox {%
       \setbox\@tempboxa \vbox to\headheight{%
@@ -1059,8 +1160,7 @@
 \let\firstmark\botmark
 }
 %
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Process Options %%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Process Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 \pagestyle{headings}
 \pagenumbering{arabic}
@@ -1071,9 +1171,13 @@
 \sloppy
 \vbadness=12000
 \hbadness=12000
-\usepackage{amsfonts}
-\usepackage{amssymb}
+\usepackage{amsfonts,amssymb,amsmath}
+\usepackage[figuresright]{rotating}
+\usepackage{dcolumn,url}
+\usepackage{chapterbib}
+\usepackage[super,nospace]{cite}
+\let\refcite\citen
 \endinput
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%End of file%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%      For technical support please email: rajesh@wspc.com.sg

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns