%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LaTeX template for the 2009 OeMG-DMV conference in Graz 
%
% do not edit this file, edit abstract.tex instead
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[12pt,twoside,a4paper]{article}
\usepackage{amsmath,amsfonts,amssymb,amscd,amsbsy}
\usepackage{times,mathptmx}
\usepackage{pictex}
\usepackage[english,german]{babel}
\selectlanguage{english}

%% define dimensions

\leftmargin0in
\evensidemargin1in
\oddsidemargin1in
\overfullrule0pt  
\parskip0pt
\parindent3.5ex
\hfuzz3pt
\vfuzz5mm
\emergencystretch0.2ex
\tolerance 1000

\makeatletter

% redefine the `normalsize' command, to be able to change the 
% abovedisplayskip and belowdisplayskip dimensions

\newdimen\savea\savea\abovedisplayskip
%\newdimen\saveb\saveb\baselineskip
\let\oldnormalsize=\normalsize
\def\normalsize{\oldnormalsize
	\abovedisplayskip 0.5\savea
	\belowdisplayskip \abovedisplayskip
	%\baselineskip 0.9\saveb
	}

% define Section, Subsection, Subsubsection which we need for
% title, author, etc.
% Also, redefine \section, ... to look like a \paragraph

\def\Section{\@startsection{section}{1}% % for titles
	{0pt}{4ex plus 2ex}{\smallskipamount}{\large\bfseries}}
\def\Subsection{\@startsection{subsection}{2}% % for authors
	{0pt}{-1pt plus -1pt}{\bigskipamount}{\normalfont\itshape}}
\def\Subsubsection{\@startsection{subsubsection}{3}% % for theorems
	{0pt}{\smallskipamount}{\smallskipamount}{\normalfont\itshape}}

\def\paragraph{\@startsection{paragraph}{4}%
	{\parindent}{\smallskipamount}{-1ex}{\normalfont\itshape}}
\let\section=\paragraph
\let\subsection=\paragraph
\let\subsubsection=\paragraph

% define the header commands. Only \title, \author, \address is to be
% used by the single contributors

\def\Session#1{\def\currentsession{#1}} \Session{}
\def\Day#1{\def\currentday{#1}}	\Day{}
\def\Time#1{\def\currenttime{#1}} \Time{}

	% this command prints a box with date and time.
	% it is derived from the \qed command of AmsTeX
	
\DeclareRobustCommand{\eolbox}{%
    \leavevmode\unskip\penalty9999 \hbox{}\nobreak\hfill
    \rightskip1pt plus 3em\quad\hbox{\fboxsep2pt\fboxrule0.3pt\fbox
	{\normalfont\footnotesize\sf\scshape \currentday\ \currenttime}}%
}

% undefine figure and table macros. We can't have float objects.

\let\figure=\relax
\let\endfigure=\relax
\let\table=\relax
\let\endtabe=\relax

% redefine footnote macro from amsart.sty so that footnotes come
% out right after the 

\newbox\fnbox
\long\def\@footnotetext#1{\setbox\fnbox\vbox{\unvbox\fnbox
	\smallskip\vbox{\footnotesize$^{\arabic{footnote}}$\ #1}}}

%\let\fnsave=\footnote
\newinsert\xfnins
%\long\def\footnote#1{\insert\xfnins{\begingroup#1\endgroup}}
\def\nspaces{\xspaceskip\spaceskip} 
\def\title#1{\Section*{#1\eolbox}\setcounter{equation}{0}}
\long\def\author#1{\Subsection*{\nspaces #1}}
\long\def\address#1{{\rm (\nspaces #1)}}
\def\speaker{\raise.3ex\hbox{*}}
\def\Abstract#1#2#3{\Day{#1}\Time{#2}\setbox\fnbox\vbox{\relax}%
	\begingroup\selectlanguage{english}\input{#3}%
		% check if we have footnotes
	\ifdim\wd\fnbox=0pt\else\par\medskip\footnoterule\unvbox\fnbox\fi
	\endgroup}

% switch off the \ref{} and \cite{} commands

\def\Error#1{{\fbox{\footnotesize\tt\bfseries #1}}}
\def\cite#1{\Error{DON'T USE $\setminus$cite}}
\def\ref#1{\Error{DON'T USE $\setminus$ref}}
\def\newtheorem#1#2{\Error{DON't USE $\setminus$newtheorem}
	\expandafter\def\csname #1\endcsname{\par\smallskip{\sc #2}\it}
	\expandafter\def\csname end#1\endcsname{\rm\par\smallskip}}

% define the look of equations

\def\theequation{\arabic{equation}}

% modifify bibliography
\def\thebibliography#1{\nspaces\footnotesize\list{[{\arabic{enumiv}}]}%
           {\settowidth\labelwidth{[#1]}%
            \leftmargin\labelwidth\itemsep0pt\parsep0pt\topsep\medskipamount
            \advance\leftmargin\labelsep
            \usecounter{enumiv}\def\theenumiv{\arabic{enumiv}}}%
      \sloppy\clubpenalty4000\widowpenalty4000}

% modify enumerate 

\def\theenumiii{{\it \roman{enumiii}}}
\def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
      \advance\@enumdepth \@ne
      \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
      {\csname label\@enumctr\endcsname}{\itemsep0pt\parsep0pt
	\topsep 4pt\partopsep0pt
	\ifnum\@enumdepth<2 \leftmargin0pt\itemindent6ex\labelwidth0ex
	\else \leftmargin5ex \fi
	\usecounter{\@enumctr}\def\makelabel##1{\hss\llap{##1}}}%
	\fi}

% modify itemize 

\def\itemize{\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne
	\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
	\list{\csname\@itemitem\endcsname}{\itemsep0pt\parsep0pt
	\topsep 4pt
	\partopsep0pt\itemindent0mm\leftmargin3.5ex
	\def\makelabel##1{\hss\llap{##1}}}%
	\fi}

% define the page style

\def\ps@oemg{\let\@mkboth\@gobbletwo
        \def\@oddhead{{\footnotesize\sf\scshape
		\begin{tabular}{@{}p{\linewidth}@{}}
		\"OMV+DMV Congress --- Graz 2009\hfill \arabic{page}
		\\ \hline \end{tabular}}}
        \def\@evenhead{{\footnotesize\sf\scshape
		\begin{tabular}{@{}p{\linewidth}@{}}
		\arabic{page}\hfill Abstracts
			\ifx\currentsession\empty\else Section
			\currentsession\fi \\ \hline \end{tabular}}}
        \def\@oddfoot{\relax}
        \def\@evenfoot{\relax}
}
\pagestyle{oemg}
\def\verbatim@font{\footnotesize\normalfont\ttfamily\bfseries}
\makeatother

% diminish typical height of \sum, ...

\let\oldprod=\prod\def\prod{\oldprod\nolimits}
\let\oldsum=\sum\def\sum{\oldsum\nolimits}
\let\oldbigcup=\bigcup\def\bigcup{\oldbigcup\nolimits}
\let\oldbigcap=\bigcap\def\bigcap{\oldbigcap\nolimits}

%  define theorem environments

\outer\def\proclaim #1. #2\par{\Subsubsection*{\hspace*{\parindent}%
	{\sc #1.\enspace}#2}}

% define URL

\def \URL#1{{\sl\spaceskip 0 pt plus 0.2pt\xspaceskip\spaceskip #1}}

% The following is a rather arbitrary collection of words where hyphenation
% has not worked properly in the past. Some of them not English.

\hyphenation{af-fine-ly al-ge-bra-i-cal-ly an-ti-pode asym-ptot-ic 
at-tri-butes bary-cen-ter bary-cen-ters bary-cen-tric Blasch-ke brev-i-ty 
brief-ly Cau-chy cen-trip-e-tal Chri-stof-fel clear-ly close-ly 
col-lin-ear col-lin-ear-i-ty col-li-ne-a-tion col-li-ne-a-tions 
com-plete-ly com-put-able Com-put-er con-trib-ute con-verse-ly De-sargues 
Deut-scher Deut-sche Sit-zungs-be-rich-te de-vel-op-able 
dif-fer-en-ti-ab-le Dif-fe-ren-ti-al-geo-met-rie Dis-kre-te ei-gen-space 
ei-gen-spaces eig-en-val-ue eig-en-val-ues eig-en-vec-tor ei-gen-vec-tors 
equi-form equi-for-mal equiv-a-lent-ly Eu-clid-ean eu-clid-ean fi-nite-ly 
found-ed free-form ge-ner-ic geo-de-sic geo-de-sical-ly Ge-o-me-trie 
Ha-bi-li-ta-ti-ons-schrift Hil-bert Hil-bert-raum ho-meo-mor-phic 
ho-mo-thet-ic in-fin-i-tes-i-mal in-fin-i-tes-i-mal-ly in-jec-ti-ve 
Ins-ti-tut iso-ther-mic De-sargues iso-tro-pic lo-cal-ly Ma-the-ma-tik 
Min-kow-ski mo-no-mi-al mo-no-mi-als op-tical or-tho-go-nal pa-rab-o-la 
par-a-bol-ic pa-rab-o-loid pa-rab-o-loids pa-ram-e-tri-za-tion 
pa-ram-e-tri-za-tions pa-ram-e-trize pa-ram-e-trized pa-ram-e-tri-zes 
pre-print pub-lish-er Py-thag-o-re-an quad-rat-ic quad-ric quad-rics 
qua-ter-ni-on qua-ter-ni-ons reg-u-li re-spec-ti-ve-ly rie-man-ni-an 
Rie-man-ni-an sat-is-fy semi-conduc-tor semi-dis-crete Sprin-ger 
ste-reo-graph-ic sur-fac-es Tech-ni-sche unique-ly var-i-a-tion 
va-ri-a-tion-al Vor-le-sung Vor-le-sun-gen wave-let Zeit-schrift}

\begin{document}
\Session{17}
\Abstract{Fr}{08:00}{abstract}
\end{document}

