\documentclass[10pt,compress,handout]{beamer}
\setbeamercovered{transparent}
%\usetheme{Singapore}
\setbeamertemplate{navigation symbols}{} %elimnate tab at the bottom right of slide

\usecolortheme{default}
%\usefonttheme{professionalfonts} 
\useoutertheme{miniframes}
\AtBeginSection[]{\subsection{}}
% Standard packages
\usepackage[english]{babel}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta, decorations.markings}
\usetikzlibrary{decorations.pathreplacing,calc}
\newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}
\let\estinput=\input% define a new input command so that we can still flatten the document
%\usepackage[latin1]{inputenc}
\usepackage{forest}
% \usepackage{enumitem}
\hypersetup{colorlinks=true, allcolors=blue}
%\usepackage{times}
\usepackage{datetime} %For Custom Date
%This allows for custom formatting of the date
\newdateformat{monthyeardate}
{\monthname[\THEMONTH] \THEYEAR}
\usepackage{natbib}
\usepackage{multirow}
\usepackage{hyperref}
\usepackage{array}
\usepackage{amsthm,amsmath,amssymb,mathtools}
\usepackage{amsfonts}
\usepackage{epigraph}
\usepackage{comment}
\usepackage{xcolor,colortbl}
\usepackage{graphicx} % Allows including images
\usepackage{epstopdf}
\usetikzlibrary{positioning}
\usepackage{booktabs,caption,fixltx2e}
\usepackage{threeparttable}
\usepackage{dcolumn}
\usepackage{animate}
\usepackage{xmpmulti}
\newcolumntype{d}[1]{D..{#1}} % for alignment of numbers on decimal marker
\usetikzlibrary{arrows}
\definecolor{mygreen}{RGB}{117,167,117}
\definecolor{myred}{RGB}{255,1,1}
\newcommand{\mc}[2]{\multicolumn{#1}{c}{#2}}
\definecolor{Gray}{gray}{0.85}
\renewcommand<>\cellcolor[1]{\only#2{\beameroriginal\cellcolor{#1}}}
\setbeamertemplate{frametitle}[default][center]
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamersize{text margin left=5mm,text margin right=5mm}
\hypersetup{
 colorlinks=false,
 citecolor=Violet,
 linkcolor=Red,
 urlcolor=Blue}
\newcommand\myent[3]{%
\footnotesize%
$\begin{array}{@{}r@{}} 
#1 \\ #2 \\#3
\end{array}$%
}
\tikzstyle{block}=[draw opacity=0.7,line width=1.4cm]
% Author, Title, etc.

\title 
{
Should They Stay or Should They Go? Immigration and Municipal Bonds
}


\author[BCGL]
{
Kyle Zimmerschied \inst{1}
}
\institute[MU]
{
  \inst{1}%
  University of Arkansas
}
\date{\monthyeardate\today}
% The main document
\setbeamertemplate{itemize subitem}[square]

\usefonttheme{default}
\setbeamerfont{title}{series,parent=structure}
\setbeamerfont{frametitle}{series=,parent=structure}
\normalsize

\begin{document}


\forestset{
  L1/.style={fill=green,},
  L2/.style={draw={blue,line width=1.5pt},fill=none,edge={gray,line width=2pt}},
  L3/.style={draw={red,line width=1.5pt},fill=none,edge={gray,line width=2pt}},
  L4/.style={draw={blue,dashed,line width=1.5pt},fill=none,edge={gray,line width=2pt}},
}

%
%\setbeamertemplate{footline}[frame number] 
%\renewcommand{\inserttotalframenumber}{35}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                %%%TITLE SLIDE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[plain]
  \titlepage
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Introduction}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Sample Introduction}
    \begin{itemize}
        \item The use of ``itemize" creates bullet points listed which must always have a begin and end
            \begin{itemize}
                \item We can also nest these to create sub-bullet points
            \end{itemize}
        \begin{enumerate}
            \item The use of ``enumerate" creates numbered lists which also must always have a begin and end
            \item These can be nested within an ``itemize" or we can also place it outside
        \end{enumerate}
    \end{itemize}

    \begin{enumerate}
        \item Outside of the ``itemize" environment, it will create a new numbered list with a similar indentation to our first call
    \end{enumerate}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
             %%%MOTIVATION SLIDE: INCREASING IMMIGRATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Record Immigration}
    \begin{figure}
        \centering
        \includegraphics[width=0.85\textwidth,height=0.60\linewidth]{Figures/ImmigrationOverTime.png}\\
    \end{figure}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamercovered{}
\begin{frame}{Do Immigrants Benefit Local Communities?\hyperlink{IMMIGRATION_BENEFITS}{\beamerbutton{Benefits}}\hyperlink{IMMIGRATION_COSTS}{\beamerbutton{Costs}} }\label{TENSION}   
            \begin{columns}[T]
    \begin{column}{0.50\linewidth}
        \begin{figure}
        \centering
        \includegraphics[width=\linewidth,height=\obtainedHeight+18em]{Figures/WichitaWSJ.png}
    \end{figure}
\end{column}

\begin{column}{0.50\linewidth}	
\onslide<2->{
        \begin{figure}
        \centering
        \includegraphics[width=\linewidth,height=\obtainedHeight+18em]{Figures/WestVirginiaWSJ.png}
    \end{figure}
    }
    \end{column}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                   BOND SAMPLE DATA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Bond Sample}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %INSERT TABLE:
        \begin{table}[]
        \setlength\extrarowheight{-1.5pt}
        \scalebox{0.85}{
        \small
        \centering        \centering
        \begin{tabular}{lccccccc}
        \toprule
        \input{Tables/TAB:BONDSUMMARY}
       \bottomrule
        \end{tabular}
        }
    \end{table}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%BIBLIOGRAPHY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliographystyle{authordate1}
\bibliography{bib}
\appendix


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%START OF BEAMER BUTTONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%          SLIDE 2: UNCLEAR IMPACTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Potential Benefits}\label{IMMIGRATION_BENEFITS}
    \begin{figure}
        \centering
        \includegraphics[width=0.75\textwidth,height=0.25\linewidth]{Figures/ImmigrantInventors.png}\\
    \end{figure}

        \pause \begin{figure}
        \centering
        \includegraphics[width=0.75\textwidth,height=0.35\linewidth]{Figures/AgingCurve.png}\\
    \end{figure}
    \hyperlink{TENSION}{\beamerbutton{Back}}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%          SLIDE 3: UNCLEAR IMPACTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Potential Costs}\label{IMMIGRATION_COSTS}
    \begin{figure}
        \centering
        \includegraphics[width=0.75\textwidth,height=0.25\linewidth]{Figures/CostofImmigrants.png}\\
    \end{figure}

        \pause \begin{figure}
        \centering
        \includegraphics[width=0.75\textwidth,height=0.35\linewidth]{Figures/ImmigrantCrowdingOut.png}\\
    \end{figure}
    \hyperlink{TENSION}{\beamerbutton{Back}}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%END DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}






