Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132944 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
\usepackage{/home/moose/GitHub/LaTeX-examples/presentations/Gute-Frage-Schluesselqualifikation/templates/beamerthemekit}
5
\usefonttheme{professionalfonts}
6
7
\usepackage{tabto}
8
\usepackage{multirow}
9
\usepackage{hyperref}
10
\usepackage{esint}
11
\usepackage{dsfont}
12
\usepackage{mathrsfs}
13
\usepackage{lmodern}
14
\usepackage{listings}
15
\usepackage{siunitx}
16
\DeclareSIUnit\pixel{px}
17
\usepackage{wasysym}
18
\usepackage{booktabs}
19
\usepackage{wrapfig} % see http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
20
\usepackage[utf8]{inputenc} % this is needed for german umlauts
21
\usepackage[english]{babel} % this is needed for german umlauts
22
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
23
\usepackage{verbatim}
24
\usepackage{tikz}
25
\usepackage{pgf-pie}
26
\usetikzlibrary{arrows,shapes}
27
\usepackage{relsize}
28
\usepackage{subfig}
29
\usepackage{algorithm,algpseudocode}
30
\usepackage{minted} % needed for the inclusion of source code
31
\usepackage{menukeys}
32
\usepackage{xcolor}
33
\usepackage{pifont}% http://ctan.org/pkg/pifont
34
\usepackage{soul}
35
\usepackage[babel]{csquotes}
36
\usepackage{algorithm,algpseudocode}
37
38
% Define some styles for graphs
39
\tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt]
40
\tikzstyle{selected vertex} = [vertex, fill=red!24]
41
\tikzstyle{blue vertex} = [vertex, fill=blue!24]
42
\tikzstyle{edge} = [draw,thick,-]
43
\tikzstyle{weight} = [font=\small]
44
\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]
45
\tikzstyle{ignored edge} = [draw,line width=5pt,-,black!20]
46
47
%\algdef{SE}[IF]{NoThenIf}{EndIf}[1]{\algorithmicif\ #1\textbf{:}}{\algorithmicend\ \algorithmicif}%
48
\algtext*{EndIf} % Remove "end if" text
49
\algtext*{EndWhile} % Remove "end while" text
50
\algtext*{EndFunction} % Remove "end while" text
51
\algnewcommand\Global{\textbf{global }}
52
53
% http://tex.stackexchange.com/a/8388/5645
54
\newcommand{\alertline}{%
55
\usebeamercolor[fg]{normal text}%
56
\only{\usebeamercolor[fg]{alerted text}}}
57
58
\newcommand {\framedgraphic}[2] {
59
\begin{frame}{#1}
60
\begin{center}
61
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#2}
62
\end{center}
63
\end{frame}
64
}
65
66
\hypersetup{%
67
breaklinks=true,
68
linktocpage=false,
69
colorlinks=true,
70
urlcolor=blue,
71
linkcolor=blue,
72
citecolor=black
73
}
74
75
\newcommand{\myCode}[1]{\colorbox{gray!30}{#1}}
76
77
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
78
% Make source code easier to copy %
79
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
80
% from http://tex.stackexchange.com/questions/57151/how-do-i-prevent-conflicts-between-accsupp-and-hyperref
81
\usepackage{accsupp}
82
\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
83
84
85
%default definition is: \def\theFancyVerbLine{\rmfamily\tiny\arabic{FancyVerbLine}}
86
\let\theHFancyVerbLine\theFancyVerbLine% don't apply our patch to hyperref's version
87
\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}
88
89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
90
% Add some shortcuts %
91
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
92
\newcommand{\cmark}{\ding{51}}% a checkmark
93
\newcommand{\xmark}{\ding{55}}% a cross
94
95
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
96
% Set some template options - other tutors will have to adjust this %
97
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
98
\newcommand\tutor{Martin Thoma}
99
\newcommand\titleText{Das ist eine gute Frage!}
100
\institute{}
101
\titleimage{formula-recognition-logo}
102
103
\hypersetup{pdftitle={\titleText}}
104
\beamertemplatenavigationsymbolsempty
105
106
\newcommand\InsertToC[1][]{
107
\begin{frame}{Outline}
108
\tableofcontents[subsectionstyle=show/show/show, subsubsectionstyle=show/show/show, #1]
109
\end{frame}
110
}
111
112