-
Notifications
You must be signed in to change notification settings - Fork 1
/
BufferStockTheory.tex
140 lines (112 loc) · 6.77 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
% !TEX root = BufferStockTheory.tex
% -*- root: BufferStockTheory.tex -*-
\input{@resources/tex-add-search-paths} % allow latex to find custom stuff
\input{./.econtexRoot} % Set path to root dir
%\documentclass[titlepage,headings=normal,toc=listof]{scrartcl}
\documentclass[titlepage, headings=optiontocandhead]{econark}
\usepackage{econark-ifsubfile} % Set conditionals that think it is in main file
\usepackage{econark-labelsafe} % For labels that may be repeated
\usepackage{refcount} % allow resetting counters
\usepackage{subfiles} % Allow appendices, tables, etc as standalone subfiles
\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-collectbibs} % Find valid bibfiles
%\usepackage{econark-multibib} % Only use bib files that exist
%\usepackage{econark-bibstandalone} % Allow compilation of subfiles with bib
\usepackage{hyperref} % allow hyperlinks
\usepackage{econark-xrsetup}
\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
% 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 --------------
% showlabels puts ref names on left, numbers on right
\provideboolean{draftmode}\setboolean{draftmode}{true}
\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}
\bibliographystyle{econark}
\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{\ApndxDir/ApndxConcaveCFunc}
\subfile{\ApndxDir/ApndxMTargetIsStable}
\subfile{\ApndxDir/ApndxBalancedGrowthcNrmAndCov}
\subfile{\ApndxDir/ApndxLiqConstr}
\subfile{\ApndxDir/ApndxConditionDiagrams}
\subfile{\ApndxDir/ApndxSupportingAnalysis}
\pagebreak
\providecommand{\bibfiles}{}\renewcommand{\bibfiles}{}\econarkcollectbibs{\econtexRoot/\texname}\bibliography{\bibfiles}\sloppy\end{document}\endinput
% 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)
% TeX-command-extra-options: "-shell-escape"
% End: