myStyle.sty 4.0 KB

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