Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132934 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/Downloads/LaTeX-examples/presentations/Bachelor-Final-Presentation/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
\usetikzlibrary{arrows,shapes}
26
\usepackage{relsize}
27
\usepackage{subfig}
28
\usepackage{algorithm,algpseudocode}
29
\usepackage{minted} % needed for the inclusion of source code
30
\usepackage{menukeys}
31
\usepackage{xcolor}
32
\usepackage{pifont}% http://ctan.org/pkg/pifont
33
\usepackage{soul}
34
\usepackage[babel]{csquotes}
35
\usepackage{algorithm,algpseudocode}
36
37
% Define some styles for graphs
38
\tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt]
39
\tikzstyle{selected vertex} = [vertex, fill=red!24]
40
\tikzstyle{blue vertex} = [vertex, fill=blue!24]
41
\tikzstyle{edge} = [draw,thick,-]
42
\tikzstyle{weight} = [font=\small]
43
\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]
44
\tikzstyle{ignored edge} = [draw,line width=5pt,-,black!20]
45
46
%\algdef{SE}[IF]{NoThenIf}{EndIf}[1]{\algorithmicif\ #1\textbf{:}}{\algorithmicend\ \algorithmicif}%
47
\algtext*{EndIf} % Remove "end if" text
48
\algtext*{EndWhile} % Remove "end while" text
49
\algtext*{EndFunction} % Remove "end while" text
50
\algnewcommand\Global{\textbf{global }}
51
52
% http://tex.stackexchange.com/a/8388/5645
53
\newcommand{\alertline}{%
54
\usebeamercolor[fg]{normal text}%
55
\only{\usebeamercolor[fg]{alerted text}}}
56
57
\newcommand {\framedgraphic}[2] {
58
\begin{frame}{#1}
59
\begin{center}
60
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#2}
61
\end{center}
62
\end{frame}
63
}
64
65
\hypersetup{%
66
breaklinks=true,
67
linktocpage=false,
68
colorlinks=true,
69
urlcolor=blue,
70
linkcolor=blue,
71
citecolor=black
72
}
73
74
\newcommand{\myCode}[1]{\colorbox{gray!30}{#1}}
75
76
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77
% Make source code easier to copy %
78
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
79
% from http://tex.stackexchange.com/questions/57151/how-do-i-prevent-conflicts-between-accsupp-and-hyperref
80
\usepackage{accsupp}
81
\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
82
83
84
%default definition is: \def\theFancyVerbLine{\rmfamily\tiny\arabic{FancyVerbLine}}
85
\let\theHFancyVerbLine\theFancyVerbLine% don't apply our patch to hyperref's version
86
\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}
87
88
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89
% Add some shortcuts %
90
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
91
\newcommand{\cmark}{\ding{51}}% a checkmark
92
\newcommand{\xmark}{\ding{55}}% a cross
93
94
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
95
% Set some template options - other tutors will have to adjust this %
96
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
97
\newcommand\tutor{Martin Thoma}
98
\newcommand\titleText{On-line Recognition of Handwritten Mathematical Symbols}
99
\institute{}
100
\titleimage{formula-recognition-logo}
101
102
\hypersetup{pdftitle={\titleText}}
103
\beamertemplatenavigationsymbolsempty
104
105
\newcommand\InsertToC[1][]{
106
\begin{frame}{Outline}
107
\tableofcontents[subsectionstyle=show/show/show, subsubsectionstyle=show/show/show, #1]
108
\end{frame}
109
}
110
111