%% Filename: ocg.sty
%%
%% Author: Gabriele Kotsis
%% Date: August 2003
%%
%%
%%
%% INSTRUCTIONS FOR USE OF THE STYLE FILE.
%%
%% The following lines should be placed at the start of the document.
%%
%%  \documentclass{article}
%%  \usepackage{ocg}
%%  \usepackage{times}
%%
%% The title and author information should be written like this:
%%
%%  \title{Paper Title - maximum 10 words}
%%
%%  \author{
%%  First A. Author \\
%%  Department or Laboratory\\
%%  University or Company\\
%%  Address, (if necessary) \\
%%  City, Province or State, Country \\
%%  email: email-address \\
%%  \and
%%  Second B. Author and Third C. Author\\
%%  Department or Laboratory\\
%%  University or Company\\
%%  Address (if necessary)\\
%%  City, Province or State, Country \\
%%  email: email-address \\
%%  }
%%
%%  \maketitle
%%  \thispagestyle{empty}
%%
%%
%% The final manuscrip submitted
%% should not contain any fixed-resolution bitmap fonts (type 3).  By default,
%% DVIPS will create a postscript file containing resuolution-specific type 3
%% bitmattep fonts.  However, if the "www" printer is used to create the postscript
%% file, dvips can generate file with resolution-independent type 1 fonts:
%%
%% dvips -Pwww -o file.ps file.dvi
%%
%% Using the "pdflatex" to create a pdf file directly will also achieve the same effect.
%%
%% Additional information on this subject can be found on the ADOBE website:
%%   www.adobe.com/support/techdocs/543e.htm
%%
%%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%Section Definition
\renewcommand\section{\@startsection {section}{1}{\z@}{0pt plus 6pt}{3pt}{\reset@font\large\bf}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}{0pt plus 6pt}{3pt}{\bf}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{0pt plus 6pt}{3pt}{}}
\renewcommand\thesection{\@arabic\c@section.}
\renewcommand\thesubsection{\@arabic\c@section.\@arabic\c@subsection.}
\renewcommand\thesubsubsection{\@arabic\c@section.\@arabic\c@subsection.\@arabic\c@subsubsection.}

%%Title Definition
\def\@maketitle{\vspace{.5in}
            {\bf\LARGE\centering \@title \par \strut \\}
            
            {\LARGE\centering \@author \par }
                
            \vspace{36pt}
}

%%Tables and Figures

\long\def\@makecaption#1#2{%
   \vskip 10\p@
   \setbox\@tempboxa\hbox{#1. #2}%
   \ifdim \wd\@tempboxa >\hsize
       #1. #2\par
     \else
       \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   }

\def\thefigure{\@arabic\c@figure}

\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\footnotesize \bf \figurename~\thefigure}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}

\def\thetable{\@arabic\c@table}

\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\footnotesize \bf \tablename~\thetable}
\def\table{\@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}


%%Layout
\pagestyle{empty}                         %%%% No page Numbering

\paperheight 29.7cm
\paperwidth  21cm
 
\textheight     24.2cm
\textwidth      17cm
\topmargin      0cm
\headheight     0.0in
\headsep        0.0in
\oddsidemargin  -0.25in
\parindent      0cm
\parskip        12pt
\def\baselinestretch{1}
