%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title: Testrahmen zum Skript zur Graphentheorie WS 2013/14
% File: test-skript.tex
% Begin: November 2013
% Completed: 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\versiondate{23 Jan. 2018}
%%
\documentclass%%
[12pt,BCOR=9.5mm,DIV=14,openany,headsepline]%%
%% BCOR ist BindeKorrektur
{scrbook}

\usepackage{microtype}
\usepackage[ngerman]{babel}

\usepackage[utf8]{inputenc} 
\usepackage[light]{kpfonts}
%% das war nur mit cmbright noetig
%%\def\sc{\changefont{cmr}{m}{sc}}
\newcommand{\changefont}[3]{
\fontfamily{#1}\fontseries{#2}\fontshape{#3}\selectfont}
\def\tt{\changefont{cmtt}{m}{n}}
\def\it{\itshape}
\def\bf{\bfseries}
\def\sc{\scshape}
\def\sl{\slshape}

\usepackage[format=plain,indention=.5cm,font=small,labelfont=bf]{caption}
\captionsetup[wrapfigure]{name=Abb.}

\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{theorem}


\usepackage{color}
\definecolor{roetlich}{rgb}{1,0.6,0.5}
\usepackage{graphicx}
\usepackage{wrapfig}
\input{pdffig.sty}

\graphicspath{{./Figures/}{./Figures/vl26/}{./Figures/vl31/}{./Figures/vl32/}}

\usepackage{url}

\usepackage{calc}

\usepackage{multicol}

\usepackage[subsectionbib]{bibunits}

\usepackage[algochapter, boxed, lined]{algorithm2e}
\usepackage{algorithmic}
\usepackage{subfig}

\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\usetikzlibrary{calc}
\usetikzlibrary{arrows}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.markings}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Mathe Makros
\def\genatop#1#2{\genfrac{}{}{0pt}{}{#1}{#2}}


\def\term#1{{\sffamily #1}}%\marginpar{\raggedright{\small\sf #1}}}
%%\def\nct#1{{\bf #1}} %% no-cite term

\usepackage{dsfont}
\newcommand{\RR}{\ensuremath{\mathbb{R}}}
\newcommand{\NN}{\ensuremath{\mathbb{N}}}
\def\ZZ{\mathbb{Z}}
\def\FF{\mathbb{F}}
\def\Eins{\mathds{1}}
%%\def\Eins{\hbox{\sf 1\kern-2ptI}} % "1 mit Strich"

\def\BO{O}                     % Big Oh
\def\Prob{{\rm Prob}}          % Probability
\def\Prob{\textbf{\upshape Pr}}          % Probability
\def\Exp{\textbf{\upshape E}}          % Probability

\def\<{\langle}                % spitze Klammern
\def\>{\rangle}
\def\isom{\equiv}
\def\norm#1{||#1||}
\def\innerp#1{\langle#1\rangle}
\def\into{\hookrightarrow}
\def\implies{\Longrightarrow}
\def\quer{\overline}
\def\ovl{\overline}
\def\eh{\frac{1}{2}} %% ein-halb

\def\det{\textsf{\upshape det}}
\def\grad{\textsf{\upshape grad}}
\def\deg{\textsf{\upshape deg}}
\def\av{\textsf{\upshape av}}
\def\dist{\textsf{\upshape dist}}
\def\rad{\textsf{\upshape rad}}
\def\diam{\textsf{\upshape diam}}
\def\girth{\textsf{\upshape girth}}
\def\outdeg{\textsf{\upshape outdeg}}
\def\indeg{\textsf{\upshape indeg}}
\def\rang{\textsf{\upshape rang}}
\def\spur{\textsf{\upshape spur}}
\def\cross{\textsf{\upshape cr}}
\def\lcross{\ovl{\textsf{\upshape cr}}}
\def\col{\textsf{\upshape col}}
\def\Min{\textsf{\upshape Min}}
\def\tw{\textsf{\upshape tw}}
\def\Col{\textsf{\upshape Col}}
\def\ExtCol{\textsf{\upshape ExtCol}}

\newcommand{\proba}{\textsf{\upshape Prob}}
\newcommand{\erw}{\textsf{\upshape E}}
\DeclareMathOperator*{\conv}{\textsf{\upshape conv}}

\newcommand{\alphaG}{\ensuremath{\alpha(G)}}
\newcommand{\myterm}[1]{\term{#1}}
% Definitionen für W-Theorie
\newcommand{\GM}{\ensuremath{\Omega}}
\newcommand{\probafunc}[1]{\proba\left( #1 \right)}
\newcommand{\sumlim}[2]{\ensuremath{\sum\limits_{#1}}}
\newcommand{\Potenz}{\ensuremath{\mathcal{P}}}
\newcommand{\erwfunc}[1]{\erw\left[ #1 \right]}
\newcommand{\SYM}[1]{\mathbb{S}_{#1}}
\newcommand{\gleichv}{\mathbb{U}}
\newcommand{\gleichvfunc}[1]{\mathbb{U}\left(#1\right)}

\def\CC{\mathcal{C}}
\def\GG{\mathcal{G}}
\def\HH{\mathcal{H}}
\def\LL{\mathcal{L}}

\def\ni{\noindent}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 
\def\ITEMMACRO #1 ??? #2 ???{\par\medskip\noindent%
%% % Vorsicht mit Spaces in diesem Macro
\hangindent=#2em\setbox0\hbox{#1\kern4pt}%
\ifdim\wd0<\hangindent\setbox0\hbox to\hangindent{\hss#1\kern7pt}\fi%
\box0\ignorespaces}
 
\def\Item(#1){\ITEMMACRO (#1) ??? 3 ???}
\def\FreeItem#1{\ITEMMACRO #1 ??? 3 ???}
\def\IemItem(#1){\ITEMMACRO (#1) ??? 5 ???}
\def\Bitem{\ITEMMACRO \hss$\bullet$ ??? 3 ???}
\def\FullItem#1#2{\ITEMMACRO #1 ??? #2 ???}
\def\NItem{\FreeItem{}}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\Vorlesungskopf}[4]{
\clearpage\noindent
\parbox{8cm}{
	
	Graphentheorie, TU Berlin, WS 2013/14\\
	\rule{0mm}{6mm}%
	{\it Dozent:} Stefan Felsner\\
	{\it Mitschrift:}	#1\\
	{\it Datum:}     #2
}
\hfill
\begin{tabular}{c@{}}
{\bf\Large Vorlesung}\\
\rule{0mm}{17mm}\scalebox{6.6}{\bf #3}
\end{tabular}
\def\thechapter{#3}
\setcounter{section}{0}
\setcounter{theorem}{0}
\setcounter{figure}{0}
%
\section*{{\huge #4}}
\addcontentsline {toc}{chapter}{#3. #4}
\thispagestyle{plain}
\markboth{#3. #4}{#3. #4}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theorems, Proofs:

%% das ist eine Mischung aus den theorem-styles break und plain
%% ich will wenn ##3 existiert einen break, sonst nicht.
%% Die Methode: Umdefinieren von plain-sty

\begingroup\makeatletter 
\gdef\th@plain{\normalfont\slshape
   \def\@begintheorem##1##2{%
        \item[\hskip\labelsep \theorem@headerfont ##1\ ##2]}%
\def\@opargbegintheorem##1##2##3{%
  \item[\rlap{\vbox{\hbox{\hskip \labelsep \theorem@headerfont
                     ##1\ ##2\ (##3)}%
                    \hbox{\strut}}}]}}
\endgroup

%%\theoremstyle{marginbreak}
%%\theorembodyfont{\slshape}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{satz}[theorem]{Satz}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{defin}[theorem]{Definition}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollar}[theorem]{Korollar}
\newtheorem{example}[theorem]{Beispiel}

\def\Bew{\smallskip{\changefont{jkpx}{sb}{n}{\noindent Beweis.}}\ }
\let\Beweis=\Bew
\let\proof=\Bew

\def\qed{\hfill\fbox{\hbox{}}\medskip}
\def\qedclaim{\hfill$\triangle$\smallskip}

\def\Bemerkung{\medbreak\noindent{\bf Bemerkung.\ }}
\def\Folgerung{\medbreak\noindent{\bf Folgerung.\ }}
\def\Beobachtung{\medbreak\noindent{\bf Beobachtung.\ }}
\def\BeobachtMit #1.{\medbreak\noindent{\bf Beobachtung #1.\ }}
\def\Tatsache#1.{\medbreak\noindent{\bf Tatsache #1.\ }}
\def\Behauptung#1.{\medbreak\noindent{\bf Behauptung #1.\ }}
\def\BehauptungX{\medbreak\noindent{\bf Behauptung.\ }}
\def\Beh{\medbreak\noindent{\bf Behauptung.\ }}
\def\Beispiel{\medbreak\noindent{\bf Beispiel.\ }}

\renewcommand{\thefootnote}{\Roman{footnote}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\thispagestyle{empty}
% *************************************************************
%                   TITLE PAGE
% *************************************************************
%
\begingroup
\Huge\bf
Graphentheorie
\endgroup
\vskip40pt


{\large Test zum Teilnehmerskript}
\vskip4pt

\begingroup\it
\obeylines\parindent2em\advance\parskip-.7mm
zu einer Vorlesung von
Stefan Felsner
Wintersemester 2013/14
Technische Universität Berlin
\endgroup

%
\vskip20mm
\begin{center}
\includegraphics[width=120mm]{flip-graph-c4}\\
Die 14 azyklischen Orientierungen des 4-Kreises.
\end{center}
%

\footnotetext{\versiondate}
% -------------------------------------------------------------
\cleardoublepage
% -------------------------------------------------------------

  \input{vorwort.tex}


\cleardoublepage
% -------------------------------------------------------------
%   Inhaltsverzeichnis
% -------------------------------------------------------------

\tableofcontents
% ---------------

\cleardoublepage
% *************************************************************
\pagenumbering{arabic}
\setcounter{page}{1}
 
 
    \input{hinweise.tex}
     
    \input{vorlesungY.tex}
  

% -------------------------------------------------------------
%   Index
% -------------------------------------------------------------

%\printindex

% *************************************************************

\end{document}
