arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/ws-ijmpb.cls	2012-08-16 16:23:02.896696563 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ws-square.cls	2007-06-14 22:09:07.000000000 +0200
@@ -1,8 +1,8 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %% Trim Size: 9.75in x 6.5in
 %% Text Area: 8in (include Runningheads) x 5in
-%% ws-ijmpb.cls   :   12-5-05
-%% Class file to use with ws-ijmpb-conts.tex written in Latex2E.
+%% ws-ijmpb.cls   :   16 April 2003
+%% Class file to use with ws-ijmpb.tex written in Latex2E.
 %% 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.
@@ -35,7 +35,7 @@
 \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final}
 \ProcessOptions
 %
-
+\newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
 \newcommand\bibname{References}%
 %
@@ -283,7 +283,7 @@

 \def\email#1{\it #1\par}
 \def\http#1{\it http://#1\par}
-%\def\url#1{\it #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}
@@ -326,35 +326,23 @@
 }{%
   \par}
 %
-\newif\if@cghi
-\def\cite{\@cghitrue\@ifnextchar [{\@tempswatrue
-    \@citex}{\@tempswafalse\@citex[]}}
-\def\citelow{\@cghifalse\@ifnextchar [{\@tempswatrue
-    \@citex}{\@tempswafalse\@citex[]}}
-\def\@cite#1#2{{$^{#1}$\if@tempswa\typeout
-    {WSPC warning: optional citation argument
-    ignored: `#2'} \fi}}
-\newcommand{\citeup}{\cite}
+%\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
+%	{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
@@ -368,8 +356,8 @@
  \def\refcite{\@ifnextchar[{\@tempswatrue
     \@refcitex}{\@tempswafalse\@refcitex[]}}
 %
-%\def\dfrac#1#2{{\displaystyle{#1\over#2}}}
-%\def\tfrac#1#2{{\textstyle{#1\over#2}}}
+\def\dfrac#1#2{{\displaystyle{#1\over#2}}}
+\def\tfrac#1#2{{\textstyle{#1\over#2}}}

 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Lists %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -696,11 +684,9 @@
 \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}
 %
-\AtBeginDocument{%
 \@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}}
@@ -753,83 +739,6 @@
 \def\thefootnote{\alph{footnote}}
 \def\@makefnmark{{$^{\rm \@thefnmark}$}}
 %
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% APPENDIX %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand\appendixname{Appendix}
-
-% TOC
-\newcommand\l@appendix[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{3pt \@plus\p@}%
-    \setlength\@tempdima{6em}%
-    \begingroup
-      \parindent \z@ \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      \leavevmode
-      \advance\leftskip\@tempdima
-      \hskip -\leftskip
-      #1\nobreak\hfil\leaders\hbox{$\m@th
-        \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
-        mu$}\hfill\nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-    \endgroup
-  \fi}
-%
-\newcommand\l@subappendix[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{3pt \@plus\p@}%
-    \setlength\@tempdima{3.7em}%
-    \begingroup
-      \parindent 1.4em \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      \leavevmode
-      \advance\leftskip\@tempdima
-      \hskip -\leftskip
-      #1\nobreak\hfil\leaders\hbox{$\m@th
-        \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
-        mu$}\hfill\nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-    \endgroup
-  \fi}
-
-\newcounter{appendixc}
-\newcounter{subappendixc}[appendixc]
-\newcounter{subsubappendixc}[subappendixc]
-\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\enskip\theappendixc.\hskip .5em\boldmath#1}\par\vspace{5pt}
-        \addcontentsline{toc}{appendix}{Appendix~\theappendixc.\hskip.5em#1}\@afterheading}
-\newcommand{\subappendix}[1]{\vspace{14pt}
-        \refstepcounter{subappendixc}
-        \noindent{\sectionfont\thesubappendixc.\hskip .5em{\kern1pt\boldmath\itshape#1}}
-        \addcontentsline{toc}{subappendix}{\thesubappendixc.\hskip .5em#1}
-        \par\vspace{8pt}\@afterheading}
-\newcommand{\subsubappendix}[1]{\vspace{14pt}
-        \refstepcounter{subsubappendixc}
-        \noindent{\subsubsectionfont\thesubsubappendixc.\hskip .5em{\kern1pt\itshape#1}}\par\vspace{8pt}\@afterheading}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% APPENDIX %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Page Style %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 \mark{{}{}}
@@ -874,7 +783,7 @@
 \def\@ythm#1#2[#3]{\@begintheorem{}{\csname the#1\endcsname}{#3}\ignorespaces}
 %
 \let\Definitionfont\upshape%
-\let\Theoremfont\itshape
+\let\Theoremfont\upshape
 \let\Corollaryfont\itshape
 \let\Propositionfont\itshape
 \let\Lemmafont\itshape
@@ -933,8 +842,7 @@
 \bibindent=2em
 \def\@biblabel#1{#1.}
 \newenvironment{thebibliography}[1]
-     {%\section*{\bibname}
-      \bibfont%
+     {\section*{\bibname}\bibfont%
       \list{\@biblabel{\arabic{enumiv}}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
@@ -950,7 +858,23 @@
       \endlist}
 \newcommand\newblock{}
 %
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\newcounter{appendix}
+\newcommand\appendix{\par %\newpage
+  	\refstepcounter{appendix}
+	\setcounter{section}{0}%
+        \setcounter{lemma}{0}
+        \setcounter{theorem}{0}
+	\setcounter{definition}{0}
+        \setcounter{corollary}{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 %%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -1147,7 +1071,7 @@
 \vbadness=12000
 \hbadness=12000
 \usepackage{amsfonts}
-\usepackage{amssymb,amsmath}
+\usepackage{amssymb}
 \endinput
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%End of file%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns