-
Notifications
You must be signed in to change notification settings - Fork 5
/
RiskyContrib.sty
48 lines (40 loc) · 1.52 KB
/
RiskyContrib.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\usepackage{xr-hyper}
\usepackage{refcount}
\newcommand{\onlyinsubfile}[1]{#1}
\newcommand{\notinsubfile}[1]{}
\newcommand\labelprefix{} % https://tex.stackexchange.com/questions/463699/proper-reference-numbers-with-subfiles
\newcommand\localorexternallabel[1]{%
\expandafter\ifx\csname r@#1\endcsname\relax
\labelprefix
\fi #1%
}
% Some symbols
\providecommand{\Adj}{\text{Adj}}
\providecommand{\NAdj}{\cancel{\text{Adj}}}
\providecommand{\Contr}{\zeta}
\providecommand{\Reb}{\mathtt{Reb}}
\providecommand{\Sha}{\mathtt{Sha}}
\providecommand{\Cns}{\mathtt{Cns}}
\providecommand{\dFrac}{\underline{d}}
% Locations of various resources
\providecommand{\EqDir}{Equations}
\providecommand{\TableDir}{Tables}
\providecommand{\ApndxDir}{Appendices}
% Appendices and body are subfiles
\usepackage{subfiles}
% Diagrams
\usepackage{tikz}
% Implement a standard setup and shortcuts, e.g. for the \CRRA
\usepackage{\econtexSetup}\usepackage{\econtexShortcuts}\usepackage{makecell}
\provideboolean{Shorter} % Flag to produce shorter version of paper
\setboolean{Shorter}{true}
\setboolean{Shorter}{false}
\providecommand{\ShorterYN}{\ifthenelse{\boolean{Shorter}}}
\usepackage{rotating}\usepackage{subfigure}
% Embed metadata
\hypersetup{pdfauthor={Mateo Velásquez-Giradlo <mvelasq2@jhu.edu>},
pdftitle={A Two-Asset Savings Model with an Income-Contribution Scheme},
pdfkeywords={Lifecycle, Portfolio Choice, Social Security, Open Source},
pdfcreator = {mevelasq2@jhu.edu}
}
\bibliographystyle{\econtexBibStyle}