📚 The CoCalc Library - books, templates and other resources
cocalc-examples / martinthoma-latex-examples / presentations / Bachelor-Final-Presentation / templates / myStyle.sty
132941 viewsLicense: OTHER
% use KIT-Theme1% see http://sdqweb.ipd.kit.edu/wiki/Dokumentvorlagen2%\usetheme{Frankfurt} % see http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html as fallback3\usepackage{/home/moose/Downloads/LaTeX-examples/presentations/Bachelor-Final-Presentation/templates/beamerthemekit}4\usefonttheme{professionalfonts}56\usepackage{tabto}7\usepackage{multirow}8\usepackage{hyperref}9\usepackage{esint}10\usepackage{dsfont}11\usepackage{mathrsfs}12\usepackage{lmodern}13\usepackage{listings}14\usepackage{siunitx}15\DeclareSIUnit\pixel{px}16\usepackage{wasysym}17\usepackage{booktabs}18\usepackage{wrapfig} % see http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions19\usepackage[utf8]{inputenc} % this is needed for german umlauts20\usepackage[english]{babel} % this is needed for german umlauts21\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf22\usepackage{verbatim}23\usepackage{tikz}24\usetikzlibrary{arrows,shapes}25\usepackage{relsize}26\usepackage{subfig}27\usepackage{algorithm,algpseudocode}28\usepackage{minted} % needed for the inclusion of source code29\usepackage{menukeys}30\usepackage{xcolor}31\usepackage{pifont}% http://ctan.org/pkg/pifont32\usepackage{soul}33\usepackage[babel]{csquotes}34\usepackage{algorithm,algpseudocode}3536% Define some styles for graphs37\tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt]38\tikzstyle{selected vertex} = [vertex, fill=red!24]39\tikzstyle{blue vertex} = [vertex, fill=blue!24]40\tikzstyle{edge} = [draw,thick,-]41\tikzstyle{weight} = [font=\small]42\tikzstyle{selected edge} = [draw,line width=5pt,-,red!50]43\tikzstyle{ignored edge} = [draw,line width=5pt,-,black!20]4445%\algdef{SE}[IF]{NoThenIf}{EndIf}[1]{\algorithmicif\ #1\textbf{:}}{\algorithmicend\ \algorithmicif}%46\algtext*{EndIf} % Remove "end if" text47\algtext*{EndWhile} % Remove "end while" text48\algtext*{EndFunction} % Remove "end while" text49\algnewcommand\Global{\textbf{global }}5051% http://tex.stackexchange.com/a/8388/564552\newcommand{\alertline}{%53\usebeamercolor[fg]{normal text}%54\only{\usebeamercolor[fg]{alerted text}}}5556\newcommand {\framedgraphic}[2] {57\begin{frame}{#1}58\begin{center}59\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#2}60\end{center}61\end{frame}62}6364\hypersetup{%65breaklinks=true,66linktocpage=false,67colorlinks=true,68urlcolor=blue,69linkcolor=blue,70citecolor=black71}7273\newcommand{\myCode}[1]{\colorbox{gray!30}{#1}}7475%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%76% Make source code easier to copy %77%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%78% from http://tex.stackexchange.com/questions/57151/how-do-i-prevent-conflicts-between-accsupp-and-hyperref79\usepackage{accsupp}80\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}818283%default definition is: \def\theFancyVerbLine{\rmfamily\tiny\arabic{FancyVerbLine}}84\let\theHFancyVerbLine\theFancyVerbLine% don't apply our patch to hyperref's version85\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}8687%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%88% Add some shortcuts %89%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%90\newcommand{\cmark}{\ding{51}}% a checkmark91\newcommand{\xmark}{\ding{55}}% a cross9293%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%94% Set some template options - other tutors will have to adjust this %95%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%96\newcommand\tutor{Martin Thoma}97\newcommand\titleText{On-line Recognition of Handwritten Mathematical Symbols}98\institute{}99\titleimage{formula-recognition-logo}100101\hypersetup{pdftitle={\titleText}}102\beamertemplatenavigationsymbolsempty103104\newcommand\InsertToC[1][]{105\begin{frame}{Outline}106\tableofcontents[subsectionstyle=show/show/show, subsubsectionstyle=show/show/show, #1]107\end{frame}108}109110111