\documentclass[$if(dc_options.fontsize)$$dc_options.fontsize$,$endif$$if(dc_options.lang)$$babel-lang$,$endif$$if(dc_options.papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{article} $if(fontfamily)$ \usepackage[$fontfamilyoptions$]{$fontfamily$} $else$ \usepackage{lmodern} $endif$ % Packages \usepackage{amssymb, amsmath, amsfonts, eurosym, geometry, ulem, graphicx, color, setspace, sectsty, comment, footmisc, natbib, pdflscape, subfigure, array, hyperref, verbatim} \usepackage[labelfont=bf, textfont=large]{caption} \usepackage[utf8]{inputenc} \usepackage[bf]{titlesec} \usepackage{float} \usepackage{appendix} \usepackage{setspace} \normalem \onehalfspacing \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{proposition}{Proposition} \newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}} \newtheorem{hyp}{Hypothesis} \newtheorem{subhyp}{Hypothesis}[hyp] \renewcommand{\thesubhyp}{\thehyp\alph{subhyp}} \newcommand{\red}[1]{{\color{red} #1}} \newcommand{\blue}[1]{{\color{blue} #1}} \newcolumntype{L}[1]{>{\raggedright\let\newline\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\arraybackslash\hspace{0pt}}m{#1}} \geometry{left=1.0in,right=1.0in,top=1.0in,bottom=1.0in} $if(natbib)$ \usepackage{natbib} \bibliographystyle{$if(biblio-style)$$biblio-style$$else$ecta$endif$} \usepackage[strings]{underscore} % protect underscores in most circumstances $endif$ $if(biblatex)$ \usepackage$if(biblio-style)$[style=$biblio-style$]$endif${biblatex} $if(biblatexoptions)$\ExecuteBibliographyOptions{$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$}$endif$ $for(bibliography)$ \addbibresource{$bibliography$} $endfor$ $endif$ $if(listings)$ \usepackage{listings} $endif$ \newtheorem{hypothesis}{Hypothesis} \makeatletter \@ifpackageloaded{hyperref}{}{% \ifxetex \PassOptionsToPackage{hyphens}{url} \usepackage[setpagesize=false, % page size defined by xetex unicode=false, % unicode breaks when used with xetex xetex]{hyperref} \else \PassOptionsToPackage{hyphens}{url} \usepackage[unicode=true]{hyperref} \fi } \@ifpackageloaded{color}{ \PassOptionsToPackage{usenames,dvipsnames}{color} }{% \usepackage[usenames,dvipsnames]{color} } \makeatother \hypersetup{breaklinks=true, bookmarks=true, pdfauthor={$if(anonymous)$$else$$for(author)$$author.name$ ($author.affiliation$)$sep$ and $endfor$$endif$}, pdfkeywords = {$if(keywords)$$keywords$$endif$}, pdftitle={$title$$if(subtitle)$: $subtitle$$endif$}, colorlinks=true, citecolor=$if(citecolor)$$citecolor$$else$blue$endif$, urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, pdfborder={0 0 0}} \urlstyle{same} % don't use monospace font for urls % set default figure placement to htbp \makeatletter \def\fps@figure{htbp} \makeatother $for(header-includes)$ $header-includes$ $endfor$ $if(endnotes)$ \usepackage{endnotes} \renewcommand{\enotesize}{\normalsize} \let\footnote=\endnote $endif$ \begin{document} \begin{titlepage} $if(title)$ \title{$title$ $if(anonymous)$ $else$$if(thanks)$\thanks{$thanks$} $endif$ $endif$ $if(subtitle)$ \\ \large{$subtitle$} $endif$ } $endif$ $if(anonymous)$ $else$ \author{$for(author)$ $author.name$ \\ \small $author.affiliation$ $sep$ \and $endfor$}$endif$ \date{$if(date)$\normalsize{\emph{$date$}}$else$ \today $endif$} \maketitle $if(abstract)$ \begin{abstract} \noindent $if(abstract.size)$ \$abstract.size$ $else$ \small $endif$ $abstract.text$ \bigskip \end{abstract} $endif$ $if(keywords)$ \begin{center} \noindent\textbf{Keywords:} $keywords$\\ \end{center} $endif$ $if(jelcodes)$ \begin{center} \noindent\textbf{JEL Codes:} $jelcodes$\\ \end{center} $endif$ \setcounter{page}{0} \thispagestyle{empty} \end{titlepage} \pagebreak \newpage $if(toc)$ { \hypersetup{linkcolor=black} \setcounter{tocdepth}{$toc-depth$} \tableofcontents \pagebreak \newpage } $endif$ $if(anonymous)$ \doublespacing $else$ $if(spacing)$ \$spacing$spacing $endif$ $endif$ % Document $body$ $if(endnotes)$ \newpage \theendnotes $endif$ \newpage \singlespacing $if(natbib)$ $if(bibliography)$ $if(biblio-title)$ $if(book-class)$ \renewcommand\bibname{$biblio-title$} $else$ \renewcommand\refname{$biblio-title$} $endif$ $endif$ \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} $endif$ $endif$ $if(biblatex)$ \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ $endif$ $for(include-after)$ $include-after$ $endfor$ \end{document}