  %--------------------START OF PROCSLA.STY--------------------------------
  % For symbolic footnotes indices in title/author preamble
  \setcounter{footnote}{0}
  \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  
  %-------------------------------------------------------------------------
  %NEWLY-DEFINED SECTION COMMANDS 
  \newcounter{sectionc}\newcounter{subsectionc}\newcounter{subsubsectionc}
  \renewcommand{\section}[1] {\vspace*{0.6cm}\addtocounter{sectionc}{1} 
  \setcounter{subsectionc}{0}\setcounter{subsubsectionc}{0}\noindent 
  	{\normalsize\bf\thesectionc. #1}\par\vspace*{0.4cm}}
  \renewcommand{\subsection}[1] {\vspace*{0.6cm}\addtocounter{subsectionc}{1} 
  	\setcounter{subsubsectionc}{0}\noindent 
  	{\normalsize\it\thesectionc.\thesubsectionc. #1}\par\vspace*{0.4cm}}
  \renewcommand{\subsubsection}[1]
  {\vspace*{0.6cm}\addtocounter{subsubsectionc}{1}
  	\noindent {\normalsize\rm\thesectionc.\thesubsectionc.\thesubsubsectionc. 
  	#1}\par\vspace*{0.4cm}}
  \newcommand{\nonumsection}[1] {\vspace*{0.6cm}\noindent{\normalsize\bf #1}
  	\par\vspace*{0.4cm}}
  					         
  %NEW MACRO TO HANDLE APPENDICES
  \newcounter{appendixc}
  \newcounter{subappendixc}[appendixc]
  \newcounter{subsubappendixc}[subappendixc]
  \renewcommand{\thesubappendixc}{\Alph{appendixc}.\arabic{subappendixc}}
  \renewcommand{\thesubsubappendixc}
  	{\Alph{appendixc}.\arabic{subappendixc}.\arabic{subsubappendixc}}
  
  \renewcommand{\appendix}[1] {\vspace*{0.6cm}
          \refstepcounter{appendixc}
          \setcounter{figure}{0}
          \setcounter{table}{0}
          \setcounter{equation}{0}
          \renewcommand{\thefigure}{\Alph{appendixc}.\arabic{figure}}
          \renewcommand{\thetable}{\Alph{appendixc}.\arabic{table}}
          \renewcommand{\theappendixc}{\Alph{appendixc}}
          \renewcommand{\theequation}{\Alph{appendixc}.\arabic{equation}}
  %       \noindent{\bf Appendix \theappendixc. #1}\par\vspace*{0.4cm}}
          \noindent{\bf Appendix \theappendixc #1}\par\vspace*{0.4cm}}
  \newcommand{\subappendix}[1] {\vspace*{0.6cm}
          \refstepcounter{subappendixc}
          \noindent{\bf Appendix \thesubappendixc. #1}\par\vspace*{0.4cm}}
  \newcommand{\subsubappendix}[1] {\vspace*{0.6cm}
          \refstepcounter{subsubappendixc}
          \noindent{\it Appendix \thesubsubappendixc. #1}
  	\par\vspace*{0.4cm}}
  
  %---------------------------------------------------------------------------
  %MACRO FOR ABSTRACT BLOCK
  \def\abstracts#1{{
  	\centering{\begin{minipage}{12.2truecm}\footnotesize\baselineskip=12pt\noindent
  	\centerline{\footnotesize ABSTRACT}\vspace*{0.3cm}
  	\parindent=0pt #1
  	\end{minipage}}\par}} 
  
  %---------------------------------------------------------------------------
  %NEW MACRO FOR BIBLIOGRAPHY
  \newcommand{\bibit}{\it}
  \newcommand{\bibbf}{\bf}
  \renewenvironment{thebibliography}[1]
        {\section{References}
  	\begin{list}{\arabic{enumi})}
  	{\usecounter{enumi}\setlength{\parsep}{0pt}
  %1.25cm IS STRICTLY FOR PROCSLA.TEX ONLY
  \setlength{\leftmargin 1.25cm}{\rightmargin 0pt}
  %0.52cm IS FOR NEW DATA FILES
  %\setlength{\leftmargin 0.52cm}{\rightmargin 0pt}
  	 \setlength{\itemsep}{0pt} \settowidth
  	{\labelwidth}{#1.}\sloppy}}{\end{list}}
  
  %---------------------------------------------------------------------------
  %FOLLOWING THREE COMMANDS ARE FOR `LIST' COMMAND.
  \topsep=0in\parsep=0in\itemsep=0in
  \parindent=1.5pc
  
  %---------------------------------------------------------------------------
  %LIST ENVIRONMENTS
  \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}
  	 \setlength{\parsep}{0pt}
  	 \setlength{\itemsep}{0pt}}}{\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}}
  
  %---------------------------------------------------------------------------
  %FIGURE CAPTION
%%Corretto con \hsize al posto di 6in per poter fare + figure per pagina
%%usando minipage
  \newcommand{\fcaption}[1]{
          \refstepcounter{figure}
          \setbox\@tempboxa = \hbox{\footnotesize Fig.~\thefigure. #1}
          \ifdim \wd\@tempboxa > \hsize
             {\begin{center}
          \parbox{\hsize}{\footnotesize\baselineskip=12pt Fig.~\thefigure. #1}
              \end{center}}
          \else
               {\begin{center}
               {\footnotesize Fig.~\thefigure. #1}
                \end{center}}
          \fi}
  
  %TABLE CAPTION
  \newcommand{\tcaption}[1]{
          \refstepcounter{table}
          \setbox\@tempboxa = \hbox{\footnotesize Table~\thetable. #1}
          \ifdim \wd\@tempboxa > 6in
             {\begin{center}
          \parbox{6in}{\footnotesize\baselineskip=12pt Table~\thetable. #1}
              \end{center}}
          \else
               {\begin{center}
               {\footnotesize Table~\thetable. #1}
                \end{center}}
          \fi}
  
  %--------------------------------------------------------------------------
  %ACKNOWLEDGEMENT: this portion is from John Hershberger
  \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
  	{IJCGA warning: optional citation argument 
  	ignored: `#2'} \fi}}
%  \def\@cite#1#2{\unskip\nobreak\hskip0.3em\relax{$^{#1)}$\if@tempswa\typeout
%  	{IJCGA warning: optional citation argument 
%  	ignored: `#2'} \fi}}

  \newcommand{\citeup}{\cite}
  
  \font\twelvebf=cmbx10 scaled\magstep 1
  \font\twelverm=cmr10  scaled\magstep 1
  \font\twelveit=cmti10 scaled\magstep 1
  \font\elevenbfit=cmbxti10 scaled\magstephalf
  \font\elevenbf=cmbx10     scaled\magstephalf
  \font\elevenrm=cmr10      scaled\magstephalf
  \font\elevenit=cmti10     scaled\magstephalf
  \font\bfit=cmbxti10
  \font\tenbf=cmbx10
  \font\tenrm=cmr10
  \font\tenit=cmti10
  \font\ninebf=cmbx9
  \font\ninerm=cmr9
  \font\nineit=cmti9
  \font\eightbf=cmbx8
  \font\eightrm=cmr8
  \font\eightit=cmti8
  %-------------------------------------------------------------------------
  
  %--------------------END OF PROCSLA.STY----------------------------------
