\documentclass[12pt,a4paper]{article}
\usepackage{a4}
\usepackage[naustrian]{babel}
\usepackage[latin1]{inputenc}
\usepackage{calc}
\usepackage{amsmath}   
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{amsfonts}


% Seitenräder einstellen und Höhe der Seitenzahlen
\usepackage{geometry}
\geometry{a4paper, left=2.5cm, right=2cm, top=3cm, bottom=2.8cm}
\setlength{\footskip}{2cm}


\newcommand{\R}{\mathbb R}
%\newcommand{\N}{\mathbb N}
%\newcommand{\Q}{\mathbb Q}
%\newcommand{\C}{\mathbb C}

%Zähler definieren und Starwert setzen:
\newcounter{ctr}
\setcounter{ctr}{0}

\newcounter{Teubner}
\newcounter{Klingenberg}
\newcounter{T}
\newcounter{Vo}
\newcounter{Se}
\newcounter{E}
\newcounter{Bwl}
\newcounter{Int}
\newcounter{Prim}
\newcounter{Z}
\setcounter{Z}{0}
\setcounter{Teubner}{1}
\setcounter{Klingenberg}{2}
\setcounter{T}{1}
\setcounter{Vo}{7}
\setcounter{Se}{2}
\setcounter{E}{3}
\setcounter{Bwl}{4}
\setcounter{Int}{5}
\setcounter{Prim}{6}

%BSP
\newenvironment{myBsp}{
  \begin{list}{\textbf{\textsc{Bsp:}}}{
    \setlength{\labelwidth}{8Pc}
    \setlength{\labelsep}{0.5Pc}    
    \setlength{\rightmargin}{0Pc}
    \setlength{\leftmargin}{2Pc}
    \setlength{\parsep}{0ex plus 0.5ex}
    \setlength{\listparindent}{1em}
    \setlength{\itemsep}{1ex plus 0.5ex minus 0.2ex}
    \setlength{\topsep}{0.5Pc}
  }}
  {\end{list}
}


%Lemma
\newenvironment{myLemma}{
  \begin{list}{\textsc{\textbf{Lemma:\ \ \ }}}{
   \setlength{\labelsep}{-0.5Pc}    
    \setlength{\leftmargin}{1Pc}
    \setlength{\parsep}{0ex plus 0.5ex}
    \setlength{\listparindent}{1em}
    \setlength{\itemsep}{1ex plus 0.5ex minus 0.2ex}
    \setlength{\topsep}{0.5Pc}
  }}
  {\end{list}
}
%Korollar
\newenvironment{myKorollar}{
  \begin{list}{\textsc{\textbf{Korollar: }}}{
    \setlength{\labelwidth}{8Pc}
    \setlength{\labelsep}{0.5Pc}    
    \setlength{\rightmargin}{0Pc}
    \setlength{\leftmargin}{4Pc}
    \setlength{\parsep}{0ex plus 0.5ex}
    \setlength{\listparindent}{1em}
    \setlength{\itemsep}{1ex plus 0.5ex minus 0.2ex}
    \setlength{\topsep}{0.5Pc}
  }}
  {\end{list}
}

%Theorem
\newenvironment{myTheorem}{
  \begin{list}{\textsc{\textbf{Theorem: }}}{
    \setlength{\labelwidth}{8Pc}
    \setlength{\labelsep}{0.5Pc}    
    \setlength{\rightmargin}{0Pc}
    \setlength{\leftmargin}{5Pc}
    \setlength{\parsep}{0ex plus 0.5ex}
    \setlength{\listparindent}{1em}
    \setlength{\itemsep}{1ex plus 0.5ex minus 0.2ex}
    \setlength{\topsep}{0.5Pc}
  }}
  {\end{list}
}


%Proportion
\newenvironment{myProp}{
  \begin{list}{\textsc{\textbf{Proportion: }}}{
    \setlength{\labelwidth}{8Pc}
    \setlength{\labelsep}{0.5Pc}    
    \setlength{\rightmargin}{0Pc}
    \setlength{\leftmargin}{4Pc}
    \setlength{\parsep}{0ex plus 0.5ex}
    \setlength{\listparindent}{1em}
    \setlength{\itemsep}{1ex plus 0.5ex minus 0.2ex}
    \setlength{\topsep}{0.5Pc}
  }}
  {\end{list}
}

%Farben

\newcommand{\red}[1]{\textcolor[rgb]{0.7,0,0}{\bf #1}}
\newcommand{\rd}[1]{\color{red}{#1}}
\newcommand{\white}[1]{\textcolor[rgb]{1,0,0}{\bf #1}}
\newcommand{\w}[1]{\color{white}{#1}}
\newcommand{\g}[1]{\color{myColor}{#1}}

\usepackage{color}
\definecolor{myColor}{rgb}{0.9,0.9,0.9}% Wir definieren im RGB-Farbraum


\newcommand{\myDef}[1]{\parbox{\columnwidth}{\addtocounter{ctr}{1}{\w .}\\[-0.2cm]\textbf{Definition\ \Nummer:}\\#1}}
\newcommand{\mySatz}[2]{\colorbox{myColor}{\parbox{\columnwidth}{\addtocounter{ctr}{1}{\g .}\\[-0.2cm]\textbf{Satz\ \Nummer:}\ #1\\ #2}}}
\newcommand{\myBeweis}[1]{\textit{\textbf{Beweis:}\\ #1}}
\newcommand{\myAlg}[2]{\parbox{\columnwidth}{\addtocounter{ctr}{1}\textbf{Algorithmus\ \Nummer:}\ \ #1\\#2}}
\newcommand{\myProg}[1]{\fbox{\parbox{\columnwidth}{#1}}}

\newcommand{\add}[1]{\addtocounter{#1}{1}}
\newcommand{\zahl}[1]{\setcounter{#1}{Z}}
\newcommand{\Q}[2]{\parbox{\columnwidth}{$^{[\arabic{#1}/#2]}$ }}

\newcommand{\Nummer}{\thesection.\arabic{ctr}}

%------------------------------------------------------------- Beginn -----------------------------------------------------------------------

\title{Greates common divisor \\ for multivariable Polynomials}
\author{By\\Diana Meindl\\meindl$_-$diana@yahoo.com}
\date{}

\begin{document}
\maketitle
{\w .}\\[12cm]
\begin{center}
Presented to \\
A.Univ.Prof. Dipl.-Ing. Dr. Wolfgang Schreiner (RISC Insitute)\\
and\\
Dr. techn. Walther Neuper (Institut für Softwaretechnologie, TU Graz)
\end{center}
\newpage
%\tableofcontents
\newpage
\input{proposal}
\newpage

\end{document}