forked from llorracc/BufferStockTheory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BufferStockTheory.tex
172 lines (141 loc) · 7.41 KB
/
BufferStockTheory.tex
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
\input{@resources/tex-add-search-paths} % allow latex to find custom stuff
\input{./.econtexRoot} % Set path to root dir
\documentclass[titlepage, headings=optiontocandhead]{econark}
\usepackage{econark-labelsafe}
% \makeatletter
% \newcommand{\labelsafe}[1]{%
% \ifdef{\r@#1}{%
% % Label exists, do nothing
% }{%
% \label{#1}%
% \typeout{Label #1 created}%
% }%
% }
% \makeatother
% % \makeatletter
% % \newcommand{\labelsafe}[1]{%
% % \@ifundefined{r@#1}{\label{#1}}{}%
% % }
% % \makeatother
\usepackage{refcount}
% \makeatletter
% \newcommand{\labelsafe}[1]{%
% \ifnum\getrefnumber{#1}=0
% \label{#1}%
% \typeout{Label #1 created}%
% \else
% \typeout{Label #1 already exists}%
% \fi
% }
\usepackage{subfiles} % Allow appendices, tables, etc as standalone subfiles
\usepackage{econark-ifsubfile} % Define conditionals useful for standalone
\newcommand{\texname}{BufferStockTheory} % Keyname for the paper
%\input{@local/dir-paths} % macros for various subdirs
\usepackage{@local/owner} % for urls that are constructed
\usepackage{econark} % custom packages and macros
\usepackage{econark-theorems} % theorems, corollarys, remarks, propositions, ...
\usepackage{econark-multibib} % Only use bib files that exist
\usepackage{econark-bibstandalone} % Allow compilation of subfiles with bib
\usepackage{hyperref}
\providecommand{\versn}{pdf} % version -- pdf or Web
\provideboolean{Web}\setboolean{Web}{false}
% % boolean variable 'Web' true if making html not pdf
\ifthenelse{\boolean{Web}}{ % then
\setboolean{showPageHead}{false} % no pages, so no page head, on Web
\renewcommand{\versn}{html} % Web and html mean the same
}{ % else not for Web
\usepackage{scrlayer-scrpage} % Package for page headers if PDF
\usepackage{caption} % allow suppression of appendix figures in NoAppendix PDF
} % end of not for Web
% Most variables and functions are defined in the
% econark.sty package which has already been loaded
% and has descriptions of everything
% Materials we need that are NOT in econark.sty follow
% -------------- Packages --------------
\usepackage{enumitem} % roman lists in theorems
\newcommand{\statement}[1]{%
\vspace{1em} % Add some vertical space before the part
\textit{#1} % Make the part name bold (e.g., "Step 1", "Claim", "Case A")
\enspace % Add a little horizontal space
\ignorespaces % Ignore spaces at the beginning of the text
}
% --------------- Parameters ---------------
%\renewcommand{\CRRA}{\gamma} % CRRA is usually gamma in the literature.
\newcommand{\DiscGro}{\DiscFac\PermGroFac^{1-\CRRA}} % For PF-FVAC
\renewcommand{\GPFacMod}{\GPFacRaw \Ex[\permShk^{-1}]} % Stochastically modified growth impatience factor
\newcommand{\boundFunc}{\varphi} % bounding function
% Define custom counters for assumptions
\newcounter{assumptionL} % assumptions for limiting proofs
\newcounter{assumptionS} % assumptions for stability proofs
\newcounter{assumptionI} % assumptions for income process
% Define custom theorem environments for assumptions
\newtheorem{assumL}[assumptionL]{Assumption}
\newtheorem{assumS}[assumptionS]{Assumption}
\newtheorem{assumI}[assumptionI]{Assumption}
% Adjust the representation of the counter for each assumption type
\renewcommand{\theassumptionL}{L.\arabic{assumptionL}}
\renewcommand{\theassumptionS}{S.\arabic{assumptionS}}
\renewcommand{\theassumptionI}{I.\arabic{assumptionI}}
% -------------- Growth and Impatience Factors --------------
\renewcommand{\RPFac}{\frac{\APFac}{\Rfree}}
\renewcommand{\GPFacRaw}{\frac{\APFac}{\PermGroFac}}
% showlabels puts ref names on left, numbers on right
\provideboolean{draftmode}\setboolean{draftmode}{false}
\newcommand{\Draft}{\ifthenelse{\boolean{draftmode}}}
\Draft{\usepackage{showlabels}
\renewcommand{\showlabelsetlabel}[1]{\tiny #1}
}{}
% configs specifically for this paper; load after all other configs
% so they will overwrite defaults
\usepackage{@local/\texname}
% Redefine \notinsubfile command defined in \texname.sty:
% Lets any subfile called from here know that it is a subdoc
% (eg: if it is NOT called from here and IS standalone, knows it can make bib)
%\renewcommand{\notinsubfile}[1]{}\renewcommand{\notinsubfile}[1]{#1}
\bibliographystyle{plainnat}
\begin{document}
\subfile{Introduction} % Abstract, contents title and introduction
\subfile{BufferStockTheory-NoAppendix} % Main body of paper
\pagebreak
\appendix % Declare beginning of appendices
\addcontentsline{toc}{section}{Appendices} % print label "Appendices"
\hypertarget{Appendices}{} % Creates link to [url-of-paper]#Appendices
\ifthenelse{\boolean{Web}}{}{ % Web version has no page headers
\chead[Appendices]{Appendices} % unlike {Web} PDF version does
\appendixpage % Reset formatting for appendices on Web
} % Web
\subfile{Appendices/ApndxConcaveCFunc}
\subfile{Appendices/ApndxMTargetIsStable}
\subfile{Appendices/ApndxBalancedGrowthcNrmAndCov}
\subfile{Appendices/ApndxLiqConstr}
\subfile{Appendices/ApndxConditionDiagrams}
\subfile{Appendices/ApndxSupportingAnalysis}
\pagebreak
\econarkmultibib{\texname}\end{document}
\sloppy\endinput
\end{document}
% Local Variables:
% TeX-master-file: t
% eval: (setq TeX-command-list (assq-delete-all (car (assoc "BibTeX" TeX-command-list)) TeX-command-list))
% eval: (setq TeX-command-list (assq-delete-all (car (assoc "Biber" TeX-command-list)) TeX-command-list))
% eval: (setq TeX-command-list (remove '("BibTeX" "%(bibtex) %s" TeX-run-BibTeX nil t :help "Run BibTeX") TeX-command-list))
% eval: (setq TeX-command-list (remove '("BibTeX" "bibtex %s" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") TeX-command-list))
% eval: (setq TeX-command-list (remove '("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") TeX-command-list))
% eval: (add-to-list 'TeX-command-list '("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") t)
% eval: (add-to-list 'TeX-command-list '("BibTeX" "bibtex %s" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") t)
% TeX-PDF-mode: t
% TeX-file-line-error: t
% TeX-debug-warnings: t
% LaTeX-command-style: (("" "%(PDF)%(latex) %(file-line-error) %(extraopts) %S%(PDFout)"))
% TeX-source-correlate-mode: t
% TeX-parse-self: t
% TeX-parse-all-errors: t
% eval: (cond ((string-equal system-type "darwin") (progn (setq TeX-view-program-list '(("Skim" "/Applications/Skim.app/Contents/SharedSupport/displayline -b %n %o %b"))))))
% eval: (cond ((string-equal system-type "gnu/linux") (progn (setq TeX-view-program-list '(("Evince" "evince --page-index=%(outpage) %o"))))))
% eval: (cond ((string-equal system-type "gnu/linux") (progn (setq TeX-view-program-selection '((output-pdf "Evince"))))))
% eval: (prettify-symbols-mode 1)
% eval: (setq prettify-symbols-unprettify-at-point 'right-edge)
% eval: (setq debug-on-error t)
% eval: (setenv "BIBINPUTS" (concat "./@resources/texlive/texmf-local/bibtex/bib:" (or (getenv "BIBINPUTS") "")))
% eval: (setq TeX-command-list (mapcar (lambda (cmd) (if (string= (car cmd) "BibTeX") (list "BibTeX" (concat "BIBINPUTS=\"$BIBINPUTS\" bibtex %s") 'TeX-run-BibTeX nil t :help "Run BibTeX") cmd)) TeX-command-list))
% End: