%% Filename: ocg.sty
%%
%% %Author: Gabriele Kotsis (August 2003), updated: G. Chroust (July 2004)
%%
%%% %INSTRUCTIONS FOR USE OF THE STYLE FILE.
%%
%%% %The following lines should be placed at the start of the document.
%%
%%  \documentclass[12pt,a4paper]{article}
%%  \usepackage{ocg}
%%  \usepackage{times}
%%  \usepackage{pdfpages}
%%  \usepackage[cp850]{inputenc} %for german 'Umlaute'
%%  \usepackage[german]{babel}   %for german texts
%%  \selectlanguage{austrian}    %for german texts
%%  \textheight    24.2cm
%%  \textwidth      17cm
%%  \topmargin      0.35cm
%%  \headheight     0.0in
%%  \headsep        0.0in
%%  \parindent      0cm
%%  \parskip        12pt
%%  \oddsidemargin -0.5cm
%%  \def\baselinestretch{1}
%%  \renewenvironment{abstract}{%
%%  \textbf{Abstract.} \it }{\\}
%%  \begin{document}
%%%  %The title and author information should be written like this:
%%
%%  \title{Paper Title - maximum 10 words}
%%
%%  \author{
%%  First A. Author\footnote{
%%  Department or Laboratory,
%%  University or Company,
%%  Address, (if necessary),
%%  City, Province or State, Country,
%%  email: email-address}{ }
%%  and { }
%%  Second B. Author\footnote{
%%  Department or Laboratory,
%%  University or Company,
%%  Address (if necessary),
%%  City, Province or State, Country,
%%  email: email-address}
%%  }
%%
%%  \maketitle
%%  \thispagestyle{empty}
%%  \bibliographystyle{plain}
%%  ----
%%% %The following lines should be added at the end of the article:
%%       %EITHER: (example)
%%       \begin{thebibliography}{10}         % the numer indicating the number of pages of the reference list
%%       \bibitem{a1} F. Mustermann and G. Musterfrau, ' 'Eine gutes Zitat braucht man immer'',
%%       {\em Zeitschrift f�r gutes Zitieren}, {\bf 11}, 29-34, 2994, 31.
%%       \end{thebibliography}
%%       %OR
%%       \bibliography{name-of-the-bibliographie(s)}
%%  \end{document}


%% %The final manuscript 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" (e.g. package pdfpages) 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}

 \renewenvironment{abstract}{%
  \textbf{Abstract.} \it }{\\}

