%% Filename: ocg.sty %% %% % Author: Gabriele Kotsis (August 2003), updated: G. Chroust (July 2004), updated W. B. (Aug 2007) %% %% % 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 %% \usepackage{graphicx} %% \usepackage[flushmargin]{footmisc} %% \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} %% %% \begin{document} %% \renewcommand\thanks[1]{\renewcommand\thefootnote{\arabic{footnote}}\footnote{#1}\noindent} %% \uppercase{\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 %% \addtocounter{footnote}{1} %% \thispagestyle{empty} %% \bibliographystyle{plain} %% %-------------------------------------------------------------------------- %% \begin{abstract} %% %... %% \end{abstract} %-------------------------------------------------------------------------- %% %... %% %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 fr 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.} %\newskip\@footindent %\@footindent=10em %%Title Definition \def\@maketitle{\vspace{.5in} {\bf\LARGE\centering \@title \par \strut} %{\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}{\textit{{\textbf{Abstract\\}}} \it }{} \renewcommand\maketitle{\par \begingroup \renewcommand\thefootnote{\@arabic\c@footnote}% \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}% the new command \long\def\@makefntext##1{\parindent 0em\noindent % the old ones \hb@xt@0em{% \hss\@textsuperscript{\normalfont\@thefnmark}}##1}% \if@twocolumn \ifnum \col@number=\@ne \@maketitle \else \twocolumn[\@maketitle]% \fi \else \newpage \global\@topnum\z@ % Prevents figures from going at top of page. \@maketitle \fi \thispagestyle{plain}\@thanks \endgroup \setcounter{footnote}{0}% \global\let\thanks\relax \global\let\maketitle\relax \global\let\@maketitle\relax \global\let\@thanks\@empty \global\let\@author\@empty \global\let\@date\@empty \global\let\@title\@empty \global\let\title\relax \global\let\author\relax \global\let\date\relax \global\let\and\relax }