<filename>0-preamble.tex

\usepackage{subfig}
\usepackage{caption}
\usepackage{multicol}
\usepackage[space]{grffile}

\usepackage{adjustbox}

\usepackage{tikz}
\usetikzlibrary{arrows,backgrounds,positioning,calc,automata,chains,shapes}

\tikzset{onslide/.code args={<#1>#2}{%
  \only<#1>{\pgfkeysalso{#2}} % \pgfkeysalso doesn't change the path
}}
\tikzset{temporal/.code args={<#1>#2#3#4}{%
  \temporal<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}{\pgfkeysalso{#4}} % \pgfkeysalso doesn't change the path
}}
\tikzset{%
  bignode/.style     = {font=\fontsize{20}{22.4}\selectfont}
}


% Defining a new coordinate system for the page:
%
% --------------------------
% |(-1,1)    (0,1)    (1,1)|
% |                        |
% |(-1,0)    (0,0)    (1,0)|
% |                        |
% |(-1,-1)   (0,-1)  (1,-1)|
% --------------------------
\makeatletter
\def\parsecomma#1,#2\endparsecomma{\def\page@x{#1}\def\page@y{#2}}
\tikzdeclarecoordinatesystem{page}{
    \parsecomma#1\endparsecomma
    \pgfpointanchor{current page}{north east}
    % Save the upper right corner
    \pgf@xc=\pgf@x%
    \pgf@yc=\pgf@y%
    % save the lower left corner
    \pgfpointanchor{current page}{south west}
    \pgf@xb=\pgf@x%
    \pgf@yb=\pgf@y%
    % Transform to the correct placement
    \pgfmathparse{(\pgf@xc-\pgf@xb)/2.*\page@x+(\pgf@xc+\pgf@xb)/2.}
    \expandafter\pgf@x\expandafter=\pgfmathresult pt
    \pgfmathparse{(\pgf@yc-\pgf@yb)/2.*\page@y+(\pgf@yc+\pgf@yb)/2.}
    \expandafter\pgf@y\expandafter=\pgfmathresult pt
}
\makeatother

\makeatletter
\def\beamer@framenotesbegin{% at beginning of slide
  \gdef\beamer@noteitems{}%
  \gdef\beamer@notes{{}}% used to be totally empty.
}
\makeatother

\usepackage{xcolor}

\colorlet{MIXED}{red!50!blue}

\usepackage{listings}

%\usepackage{beamerthemesplit}
\usepackage{graphicx, pifont, amsmath, amssymb, lscape, natbib, multirow,listings}


\graphicspath{{logo}}

\bibliographystyle{apalike}

\newcommand{\bd}{\boldsymbol}
\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\E}{\mathbb{E}}
\newcommand{\bin}[2]{\left( \begin{array}{c} #1 \\ #2 \end{array} \right) }
\newcommand{\suml}{\sum\limits}

\usetheme[pageofpages=of, 
          colortheme = brown % \in {brown,red,green,orange,yellow,purple}
          ]{BSU}





% \mode<presentation>
% {
% \usetheme{Dresden}
% \usecolortheme{BSU}
% %\usecolortheme[rgb={0.1,0.17,0.05}]{structure}

% \setbeamercovered{transparent}
% \setbeamertemplate{navigation symbols}{}
% \setbeamertemplate{footline}
% {%
% 	\leavevmode%
% 	\hbox{%

% 	\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.5ex,dp=1.125ex,right]{author in head/foot}%		
% 		\usebeamerfont{title in head/foot}\insertshortauthor\hspace{.3cm}
% 	\end{beamercolorbox}%

% 	\begin{beamercolorbox}[wd=.4\paperwidth,ht=2.5ex,dp=1.125ex,left]{title in head/foot}%
% 		\usebeamerfont{author in head/foot}\hspace{.3cm}\insertshorttitle
% 	\end{beamercolorbox}%
	
% 		\begin{beamercolorbox}[wd=.2\paperwidth,ht=2.5ex,dp=1.125ex,left]{title in head/foot}%
% 		\usebeamerfont{author in head/foot}\hspace{.3cm}\insertshortdate
% 	\end{beamercolorbox}%

% 	\begin{beamercolorbox}[wd=.1\paperwidth,ht=2.5ex,dp=1.125ex,center]{title in head/foot}%
% 		\usebeamerfont{author in head/foot}\insertframenumber/\inserttotalframenumber
% 	\end{beamercolorbox}%
% }%
% \vskip0pt%
% }
% }

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
