\documentclass[a4paper,11pt]{scrbook}
\usepackage[english]{babel,varioref}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[normalem]{ulem}
\usepackage[breaklinks=true]{hyperref}
\usepackage{titlesec}
\usepackage[dvips]{color}
\usepackage{latexsym}
\usepackage[intlimits]{amsmath}
\usepackage{amssymb}
\usepackage{float}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{scrpage2}
\usepackage{pspicture}
\usepackage{pst-all}
\usepackage{pstricks-add}
\usepackage{units}
\usepackage{makeidx}
\usepackage{wasysym}
\usepackage{pst-plot}


\unitlength1mm

% Absatzumformatierung
\parskip3mm  % Absatzabstand
\parindent0pt % ohne Einzug

\renewcommand{\labelenumi}{\alph{enumi}$)$ }
\renewcommand{\labelenumii}{\roman{enumii}$)$}

% Definition der Kapitelueberschrift
%\titleformat{\chapter}[frame]
%{\sffamily}
%{\filright
%\huge
%\enspace \textsection \thechapter \enspace}
%{5pt}
%{\Huge\bfseries\filcenter}

% Definition der Sektionen
\titleformat{\section}[block]
{\sffamily}
{\large\thesection}{.7em}{\large\bfseries}
\titlespacing{\section}
{\parindent}{*1}{\wordsep}


\titleformat{\subsection}[block]
{\sffamily}
{\large\thesubsection}{.7em}{\large\bfseries}
\titlespacing{\section}
{\parindent}{*1}{\wordsep}


\makeatletter
\def\La{%
  L\kern-.36em{%
  \setbox0\hbox{T}%
  \vbox to\ht0{%
    \hbox{$\m@th$%
      \csname S@\f@size\endcsname
      \fontsize\sf@size\z@
      \math@fontsfalse\selectfont A}%
      \vss%
    }%
  }%
}
\def\AllTeX{(\La\kern-.075em)\kern-.075em\TeX}
\makeatother


% Definition des Layouts des Inhaltsverzeichnisses
\makeatletter
%tableofcontent
%\renewcommand*\tableofcontents{%
%  \chapter*{Inhaltsverzeichnis}%
%  \columnseprule 0.5pt%
%  \columnsep 1em%
%  \begin{framed}%
%    \begin{multicols}{2}%
%      \parskip\z@ \@plus .2\p@\relax%
%      \@starttoc{toc}%
%   \end{multicols}
%  \end{framed}
%}

%Gliederungsnummer
\renewcommand{\numberline}[1]{%
 \makebox[1cm][l]{#1}\hspace{1mm}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Adding lines above and below the chapter head
%

% 1st get a new command
\newcommand*{\ORIGchapterheadstartvskip}{}%
% 2nd save the original definition to the new command
\let\ORIGchapterheadstartvskip=\chapterheadstartvskip
% 3rd redefine the command using the saved original command
\renewcommand*{\chapterheadstartvskip}{%
\vspace*{.000003\textheight}
  \ORIGchapterheadstartvskip
  {%
  %    \vspace*{.0003\textheight}
    \setlength{\parskip}{0pt}%
    \noindent\rule[.3\baselineskip]{\linewidth}{1pt}\par\Huge\bfseries
  }%
}

% see above
\newcommand*{\ORIGchapterheadendvskip}{}%
\let\ORIGchapterheadendvskip=\chapterheadendvskip
\renewcommand*{\chapterheadendvskip}{%
 \vspace*{.0003\baselineskip}
  {%
    %\vspace{.3\baselineskip}
    \setlength{\parskip}{0pt}%
    \noindent\rule[.3\baselineskip]{\linewidth}{1pt}\par
  }%
  \ORIGchapterheadendvskip
}
%
%  End of chapter head change
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\renewcommand{\l@chapter}[2]{%
\addvspace{2ex}%
\pagebreak[3]%
\noindent%
\makebox[0pt][l]{%
\rule[-3pt]{\textwidth}{0.5pt}}%
{\large\textbf{#1}}\hfill#2%
\par%
\nopagebreak%
\addvspace{1ex}%
}


\renewcommand{\l@section}[2]{%
\addvspace{0.5ex}%
\noindent\hspace{1cm}%
#1\hfill#2%
\par%
\nopagebreak[2]%
}

\renewcommand{\l@subsection}[2]{%
\addvspace{0.2ex}%
\noindent\hspace{2cm}%
#1\hfill#2%
\par%
}
\makeatother




\pagestyle{scrheadings}

% HEADER
\automark[section]{chapter}
\setheadtopline{2pt}
\setheadsepline{2pt}
\renewcommand{\headfont}{\normalfont\sffamily\bfseries\slshape}

\geometry{verbose,paperheight=27.5cm,paperwidth=19cm,inner=7mm,bottom=13mm,right=27mm,left=27mm,textwidth=11.5cm,marginparsep=5mm,marginparwidth=2cm,top=15mm,includeheadfoot,dvips}
\makeindex

\begin{document}
\begin{titlepage}
\thispagestyle{empty}

\centering
\vspace*{-3cm}
Saarland University\\
Faculty of Natural Sciences and Technology I\\
Department of Computer Science\bigbreak
\vspace{\fill}
\LARGE
\sout{\hspace*{\fill}}\textbf{ Seminar Notes }\sout{\hspace*{\fill}}\\
\Huge
\vspace{0.5\baselineskip}
\textbf{Optimisation for\\Visual Computing\\Summer Semester 2009}\\
{\LARGE \hrulefill\\}
\vspace{0.5\baselineskip}
\LARGE
\textbf{Dr. Michael Breu\ss{},\\ Dr. Bernhard Burgeth}\\
\number\year-\number\month-\number\day\bigbreak
\vspace{\fill}
\hfuzz=5cm\relax
   \normalsize


\end{titlepage} 


%\sffamily
%\thispagestyle{empty}


\tableofcontents


\input{bla.tex}


%\printindex


\end{document}
