%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                           %
% JCMSE LaTeX2e packade                                     %
% LaTeX2e usage: \usepackage{jcmse}                         %
% Author: Igor Podlubny                                     %
%                                                           %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%% Define new \maketitle command %%%%%%%%%%%%%%%
\renewcommand{\maketitle}%
{\thispagestyle{empty}
\noindent
\parbox[t]{6cm}{\raggedright
\footnotesize Cambridge International\\Science Publishing\\
Cambridge CB1 6AZ\\ Great Britain}
\hfill
\parbox[t]{6cm}{
{\raggedleft{\footnotesize
\parbox[t]{4.8cm}{\raggedleft
\textit{Journal of Computational Methods}\\
\textit{in Sciences and Engineering}}
\raisebox{-12.75pt}{\includegraphics[height=22pt]{jcmselog.eps}}
\\
\textrm{vol.~\volumenumber, no. ~\issuenumber, ~\yearnumber,
 pp.~\firstpage-~\lastpage}\\ \textrm{ISSN 1472--7978}\par}} }
% \parbox[t]{45pt}{\raisebox{-10.5mm}{\includegraphics[height=12mm]{lg16e.eps}}}
\par\noindent\rule[-3pt]{\textwidth}{0.5pt}
%
\par\vspace*{24pt}\par
{\centering{\Large\textbf\JCMSEtitle\par}
\par\vspace*{12pt}\par
{\textrm\JCMSEauthor}\par\vspace*{12pt}\par}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\JCMSEauthorshort}[1]{#1}
\newcommand{\JCMSEtitleshort}[1]{#1}


%%%%% Re-define {abstract} environment %%%%%%%%%%%%%%%%
\renewenvironment{abstract}%
{\begin{center}\begin{minipage}[t]{0.85\textwidth}
\noindent\small\textit{Abstract:}}%
{\end{minipage}\end{center}\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%% Define {keywords}, {MSC} and {PACS} environments %%%%%%%%%%%%%%%%
\newenvironment{keywords}%
{\begin{center}\begin{minipage}[t]{0.85\textwidth}
\noindent\small\textit{Keywords:}}%
{\end{minipage}\end{center}\par}

\newenvironment{MSC}%
{\begin{center}\begin{minipage}[t]{0.85\textwidth}
\noindent\small\textit{Mathematics Subject Classification:}}%
{\end{minipage}\end{center}\par}

\newenvironment{PACS}%
{\begin{center}\begin{minipage}[t]{0.85\textwidth}
\noindent\small\textit{PACS:}}%
{\end{minipage}\end{center}\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.25ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\centering\large\bfseries\upshape}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\centering\normalsize\bfseries\upshape}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\centering\normalsize\itshape}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                    {3.25ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\normalsize\itshape}}

%%%%%% Re-define 'myheadings' page style %%%%%%%%%%%%%%%%%
\def\ps@myheadings{%
    \let\@oddfoot\@empty\let\@evenfoot\@empty
    \def\@evenhead{\small\thepage\quad\hrulefill\quad\slshape\leftmark}%
    \def\@oddhead{\small{\slshape\rightmark}\quad\hrulefill\quad\thepage}%
    \let\@mkboth\@gobbletwo
    \let\sectionmark\@gobble
    \let\subsectionmark\@gobble
    }
\pagestyle{myheadings}

%%%%%% Re-define page dimensions %%%%%%%%%%%%%%%%%%%
\textwidth=150mm
\oddsidemargin=0mm
\evensidemargin=9.2mm
