2013-04-14 21:35:39 +02:00
|
|
|
% use KIT-Theme
|
|
|
|
% see http://sdqweb.ipd.kit.edu/wiki/Dokumentvorlagen
|
|
|
|
%\usetheme{Frankfurt} % see http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html as fallback
|
|
|
|
\InputIfFileExists{../templates/beamerthemekit.sty}{\usepackage{../templates/beamerthemekit}}{\usetheme{Frankfurt}}
|
|
|
|
\usefonttheme{professionalfonts}
|
|
|
|
|
|
|
|
\usepackage{hyperref}
|
|
|
|
\usepackage{lmodern}
|
|
|
|
\usepackage{listings}
|
|
|
|
\usepackage{wrapfig} % see http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
|
|
|
|
\usepackage[utf8]{inputenc} % this is needed for german umlauts
|
|
|
|
\usepackage[english]{babel} % this is needed for german umlauts
|
|
|
|
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
|
|
|
|
\usepackage{verbatim}
|
|
|
|
\usepackage{tikz}
|
2013-06-13 20:59:55 +02:00
|
|
|
\usetikzlibrary{arrows,shapes,decorations.pathmorphing}
|
2013-04-14 21:35:39 +02:00
|
|
|
\usepackage{relsize}
|
|
|
|
\usepackage{subfigure}
|
2013-06-13 20:59:55 +02:00
|
|
|
\usepackage[Algorithmus]{algorithm}
|
|
|
|
\usepackage{algpseudocode}
|
2013-04-14 21:35:39 +02:00
|
|
|
\usepackage{minted} % needed for the inclusion of source code
|
|
|
|
\usepackage{menukeys}
|
|
|
|
\usepackage{xcolor}
|
|
|
|
\usepackage{pifont}% http://ctan.org/pkg/pifont
|
|
|
|
\usepackage{soul}
|
|
|
|
\usepackage{braket}
|
|
|
|
|
|
|
|
% Define some styles for graphs
|
|
|
|
\tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt]
|
|
|
|
\tikzstyle{selected vertex} = [vertex, fill=red!24]
|
|
|
|
\tikzstyle{blue vertex} = [vertex, fill=blue!24]
|
|
|
|
\tikzstyle{edge} = [draw,thick,-]
|
|
|
|
\tikzstyle{weight} = [font=\small]
|
|
|
|
\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]
|
|
|
|
\tikzstyle{ignored edge} = [draw,line width=5pt,-,black!20]
|
|
|
|
|
|
|
|
%\algdef{SE}[IF]{NoThenIf}{EndIf}[1]{\algorithmicif\ #1\textbf{:}}{\algorithmicend\ \algorithmicif}%
|
|
|
|
\algtext*{EndIf} % Remove "end if" text
|
|
|
|
\algtext*{EndWhile} % Remove "end while" text
|
|
|
|
\algtext*{EndFunction} % Remove "end while" text
|
|
|
|
\algnewcommand\Global{\textbf{global }}
|
|
|
|
|
|
|
|
% http://tex.stackexchange.com/a/8388/5645
|
|
|
|
\newcommand{\alertline}{%
|
|
|
|
\usebeamercolor[fg]{normal text}%
|
|
|
|
\only{\usebeamercolor[fg]{alerted text}}}
|
|
|
|
|
|
|
|
\newcommand {\framedgraphic}[2] {
|
|
|
|
\begin{frame}{#1}
|
|
|
|
\begin{center}
|
|
|
|
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#2}
|
|
|
|
\end{center}
|
|
|
|
\end{frame}
|
|
|
|
}
|
|
|
|
|
|
|
|
\hypersetup{%
|
|
|
|
breaklinks=true,
|
|
|
|
linktocpage=false,
|
|
|
|
colorlinks=true,
|
|
|
|
urlcolor=blue,
|
|
|
|
linkcolor=blue,
|
|
|
|
citecolor=black
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\myCode}[1]{\colorbox{gray!30}{#1}}
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Make source code easier to copy %
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% from http://tex.stackexchange.com/questions/57151/how-do-i-prevent-conflicts-between-accsupp-and-hyperref
|
|
|
|
\usepackage{accsupp}
|
|
|
|
\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
|
|
|
|
|
|
|
|
|
|
|
|
%default definition is: \def\theFancyVerbLine{\rmfamily\tiny\arabic{FancyVerbLine}}
|
|
|
|
\let\theHFancyVerbLine\theFancyVerbLine% don't apply our patch to hyperref's version
|
|
|
|
\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Add some shortcuts %
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\newcommand{\cmark}{\ding{51}}% a checkmark
|
|
|
|
\newcommand{\xmark}{\ding{55}}% a cross
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Set some template options - other tutors will have to adjust this %
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\newcommand\tutor{Martin Thoma}
|
|
|
|
\newcommand\titleText{Graphentheorie I}
|
|
|
|
\institute{Institut für Stochastik}
|
|
|
|
\titleimage{graph-titleimage}
|
|
|
|
|
|
|
|
\hypersetup{pdftitle={\titleText}}
|
|
|
|
\beamertemplatenavigationsymbolsempty
|
|
|
|
|
|
|
|
\newcommand\InsertToC[1][]{
|
|
|
|
\begin{frame}{Outline}
|
|
|
|
\tableofcontents[subsectionstyle=show/show/show, subsubsectionstyle=show/show/show, #1]
|
|
|
|
\end{frame}
|
|
|
|
}
|
2013-04-18 08:57:48 +02:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Gallery %
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\usepackage{adjustbox}
|
|
|
|
\usepackage{xcolor}
|
|
|
|
\definecolor{myLightGray}{HTML}{F9F9F9}
|
|
|
|
\definecolor{borderColor}{HTML}{CCCCCC}
|
|
|
|
|
|
|
|
\usepackage{standalone} % needed for includestandalone
|
|
|
|
\usepackage{tikz} % needed for includestandalone
|
|
|
|
\usetikzlibrary{arrows,positioning, calc}
|
|
|
|
|
|
|
|
\tikzset{
|
|
|
|
pil/.style={->,thick}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newenvironment{gallery}{%
|
|
|
|
\center
|
|
|
|
}{%
|
|
|
|
\par\endcenter
|
|
|
|
}
|
|
|
|
|
2013-04-18 10:06:17 +02:00
|
|
|
\newcommand{\galleryimage}[2][borderColor]{
|
2013-04-18 08:57:48 +02:00
|
|
|
\adjustbox{width=2cm,height=2cm,keepaspectratio, center=2cm,
|
|
|
|
valign=M, set vsize={1cm}{1cm},
|
2013-04-18 10:06:17 +02:00
|
|
|
bgcolor=myLightGray,cfbox=#1 1px 0px 2px}
|
|
|
|
{\includestandalone{#2}}%
|
2013-04-18 08:57:48 +02:00
|
|
|
\space\ignorespaces
|
|
|
|
}%
|
2013-04-18 10:06:17 +02:00
|
|
|
|
|
|
|
\definecolor{Green}{HTML}{BEF781}
|
2013-04-21 14:47:53 +02:00
|
|
|
|
|
|
|
\tikzstyle{vertex}=[draw,fill=black,circle,minimum size=10pt,inner sep=0pt]
|
2013-04-22 09:36:59 +02:00
|
|
|
\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]
|
2013-04-21 14:47:53 +02:00
|
|
|
\def\TCop{\textsuperscript{\textcopyright}} % Copyright-sign
|
2013-04-21 18:55:24 +02:00
|
|
|
\usepackage{mathtools}
|
2013-06-11 21:51:30 +02:00
|
|
|
|
|
|
|
\usepackage{csquotes}
|