% --------------------------------------( LaTeX style for OSID )----------
%
%  The macros below should be saved in a file  osid.sty  in the
%  same directory where your manuscript source file(s) are.
%
%  USAGE:
%          LaTeX 2.09    \documentstyle[11pt,osid]{article}
%                        ...
%
%          LaTeX2e       \documentclass[11pt]{article}
%                        \usepackage{osid}
%                        ...
%
% -----------------------------------------------------------------------

\def\title#1{\gdef\@title{#1}}

\def\maketitle{\par
\begingroup
   \def\thefootnote{\fnsymbol{footnote}}%
   \def\@makefnmark{\hbox
       to\z@{$\m@th^{\@thefnmark}$\hss}}%
   \newpage
   \global\@topnum\z@
   \@maketitle
   \thispagestyle{osid}\@thanks\markright{\RHD}\markboth{\LHD}{\RHD}%
\endgroup
 \setcounter{footnote}{0}%
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}

\def\@maketitle{\newpage
 \null
 \vskip 1em\par
  {\Large{\raggedright\noindent\@title}\vskip23pt\par}
  {\normalsize{\raggedright\noindent\@author}\vskip14pt\par}
  {\small\noindent(Processed:~\today; Received:~\rule{8em}{0.33pt}\,.)}
 \vskip10pt}

\def\abstract{\noindent\footnotesize{\bf Abstract.~}}
\def\endabstract{\vskip30pt\par}

\def\section{\@startsection {section}{1}{\z@}{3.5ex plus 1ex minus
.2ex}{1.6ex plus .2ex}{\centering\normalsize\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{3.2ex plus 1ex minus
.2ex}{1.3ex plus .2ex}{\normalsize\sc}}

\setcounter{secnumdepth}{3}

\def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus1\p@ minus\p@
\topsep 8\p@ plus1\p@ minus2\p@
\itemsep 0\p@ plus0\p@ minus0\p@}

\def\thebibliography#1{\section*{Bibliography}
\footnotesize\rm\list
 {\arabic{enumi}.}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
 \advance\leftmargin\labelsep\usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus -.07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist

\@addtoreset{footnote}{section}

\def\ps@myheadings{\let\@mkboth\@gobbletwo
\def\@oddhead{\hbox{}\hfil{\scriptsize\rm\rightmark}\hfil
\normalsize\rm\thepage}\def\@oddfoot{}\def\@evenhead{\normalsize\rm
\thepage\hfil{\scriptsize\rm\leftmark}\hbox{}\hfil
}\def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}}

\def\ps@osid{\let\@mkboth\@gobbletwo
\def\@oddhead{}\def\@oddfoot{\tt\hfil Exemplary OSID style}%
\def\@evenhead{}\let\@evenfoot\@oddfoot}

\pagestyle{myheadings}

\setlength{\textwidth}{128mm}
\setlength{\textheight}{197mm}
\setlength{\oddsidemargin}{12mm}
\setlength{\evensidemargin}{12mm}
\setlength{\topmargin}{18mm}
\setlength{\headsep}{3.5mm}
\addtolength{\headheight}{5pt}

\setcounter{topnumber}{3}
\setcounter{bottomnumber}{3}
\setcounter{totalnumber}{4}
\def\topfraction{.85}
\def\bottomfraction{.85}
\def\textfraction{.15}

\def\thesection{\arabic{section}.}
\def\thesubsection{\thesection\arabic{subsection}.}
\def\thesubsubsection{\thesubsection\arabic{subsubsection}.}
\def\thefigure{\arabic{figure}}
\def\figurename{Fig.}

\newcounter{defthM}
\setcounter{defthM}{0}
\newenvironment{definition}[1]{\refstepcounter{defthM}\trivlist
\item[\hskip5pt\uppercase{#1}~\arabic{defthM}.]\rm\hskip3pt}%
{\endtrivlist}
\newenvironment{theorem}[1]{\refstepcounter{defthM}\trivlist
\item[\hskip5pt\uppercase{#1}~\arabic{defthM}.]\it\hskip3pt}%
{\endtrivlist}

\def\theequation{\arabic{equation}}
\def\thefootnote{\arabic{footnote}}

\def\RHD{[Author and title]}
\def\LHD{[Author and title]}

% -----------------------------------( end of file OSID.STY )------------


