forked from llorracc/HAFiscal-Public
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHAFiscal.tex
More file actions
135 lines (105 loc) · 4.48 KB
/
HAFiscal.tex
File metadata and controls
135 lines (105 loc) · 4.48 KB
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
% -*- Mode: LaTeX; TeX-PDF-mode: t; -*- # Config emacs auctex
\input{./._relpath-to-latexroot.ltx} % Set paths to find resources (defines \latexroot and loads tex-paths.ltx)
\documentclass[titlepage, headings=optiontotocandhead]{econark} % embedded toc
% Definitions unique to this paper (showlabels config now in local.sty)
\usepackage{local} % Local package definitions and setup
\usepackage{local-qe} % local-qe gets pkgs req for qe
\bibliographystyle{econark} % based on econometrica
% Load metadata BEFORE hypersetup (SST pattern)
\input{\latexroot/@local/metadata.ltx}
% When compiling Web version of paper, construct targets/anchors
\weborpdf{ % compiling web version
% execute this version if compiling with make4ht
\hypersetup{destlabel=true} % set up html labels
}{
% execute this version if compiling with pdflatex
\provideboolean{showPageHead}{\setboolean{showPageHead}{true}}
% Enhanced PDF metadata for AI systems and cross-format discovery
% Uses macros from @local/metadata.ltx (SST pattern)
\hypersetup{
pdftitle={\PDFTitle},
pdfauthor={\PDFAuthor},
pdfsubject={\PDFSubject},
pdfkeywords={\PDFKeywords}
}
}
\webonly{ % footnotes do not work when there is no page footer
% execute this version if compiling with make4ht
\section*{Endnotes}
\theendnotes
}
\begin{document}
% \whenstandalone{content} - Execute content only when file compiled standalone
% \whenintegrated{content} - Execute content only when integrated into main document
\subfile{Subfiles/HAFiscal-titlepage}\pagebreak
% Table of contents; to omit, \setboolean{TOC}{false} above
\ifthenelse{\boolean{TOC}}{\pagebreak
\let\LaTeXStandardContentsName\contentsname
\renewcommand{\contentsname}{}
\tableofcontents
}{}
% make the body of the paper
\input{Subfiles.ltx} % all sections are subfiles enumerated here
\pagebreak
\webonly{
% execute this version if compiling with make4ht
\section*{Endnotes}
\theendnotes
}
\addcontentsline{toc}{section}{References} % Add refs at end of TOC
% Bibliography handled automatically by document structure (\entrypointbib in preamble)
% This ensures proper bibliography handling in modular documents
\clearpage
% Citations from appendices that are not explicitly cited in main text
% These ensure the references appear in the bibliography
\nocite{Bardoczy2022}
\nocite{Blanchard2010}
\nocite{Christiano2016}
\nocite{DenHaan2000}
\nocite{Gornemann2021}
\nocite{Ravn2017}
\nocite{Ravn2021}
\nocite{Rotemberg1982}
\nocite{Silva2009}
\nocite{arsJumpsHumps}
\nocite{carroll2020modeling}
\nocite{den2010computational}
\nocite{fagereng-mpc-2021}
\nocite{rothstein2017scraping}
\smartbib
\clearpage
\section*{Appendices}
\addcontentsline{toc}{section}{Appendices}
\markboth{APPENDICES}{APPENDICES}
\appendix
% Include appendices based on their type and OnlineAppendixHandling
% A: HANK appendix (always include full content) - moved from B to A
\subfile{Subfiles/Appendix-HANK}
% B: No Splurge appendix - now online only with stub page
% Add pagebreak so Appendix B can be easily removed by dropping last page(s)
\clearpage
\FloatBarrier
\phantomsection
\section{\href{https://econ-ark.github.io/HAFiscal/\#app:Model-without-splurge}{Results in a Model Without the Splurge}}
\label{app:Model-without-splurge}
\noindent\textit{Full appendix PDF available at:}
\href{https://github.com/econ-ark/HAFiscal/blob/master/Subfiles/Appendix-NoSplurge.pdf}{\texttt{GitHub: Subfiles/Appendix-NoSplurge.pdf}}
\medskip
\noindent\textit{Click any section title below to view it online in HTML:}
\medskip
\subsection{\href{https://econ-ark.github.io/HAFiscal/\#app:Model-without-splurge-intro}{Introduction}}
\label{app:Model-without-splurge-intro}
\subsection{\href{https://econ-ark.github.io/HAFiscal/\#app:nosplurge-matching-impcs}{Matching the iMPCs without the splurge}}
\label{app:nosplurge-matching-impcs}
\subsection{\href{https://econ-ark.github.io/HAFiscal/\#app:nosplurge-estimating-betas}{Estimating discount factor distributions without the splurge}}
\label{app:nosplurge-estimating-betas}
\subsection{\href{https://econ-ark.github.io/HAFiscal/\#app:nosplurge-multipliers}{Multipliers in the absence of the splurge}}
\label{app:nosplurge-multipliers}
\medskip
% C: Robustness appendix (using hidden appendix approach)
% This appendix is processed for labels but doesn't appear in the PDF
\begin{hiddencontent}[OnlineAppendix]
% Include the actual appendix content but it will be hidden
\subfile{Subfiles/Appendix-Robustness}
\end{hiddencontent}
\end{document}