-
Notifications
You must be signed in to change notification settings - Fork 19
/
SolvingMicroDSOPs.tex
122 lines (100 loc) · 5.28 KB
/
SolvingMicroDSOPs.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
\input{@resources/tex-add-search-paths} % allow latex to find custom stuff
\documentclass[titlepage, headings=optiontotocandhead]{econark}
\newcommand{\texname}{SolvingMicroDSOPs} % Keyname for the doc
% specific to this paper
% \usepackage{econark-titlepage} % custom titlepage
% These are in various subdirectories searched by add-latex-search-paths
\usepackage{local-macros} % @resources/latex: defns for this project
\usepackage{econark} % econark defns
\usepackage{llorracc-handouts} % allow references to llorracc-handouts
\usepackage{local-packages} % LaTeX config in @resources/latex
\newcommand{\owner}{llorracc} % llorracc or econ-ark
% booleans control whether certain options are on or off:
\input{\texname-options}
% replace macros with their referents using demacro
% (only operative when processing doc with demacro script):
\provideboolean{demacro}\setboolean{demacro}{false}
\ifthenelse{\boolean{demacro}}{
%replace only a few things that are single letter vars
\usepackage{SolvingMicroDSOPs-clean}}{}
% Only operative when running demacro script on document-clean
% (de-macro-do.sh script changes the name to end in -private)
\provideboolean{demacromore}\setboolean{demacromore}{false}
\ifthenelse{\boolean{demacromore}}{
\usepackage{SolvingMicroDSOPs-clean}}{} % demacro most things
% Configure html links etc
\input{SolvingMicroDSOPs-hypersetup}
%\bibliographystyle{econark}% Like econometrica.bst but with full names rather than initials
\usepackage{econark-multibib} % use supplemental bib files if they exist
\begin{document}
\tableofcontents
% Sections = _sectn-
\subfile{_sectn-titlepage}
\subfile{_sectn-introduction}
\subfile{_sectn-the-problem}
%\econarkmultibib{\texname}\end{document}\endinput % \endinput prevents any processing of subsequent stuff
\subfile{_sectn-normalization}
\subfile{_sectn-notation}
\subfile{_sectn-the-usual-theory}
\subfile{_sectn-solving-the-next}
% %\MoM{\subfile{_sectn-method-of-moderation}}{}
\subfile{_sectn-the-infinite-horizon}
\subfile{_sectn-multiple-control-variables}
\subfile{_sectn-structural-estimation}
\subfile{_sectn-conclusion}
\clearpage\vfill\eject
\centerline{\LARGE Appendices}\vspace{0.2in}
\appendix
% Appendices = _apndx-
\subfile{_apndx-scf-data}
\vfill\clearpage
\ifthenelse{\boolean{showPageHead}}{ %then
\clearpairofpagestyles % No header for references pages
}{} % No head has been set to clear
\econarkmultibib{\texname}
\trp{
\pagebreak
\hypertarget{Appendices}{} % Allows link to [url-of-paper]#Appendices
\ifthenelse{\boolean{Web}}{}{% Web version has no page headers
\chead[Appendices]{Appendices} % but PDF version does
\appendixpage % Reset formatting for appendices
}
\appendix
\addcontentsline{toc}{section}{Appendices} % Say "Appendices"
\subfile{TRP_aInU}
}{}
\end{document}\endinput % \endinput prevents any processing of subsequent stuff
% 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: (("" "pdflatex -output-format=PDF %(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: (add-hook 'LaTeX-mode-hook 'turn-on-reftex)
% eval: (setq reftex-plug-into-AUCTeX t)
% coding: utf-8
% eval: (setq TeX-fold-macro-spec-list t)
% eval: (setq global-prettify-symbols-mode t)
% eval: (add-to-list 'TeX-fold-macro-spec-list '("[f]" ("figure")))
% eval: (add-to-list 'TeX-fold-macro-spec-list '("[t]" ("table")))
% eval: (add-to-list 'TeX-fold-env-spec-list '("[comment]" ("comment")))
% eval: (add-to-list 'TeX-fold-math-spec-list '("[eq]" ("equation")))
% eval: (add-to-list 'TeX-fold-math-spec-list '("[inline]" ("\\(" "\\)")))
% eval: (prettify-symbols-mode 1)
% eval: (setq prettify-symbols-unprettify-at-point 'right-edge)
% eval: (setq debug-on-error t)
% eval: (TeX-fold-buffer)
% End: