% Resources that need to be accessible from various different locations

\providecommand{\YLevBF}{\ensuremath{\textbf{Y}}}
\renewcommand{\pDies}{\ensuremath{\mathsf{d}}}
\providecommand{\aggrSavingRuleCoeff}{\ensuremath{\kappa}}
\providecommand{\stnRatio}{\ensuremath{\tau}}

\newcommand{\TabsDir}{\econtexRoot/Tables}\newcommand{\Calibration}{\econtexRoot/Calibration}
\newcommand{\W}{\mathcal{W}}            % Include or exclude aggregate wage in individual problem - to include, should be \newcommand{\W}{W}

\provideboolean{Depreciation}
\setboolean{Depreciation}{true}
%\setboolean{Depreciation}{false}
\provideboolean{MicroDepr}
\setboolean{MicroDepr}{true}
%\setboolean{Depreciation}{false}
\newcommand{\ifDepr}{\ifthenelse{\boolean{Depreciation}}}
\newcommand{\MicroDepr}{\ifthenelse{\boolean{MicroDepr}}}

\ifDepr{
\newcommand{\RBet}{\mathbf{R}} % Bold  version is between-period rate; \mathcal version is within
\newcommand{\rBet}{\mathbf{r}} % Bold  version is between-period rate; \mathcal version is within
\newcommand{\RIn}{\mathcal{R}}
\newcommand{\rIn}{r}
}{
\newcommand{\RBet}{R} % Bold  version is between-period rate; \mathcal version is within
\newcommand{\rBet}{r} % Bold  version is between-period rate; \mathcal version is within
\newcommand{\RIn}{R}
\newcommand{\rIn}{r}
\newcommand{\rNet}{\mathfrak{r}} % For defining consumption Euler equation
}


\provideboolean{Growth}
\setboolean{Growth}{true}
\setboolean{Growth}{false}
\newcommand{\ifGG}{\ifthenelse{\boolean{Growth}}}  % Switch for whether to include productivity growth in formulae; useful for programming/debugging

\provideboolean{numSwitch}     % Switch that suppresses eqn numbers on slides but not in text
\setboolean{numSwitch}{true}   % Set to true  at beginning of text
%\setboolean{numSwitch}{false} % Set to false at beginning of slides
\providecommand{\ifnumSw}{\ifthenelse{\boolean{numSwitch}}{}{\nonumber}}

\provideboolean{Slides}
\setboolean{Slides}{false}
\newcommand{\ifslides}{\ifthenelse{\boolean{Slides}}}

\provideboolean{ZeroProb}
\setboolean{ZeroProb}{false}
\setboolean{ZeroProb}{true}
\newcommand{\ifZero}{\ifthenelse{\boolean{ZeroProb}}}

\provideboolean{DocVersion} % If true, produce an elaborate version of the document that contains all formulae used in the software
\setboolean{DocVersion}{false}
\setboolean{DocVersion}{true}
%\providecommand{\ifDoc}{\ifthenelse{\boolean{DocVersion}}}
\providecommand{\ifDoc}{\marginpar{\tiny{DocAndNodocVersions}}\emph}

% ExtraExplain toggles whether to include the explanation for why we can't assume \bar{\ell}=\ell
\provideboolean{ExtraExplain}
\setboolean{ExtraExplain}{false}
%\setboolean{ExtraExplain}{true}
\newcommand{\ifExplain}{\ifthenelse{\boolean{ExtraExplain}}}

\provideboolean{ShowStickyE}
\setboolean{ShowStickyE}{true}
\setboolean{ShowStickyE}{false}
\newcommand{\StickyE}{\ifthenelse{\boolean{ShowStickyE}}}

\newcommand{\eq}{\econtexRoot/Equations}
\newcommand{\EqnDir}{\econtexRoot/Equations}

\newcommand{\fm}{frictionless-$\mathbf{m}$ }
\newcommand{\sm}{sticky-$\mathbf{m}$ }

\newcommand{\ParmDir}{\econtexRoot/Calibration/Parameters}
\newcommand{\TablesDir}{\econtexRoot/Tables}
\newcommand{\DirCampManVsStickyE}{\econtexRoot/Empirical/US/Results/LaTeX/tables}
\providecommand{\perc}[1]{\widetilde{#1}}
