% ============================================================
% 
% Skript zur Vorlesung H\"ohehre Algorithmik, 
% Wintersemester 2006/2007
%
% ============================================================

\documentclass[a4paper]{report}

\usepackage{amsmath,amssymb}
\usepackage{amsthm,amsbsy}

\usepackage{url}
\usepackage[pdftex,colorlinks,linkcolor=blue,citecolor=blue,backref]{hyperref}

% -- graphics
\usepackage{graphicx}
%\usepackage{caption}
\usepackage{subfigure}

% -- algorithms
\usepackage[ruled,vlined]{algorithm2e}
\usepackage{algorithmic}
\dontprintsemicolon

% -- Latin encoding
\usepackage[latin1]{inputenc}
\usepackage{ngerman}

% -- specials
%% use as: \authoredchapter{title}{authors}{shortitle}{shortauthors}
\newcommand{\authoredchapter}[4]
% TODO: format der Autoren im Inhaltsverzeichnis
% der bisherige Eintrag ruft ``h"assliche'' PDF-Bookmarks hervor.
{\chapter[#3 -- #4]%\\\protect{\normalsize\normalfont\it #4}]
         {#1\\{\normalsize\normalfont\it #2}}
 \chaptermark{#3}
}

%%%%%%%%%%%
%% use as: \vorlesung{date}{authors}
\newcommand{\vorlesung}[2]
{ \small  \textbf{Vorlesung vom #1} \\ Skript erstellt von \emph{#2}  }
%%%%%%%%%%%

% -- theorem environments
%\newtheorem{theorem}{Theorem}[section]{\bf}{\it}
%\newtheorem{corollary}[theorem]{Corollary}{\bf}{\it}
%\newtheorem{lemma}[theorem]{Lemma}{\bf}{\it}
%\newtheorem{definition}[theorem]{Definition}{\bf}{\it}
%\newtheorem{problem}[theorem]{Problem}{\bf}{\rm}
%\newtheorem{property}[theorem]{Property}{\it}{\rm}
%\newtheorem{proposition}[theorem]{Proposition}{\bf}{\it}
%\newtheorem{remark}[theorem]{Remark}{\it}{\rm}
%\newtheorem{observation}[theorem]{Observation}{\bf}{\it}
%\newtheorem{claim}[theorem]{Claim}{\it}{\rm}
%\newtheorem*{proof}{Proof}{\it}{\rm}
%\newtheorem*{proofsketch}{Sketch of Proof}{\it}{\rm}

\newtheorem{theorem}{Satz}[section]
\newtheorem{corollary}[theorem]{Korollar}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{frage}[theorem]{Frage}
\newtheorem{property}[theorem]{Eigenschaft}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{observation}[theorem]{Beobachtung}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{claim}[theorem]{Behauptung}

\theoremstyle{remark}
%\newtheorem{remark}[theorem]{Bemerkung}
\newtheorem*{remark}{Bemerkung}
\newtheorem*{example}{Beispiel}

\newenvironment{beweis}{\begin{proof}[Beweis]}{\end{proof}}
\newenvironment{beweisskizze}{\begin{proof}[Beweisskizze]}{\end{proof}}

% make ',' an ordinary Symbol in decimal numbers
%\mathchardef\CommaOrdinary="013B
%\mathchardef\CommaPunct   ="613B
%\mathcode`,="8000   % , im Math-Mode aktiv machen
%{\catcode`\,=\active
%\gdef ,{\obeyspaces\futurelet\next\CommaCheck}}
%\def\CommaCheck{\if\space\next\CommaPunct\else\CommaOrdinary\fi}
	
	
% -- symbols
\newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\N}{\ensuremath{\mathbb{N}}}
\renewcommand{\P}{\ensuremath{\mathbb{P}}}
\newcommand{\M}{\ensuremath{\mathcal{M}}}
\newcommand{\U}{\ensuremath{\mathcal{U}}}
\renewcommand{\O}{\ensuremath{\mathcal{O}}}
\renewcommand{\S}{\ensuremath{\mathcal{S}}}
\newcommand{\NP}{\ensuremath{\mathcal{NP}}}
\newcommand{\NPC}{\ensuremath{\mathcal{NPC}}}
\newcommand{\OPT}{\ensuremath{\mathit{OPT}}}
\newcommand{\Exp}[1]{\ensuremath{\mathds{E}[#1]}}  % expectation
\newcommand{\dir}[1]{\overrightarrow{#1}}
\newcommand{\diam}{\operatorname{diam}}
\renewcommand{\v}[1]{\ensuremath{\boldsymbol{#1}}}
\newcommand{\vc}[1]{\ensuremath{ \begin{pmatrix}#1\end{pmatrix} } }

\newcommand{\floor}[1]{\ensuremath{\left\lfloor #1 \right\rfloor }}
\newcommand{\ceil}[1]{\ensuremath{\left\lceil #1 \right\rceil }}
\newcommand{\To}{\ensuremath{\Rightarrow}}
\newcommand{\gdw}{\ensuremath{\Leftrightarrow}}

\newcommand{\coment}[1]{}

\setlength{\parindent}{0pt}
\setlength{\parskip}{1.2ex}

% -----------------------------------------------------------
% use this to run latex only on your chapter
% -----------------------------------------------------------
%\setcounter{chapter}{}
%\setcounter{page}{}

%\includeonly{sample/sample}
%\includeonly{061020/061020}
%\includeonly{061023/061023}
%\includeonly{061027/061027}
%\includeonly{061030/061030}
%\includeonly{061103/061103}
%\includeonly{061106/061106}
%\includeonly{061110/061110}
%\includeonly{061113/061113}
%\includeonly{061117/061117}
%\includeonly{061120/061120}
%\includeonly{061124/061124}
%\includeonly{061127/061127}
%\includeonly{061201/061201}
%\includeonly{061204/061204}
%\includeonly{061208/061208}
%\includeonly{061211/061211}
%\includeonly{061215/061215}
%\includeonly{061218/061218}
%\includeonly{070108/070108}
%\includeonly{070112/070112}
%\includeonly{070115/070115}
%\includeonly{070119/070119}
%\includeonly{070122/070122}
%\includeonly{070126/070126}
%\includeonly{070129/070129}
%\includeonly{070202/070202}
%\includeonly{070205/070205}
%\includeonly{070209/070209}
%\includeonly{070212/070212}
%\includeonly{070216/070216}
%\includeonly{070219/070219}


\begin{document}
% =================================================================


% =================================================================
% front matter
% =================================================================


\include{title}

% -----------------------------------------------------------------


% =================================================================
% main matter
% =================================================================

%\setcounter{chapter}{-1}

\include{061020/061020}
\include{061023/061023}
\include{061027/061027}
\include{061030/061030}
\include{061103/061103}
\include{061106/061106}
\include{061110/061110}
\include{061113/061113}
\include{061117/061117}
\include{061120/061120}
\include{061124/061124}
\include{061127/061127}
\include{061201/061201}
\include{061204/061204}
\include{061208/061208}
\include{061211/061211}
\include{061215/061215}
\include{061218/061218}
\include{070108/070108}
\include{070112/070112}
\include{070115/070115}
\include{070119/070119}
\include{070122/070122}
\include{070126/070126}
\include{070129/070129}
\include{070202/070202}
\include{070205/070205}
% -----------------------------------------------------------------



% =================================================================
\end{document}

