%International Journal of Modern Physics A in LaTex
\documentstyle[twoside]{article}

%-------------NEW ADDITIONS TO EXISTING ARTICLE.STY---------------------

\catcode`\@=11
\long\def\@makefntext#1{ %\parindent 1em
\protect\noindent \hbox to 3.2pt {\hskip-.9pt  
$^{{\eightrm\@thefnmark}}$\hfil}#1\hfill} %can be used 

\def\thefootnote{\fnsymbol{footnote}}
 \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}  %original 
	
\def\ps@myheadings{\let\@mkboth\@gobbletwo
\def\@oddhead{\hbox{} %\sl
\rightmark\hfil\eightrm\thepage}   
\def\@oddfoot{}\def\@evenhead{\eightrm\thepage\hfil %\sl
\leftmark\hbox{}}\def\@evenfoot{}
\def\sectionmark##1{}\def\subsectionmark##1{}}

%----------------------------IJMPA(2).STY----------------------------------

%MODIFIED BY CHENG (WSPC) FOR APEJ ON 18/3/92
%THIS STYLE FILE WILL PRODUCE [1] AT REFERENCE SECTION OF ALL APEJ ARTICLES

\oddsidemargin=\evensidemargin
\addtolength{\oddsidemargin}{-30pt}
\addtolength{\evensidemargin}{-30pt}
\headsep=15pt
\baselineskip=13pt

\newcommand{\symbolfootnote}{\renewcommand{\thefootnote}
	{\fnsymbol{footnote}}}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\newcommand{\alphfootnote}
	{\setcounter{footnote}{0}
	 \renewcommand{\thefootnote}{\sevenrm\alph{footnote}}}

%new defined section commands 
\newcounter{sectionc}\newcounter{subsectionc}\newcounter{subsubsectionc}
\renewcommand{\section}[1] {\vspace{12pt}\addtocounter{sectionc}{1} 
\setcounter{subsectionc}{0}\setcounter{subsubsectionc}{0}\noindent 
	{\tenbf\thesectionc. #1}\par\vspace{5pt}}
\renewcommand{\subsection}[1] {\vspace{12pt}\addtocounter{subsectionc}{1} 
	\setcounter{subsubsectionc}{0}\noindent 
	{\bf\thesectionc.\thesubsectionc. {\kern1pt \bfit #1}}\par\vspace{5pt}}
\renewcommand{\subsubsection}[1] {\vspace{12pt}\addtocounter{subsubsectionc}{1}
	\noindent{\tenrm\thesectionc.\thesubsectionc.\thesubsubsectionc.
	{\kern1pt \tenit #1}}\par\vspace{5pt}}
\newcommand{\nonumsection}[1] {\vspace{12pt}\noindent{\tenbf #1}
	\par\vspace{5pt}}

%following three commands are for 'list' command.
\topsep=0in\parsep=0in\itemsep=0in
\parindent=15pt

\newcommand{\textlineskip}{\baselineskip=13pt}
\newcommand{\smalllineskip}{\baselineskip=10pt}

\def\eightcirc{
\begin{picture}(0,0)
\put(4.4,1.8){\circle{6.5}}
\end{picture}}
\def\eightcopyright{\eightcirc\kern2.7pt\hbox{\eightrm c}} 

\newcommand{\copyrightheading}[1]
	{\vspace*{-2.5cm}\smalllineskip{\flushleft
	{\eightrm International Journal of Modern Physics A, #1}\\
	{\eightrm $\eightcopyright$\, World Scientific Publishing
	 Company}\\
	 }}

%macro for publisher information section
\newcommand{\pub}[1]{{\begin{center}\eightrm\smalllineskip 
	Received #1\\
	\end{center}
	}}

\newcommand{\publisher}[2]{{\begin{center}\eightrm\smalllineskip 
	Received #1\\
	Revised #2
	\end{center}
	}}

%marco for abstract block
\def\abstracts#1#2#3{{
	\centering{\begin{minipage}{4.5in}\baselineskip=10pt\eightrm
	\centerline{ABSTRACT} 
	\parindent=0pt #1\par 
	\parindent=15pt #2\par
	\parindent=15pt #3
	\end{minipage} }\par}} 

%\def\keywords#1{{ 
%	\centering{\begin{minipage}{4.5in}\baselineskip=10pt\eightrm
%	{\eightit Keywords}\/: #1
%	 \end{minipage} }\par }}

%new macro for bibliography
\newcommand{\bibit}{\nineit}
\newcommand{\bibbf}{\ninebf}
\renewenvironment{thebibliography}[1]			%ALL CHANGES DD 13/3/92
	{\ninerm 
	 \baselineskip=11pt				%changed by cheng  
	 \begin{list}{\arabic{enumi}.}			%FOR [] ONLY
	{\usecounter{enumi}\setlength{\parsep}{0pt}	
	 \setlength{\leftmargin 17pt}{\rightmargin 0pt}	%changed by cheng  
							%FOR >100 ITEM;
							%CHANGE 17PT TO >17PT
	 \setlength{\itemsep}{0pt} \settowidth		%changed by cheng
	{\labelwidth}{#1.}\sloppy}}{\end{list}}	%FOR [] ONLY

\newcounter{itemlistc}
\newcounter{romanlistc}
\newcounter{alphlistc}
\newcounter{arabiclistc}
\newenvironment{itemlist}
    	{\setcounter{itemlistc}{0}
	 \begin{list}{$\bullet$}
	{\usecounter{itemlistc}
	 \setlength{\parsep}{0pt}
	 \setlength{\itemsep}{0pt}}}{\end{list}}

\newenvironment{romanlist}
	{\setcounter{romanlistc}{0}
	 \begin{list}{(\roman{romanlistc})}
	{\usecounter{romanlistc}
%\addtolength{\leftmargin}{-6pt}	%changed by cheng: each item moves 
					%to the leftmargin by -6pt 
	 \setlength{\parsep}{0pt}
	 \setlength{\itemsep}{0pt} 
%\settowidth{\labelwidth}{10}		%changed by cheng: the labelwidth has 
					%space for putting two letters  
%\settowidth{\labelsep}{10}		%changed by cheng: add extra hspace 
					%between the label and the item text  
	}}{\end{list}}

\newenvironment{alphlist}
	{\setcounter{alphlistc}{0}
	 \begin{list}{(\alph{alphlistc})}
	{\usecounter{alphlistc}
	 \setlength{\parsep}{0pt}
	 \setlength{\itemsep}{0pt}}}{\end{list}}
\newenvironment{arabiclist}
	{\setcounter{arabiclistc}{0}
	 \begin{list}{\arabic{arabiclistc}}
	{\usecounter{arabiclistc}
	 \setlength{\parsep}{0pt}
	 \setlength{\itemsep}{0pt}}}{\end{list}}

\newcounter{tempfigtabc}			%CENTRALISE FIGURE CAPTION
\newcommand{\fcaption}[1]{
	\setcounter{tempfigtabc}{\thefigure}
	\addtocounter{tempfigtabc}{1}
        {\centerline{\eightrm Fig.~\thetempfigtabc. #1} }}

%\newcounter{tempfigtabc}			%JUSTIFY FIGURE CAPTION
%\newcommand{\ffcaption}[2]
%	{\setcounter{tempfigtabc}{\thefigure}
%	 \addtocounter{tempfigtabc}{1}
%       {\noindent\parbox{5truein}{\eightpoint Fig.~\thetempfigtabc.
%	 #1}\par}\vskip5mm}

\newcommand{\tcaption}[1]{			%CENTRALISE TABLE CAPTION
	\setcounter{tempfigtabc}{\thetable}
	\addtocounter{tempfigtabc}{1}
        {\centerline{\eightrm\offinterlineskip Table~\thetempfigtabc.
	#1} }}

%\newcommand{\ttcaption}[2]{			%JUSTIFY TABLE CAPTION
%	{\setcounter{tempfigtabc}{\thetable}
%	 \addtocounter{tempfigtabc}{1}
%        {\noindent\parbox{5truein}{\eightpoint\offinterlineskip
%	Table~\thetempfigtabc. #1}\par}\vskip5mm}

\def\pmb#1{\setbox0=\hbox{#1}
	\kern-.025em\copy0\kern-\wd0
	\kern.05em\copy0\kern-\wd0
	\kern-.025em\raise.0433em\box0}
\def\mbi#1{{\pmb{\mbox{\scriptsize ${#1}$}}}}
\def\mbr#1{{\pmb{\mbox{\scriptsize{#1}}}}}

%for fnsymbol footnote and alph{footnote} 
\def\fnm#1{$^{\mbox{\scriptsize #1}}$}
\def\fnt#1#2{\footnotetext{\kern-.3em
	{$^{\mbox{\scriptsize #1}}$}{#2}}}

%for creating the opening page number 
\def\fpage#1{\begingroup
\voffset=.3in
\thispagestyle{empty}\begin{table}[b]\centerline{\footnotesize #1}
	\end{table}\endgroup}

%macro for runninghead
\def\runninghead#1#2{\pagestyle{myheadings}
\markboth{{\eightit{\quad #1}}\hfill}{\hfill{\eightit{#2\quad}}}}
   
\font\tenbf=cmbx10
\font\tenit=cmti10 
\font\tenit=cmti10
% \font\bfit=cmbxti10 at 10pt
\font\elevenbf=cmbx10 scaled\magstep 1
\font\elevenrm=cmr10 scaled\magstep 1
\font\elevenit=cmti10 scaled\magstep 1
\font\ninebf=cmbx9
\font\ninerm=cmr9
\font\nineit=cmti9
\font\eightbf=cmbx8
\font\eightrm=cmr8
\font\eightit=cmti8
\font\sevenrm=cmr7
\font\fiverm=cmr5

\newtheorem{theorem}{\indent Theorem}
%% or \newtheorem{theorem}{Theorem}[sectionc] which has section number

\newtheorem{lemma}{Lemma}
%% or use \newtheorem{lemma}{Lemma}[sectionc]

\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
%% users can add on their own new theorem-like environments.


\newcommand{\proof}[1]{ {\tenbf Proof.} #1 $\Box$. }

