Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132941 views
License: OTHER
1
% use KIT-Theme
2
% see http://sdqweb.ipd.kit.edu/wiki/Dokumentvorlagen
3
%\usetheme{Frankfurt} % see http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html as fallback
4
\InputIfFileExists{../templates/beamerthemekit.sty}{\usepackage{../templates/beamerthemekit}}{\usetheme{Frankfurt}}
5
\usefonttheme{professionalfonts}
6
7
\usepackage{hyperref}
8
\usepackage{lmodern}
9
\usepackage{listings}
10
\usepackage{wrapfig} % see http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
11
\usepackage[utf8]{inputenc} % this is needed for german umlauts
12
\usepackage[english]{babel} % this is needed for german umlauts
13
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
14
\usepackage{verbatim}
15
\usepackage{tikz}
16
\usetikzlibrary{arrows,shapes,decorations.pathmorphing}
17
\usepackage{relsize}
18
\usepackage{subfigure}
19
\usepackage[Algorithmus]{algorithm}
20
\usepackage{algpseudocode}
21
\usepackage{minted} % needed for the inclusion of source code
22
\usepackage{menukeys}
23
\usepackage{xcolor}
24
\usepackage{pifont}% http://ctan.org/pkg/pifont
25
\usepackage{soul}
26
\usepackage{braket}
27
\usepackage[binary-units=true]{siunitx}
28
29
% Define some styles for graphs
30
\tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt]
31
\tikzstyle{selected vertex} = [vertex, fill=red!24]
32
\tikzstyle{blue vertex} = [vertex, fill=blue!24]
33
\tikzstyle{edge} = [draw,thick,-]
34
\tikzstyle{weight} = [font=\small]
35
\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]
36
\tikzstyle{ignored edge} = [draw,line width=5pt,-,black!20]
37
38
%\algdef{SE}[IF]{NoThenIf}{EndIf}[1]{\algorithmicif\ #1\textbf{:}}{\algorithmicend\ \algorithmicif}%
39
\algtext*{EndIf} % Remove "end if" text
40
\algtext*{EndWhile} % Remove "end while" text
41
\algtext*{EndFunction} % Remove "end while" text
42
\algnewcommand\Global{\textbf{global }}
43
44
% http://tex.stackexchange.com/a/8388/5645
45
\newcommand{\alertline}{%
46
\usebeamercolor[fg]{normal text}%
47
\only{\usebeamercolor[fg]{alerted text}}}
48
49
\newcommand {\framedgraphic}[2] {
50
\begin{frame}{#1}
51
\begin{center}
52
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#2}
53
\end{center}
54
\end{frame}
55
}
56
57
\hypersetup{%
58
breaklinks=true,
59
linktocpage=false,
60
colorlinks=true,
61
urlcolor=blue,
62
linkcolor=blue,
63
citecolor=black
64
}
65
66
\newcommand{\myCode}[1]{\colorbox{gray!30}{#1}}
67
68
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
69
% Make source code easier to copy %
70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
71
% from http://tex.stackexchange.com/questions/57151/how-do-i-prevent-conflicts-between-accsupp-and-hyperref
72
\usepackage{accsupp}
73
\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
74
75
76
%default definition is: \def\theFancyVerbLine{\rmfamily\tiny\arabic{FancyVerbLine}}
77
\let\theHFancyVerbLine\theFancyVerbLine% don't apply our patch to hyperref's version
78
\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}
79
80
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
81
% Add some shortcuts %
82
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
83
\newcommand{\cmark}{\ding{51}}% a checkmark
84
\newcommand{\xmark}{\ding{55}}% a cross
85
86
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
87
% Set some template options - other tutors will have to adjust this %
88
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89
\newcommand\tutor{Martin Thoma}
90
\newcommand\titleText{Knotenklassifikation in dynamischen Graphen mit Texten}%On Node Classification in Dynamic Content-based Networks
91
\institute{Institut für Programmstrukturen und Datenorganisation}
92
\titleimage{graph-titleimage}
93
94
\hypersetup{pdftitle={\titleText}}
95
\beamertemplatenavigationsymbolsempty
96
97
\newcommand\InsertToC[1][]{
98
\begin{frame}{Outline}
99
\tableofcontents[subsectionstyle=show/show/show, subsubsectionstyle=show/show/show, #1]
100
\end{frame}
101
}
102
103
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
104
% Gallery %
105
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
106
\usepackage{adjustbox}
107
\usepackage{xcolor}
108
\definecolor{myLightGray}{HTML}{F9F9F9}
109
\definecolor{borderColor}{HTML}{CCCCCC}
110
111
\usepackage{standalone} % needed for includestandalone
112
\usepackage{tikz} % needed for includestandalone
113
\usetikzlibrary{arrows,positioning, calc}
114
115
\tikzset{
116
pil/.style={->,thick}
117
}
118
119
\newenvironment{gallery}{%
120
\center
121
}{%
122
\par\endcenter
123
}
124
125
\newcommand{\galleryimage}[2][borderColor]{
126
\adjustbox{width=2cm,height=2cm,keepaspectratio, center=2cm,
127
valign=M, set vsize={1cm}{1cm},
128
bgcolor=myLightGray,cfbox=#1 1px 0px 2px}
129
{\includestandalone{#2}}%
130
\space\ignorespaces
131
}%
132
133
\definecolor{Green}{HTML}{BEF781}
134
135
\tikzstyle{vertex}=[draw,fill=black,circle,minimum size=10pt,inner sep=0pt]
136
\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]
137
\def\TCop{\textsuperscript{\textcopyright}} % Copyright-sign
138
\usepackage{mathtools}
139
140
\usepackage{csquotes}
141
142