%%% 12 November 2018, 10:44
\newcommand{\horule}{\begin{center}
	\rule[-15pt]{0pt}{0pt}\rule{0.33\textwidth}{0.25pt}
\end{center}}

%%% 12 November 2018, 10:44

%%% 11 November 2018, 23:34
\usepackage{booktabs}
%%% 11 November 2018, 23:34

%%% 28 October 2018, 20:27
\newcommand{\ingrold}[2]{\includegraphics[width=#1\textwidth]{#2}}
\newcommand{\ingr}[2]{\includegraphics[width=#1\textwidth]{\pth#2}}

\newcommand{\frmgg}[3]{
\frmcc{#1}{#2}{\includegraphics[width=1\textwidth]{\pth#3}}}

\newcommand{\frmgh}[3]{
\frmcc{#1}{#2}{\includegraphics[height=1\textheight]{\pth#3}}}

%%% \frmgg{#title}{#text}{#width}{#col2}


%%% 28 October 2018, 20:27

%%%%%%%%%%%%%%% 30 September 2018, 23:04
\usepackage{tabularx}
\newcommand{\rr}{\raggedright}
\newcommand{\tabx}[2]{ 
	\begin{tabularx}{0.975\linewidth}{p{#1\textwidth}X}
		#2\end{tabularx}}	
%%%%%%%%%%%%%%% 30 September 2018, 23:04


\newcommand{\spacev}{\rule{0pt}{10pt}}
\newcommand{\spaceh}{\rule{10pt}{0pt}}
\newcommand{\rulev}[1]{\rule{0pt}{{#1}pt}}
\newcommand{\ruleh}[1]{\rule{{#1}pt}{0pt}}


\newtheorem{prop}{Proposition}
\newtheorem{assn}{Assumption}
\newtheorem{thrm}{Theorem}
\newtheorem{defn}{Definition}
\newtheorem{crll}{Corollary}
\newtheorem{lmma}{Lemma}
\newtheorem{ass}{Assertion}
\newtheorem{paper}{Paper}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\zz}{
   \begin{list}{\darkblue{$\circ$}}
    { \setlength{\itemsep}{3pt}      \setlength{\parsep}{1pt}
      \setlength{\topsep}{2pt}       \setlength{\partopsep}{2pt}
      \setlength{\leftmargin}{1.5em} \setlength{\labelwidth}{1em}
      \setlength{\labelsep}{0.5em} } }

\newcommand{\squishlisttwo}{
   \begin{list}{$\bullet$}
    { \setlength{\itemsep}{0pt}    \setlength{\parsep}{0pt}
      \setlength{\topsep}{0pt}     \setlength{\partopsep}{0pt}
      \setlength{\leftmargin}{2em} \setlength{\labelwidth}{1.5em}
      \setlength{\labelsep}{0.5em} } }


\newcommand{\xx}{
    \end{list}  }

\newcommand{\za}{\item{} }
\newcommand{\zb}{\item []}
\newcommand{\zc}{\item [\red{--}]}
\newcommand{\zd}{\item [\blue{$\bullet$}]}
\newcommand{\ze}{\item [\dg]}


\newcommand{\frm}[2]{\frame{\frametitle{#1}#2}}
\newcommand{\frmzz}[2]{\frame{\frametitle{#1}\zz#2\xx}}


\newcommand{\frmcc}[3]{
\begin{frame}
\frametitle{#1}
\begin{columns}
\begin{column}{0.5\textwidth}
#2
\end{column}
\begin{column}{0.5\textwidth}
    \begin{center}
     #3
     \end{center}
\end{column}
\end{columns}
\end{frame}}


% ==========================
% = New Formatting Command =
% ==========================

\newcommand{\se}[1]{\structure{\emph{#1}}}
\newcommand{\st}[1]{\structure{{#1}}} 
\newcommand{\ale}[1]{\alert{\emph{#1}}}
\newcommand{\al}[1]{\alert{{#1}}}
\newcommand{\dg}{$\circ$}

\newcommand{\itm}[1]{\begin{itemize}#1\end{itemize}}
\newcommand{\cir}[1]{\item[$\circ$]{#1}}
\newcommand{\itmbr}[1]{\item {#1}}
\newcommand{\ncir}[1]{\item [] {#1}}
\newcommand{\nicir}[2]{\item[#1]{#2}}
\newcommand{\numcir}[2]{\item <#1>[] {#2}}




% =========================================
% = Slides On / Lecture Notes Off Command =
% =========================================
\newcommand{\subsec}{\subsection{}}   % Subsection Command On for Slides
% \newcommand{\subsec}{}   % Subsection Command Off for Lecture Notes

\newcommand{\fnote}[1]{\note{#1}}
% \newcommand{\fnote}[1]{\frm{}{#1}}

\newcommand{\clearpg}{} % Clearpage command off for Slides
% \newcommand{\clearpg}{\clearpage} % Clearpage Command on for Lecture Notes




% =====================================================
% = Colours I shut off because of clash with pst-plot =
% =====================================================

\newcommand{\grayc}[1]{\textcolor{ashgrey}{#1}}
\newcommand{\bluec}[1]{\textcolor{blue}{#1}}
\newcommand{\redc}[1]{\textcolor{red}{#1}}
%\newcommand{\darkgray}[1]{\textcolor[rgb]{0.25,0.25,0.25}{#1}}


% ====================================
% = From the Readinglist307-2009.tex =
% ====================================

\definecolor{ashgrey}{rgb}{0.7, 0.75, 0.71}
\newcommand{\greyc}[1]{\textcolor{ashgrey}{#1}}
%\newcommand{\gray}[1]{\textcolor{gray}{#1}}
%\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\darkblue}[1]{\textcolor[rgb]{0,0,.5}{#1}}
%\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\further}[1]{\small\darkgray{#1}}
%\newcommand{\further}[1]{\small\textcolor{gray}{#1}}
\newcommand{\fr}[1]{\item [\further{$\clubsuit$}] \further{\texttt{Further Reading:~}{#1}}}
\newcommand{\class}[1]{\item [\darkblue{$\blacktriangleright$}] \textbf{\darkblue{Class based on}}~{#1}}
%\newcommand{\urls}[1]{\darkblue{\\[-0.5ex]\newblock\scriptsize\url{#1}}}
\newcommand{\urls}[1]{\darkblue{\newblock\scriptsize\url{#1}}}


% ============================
% = Microfinance Definitions =
% ============================

\newcommand{\ot}{x} %output
\newcommand{\cor}[1]{\textcolor{red}{\cancel{#1}}}
\newcommand{\vsp}{\vspace{0.25cm}} %output


% ======================
% = Growth Definitions =
% ======================

\newcommand{\gr}[1]{\frac{\Delta #1}{#1}}
\newcommand{\grt}[1]{\frac{\Delta {#1}_t}{#1_t}}
\newcommand{\tk}{\tilde{k_t}}
\newcommand{\ty}{\tilde{y_t}}
\newcommand{\tks}{{\tilde{k}}^*}
\newcommand{\tys}{{\tilde{y}}^*}
\newcommand{\tc}{\tilde{c}}
\newcommand{\tcs}{{\tilde{c}}^*}

\newcommand{\pp}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\ppp}[2]{\frac{{\partial^2} #1}{\partial {#2^2}}}


% ==========================
% = Instruction for Slides =
% ==========================

% 1. For slides, change the \subsec command to On (from Off)
% 2. For slides, turn the \clearpg command to On (from Off)
% Nutrition Slides have to be run again because of the placement change of one of the Subramanium slide
% 3.  \fnote{} my own notes. Can turn on for lecture notes and turn off for lecture slides. 