This is a Quarto template for making an academic working paper that is often used in the field of Economics. It is named "aea" as it is loosely based on the paper template given by AEA.
You can use this as a template to create your own working paper. To do this, run in terminal:
quarto use template hchulkim/econ-paper-template
This will install the extension in the _extensions subdirectory and create an example qmd file and bibiography that you can use as a starting place for your article.
You may also use this format with an existing Quarto project or document. From the quarto project or document directory, run the following command to install this format:
quarto add hchulkim/econ-paper-template
To use the format, you can use the format names aea-pdf and aea-html. For example:
quarto render template.qmd --to aea-pdf
or in your document yaml
format:
aea-pdf:
keep-tex: true
You can view a preview of the rendered template at https://github.com/hchulkim/econ-paper-template/blob/main/template.pdf
Why use Quarto?1
Quarto is an open-source scientific and technical publishing system.
- Language agnostic: Create dynamic content with Python, R, Julia, and Observable.
- Supports various output formats: Publish reproducible, production quality articles, presentations, dashboards, websites, blogs, and books in HTML, PDF, MS Word, ePub, and more.
- Write using Pandoc markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.
- You can also render the Quarto document on save using the feature in VS code. Check here and go to
Render on savesection: Render on save - A more easier version of LyX.
Download Quarto from their website: Get started. The also have a nice tutorial.
- Mainly use qmd file to write your paper. After writing your draft in qmd file, use the following code in the terminal to render the file into pdf, tex, html:
quarto render template.qmd
-
If you need to change the format in the title page, use the
before-body.texfile in thepartialsfolder. -
If you need to change the latex header, use the
_include-header.texfile in thepartialsfolder. -
For citation, use the good ol' bibtex. You can add your citation in the
bibliography.bibfile.
Miscellaneous (Customizing template.qmd file)
-
Try not to use other pdf engines than pdfLaTeX. Currently, the template is optimized for pdfLaTeX. For example, there is some issue with XeLaTeX where it would not print the * in the latex code (which means significance).
-
If you set
blinded: truein the yaml header, it will hide the author information in the title page. This feature is not that necessary for working papers in Economics, but still, it is there. -
You can change the cite, link, url color in the yaml header. Currenlty, it is set to cyan.
-
Use
title-footnotein the yaml header to add a footnote in the title page. Similarly, useacknowledgementsto add acknowledgements for each author. -
Use
abstractin the yaml header to add an abstract. Similarly for thekeywords. -
author-format: horizontalmakes the author names to go horizontal. If you remove that line, author names will go vertical.
-
Hyoungchul Kim (Creator): Ph.D. student in Applied Economics at The Wharton School, UPenn. Email Me
-
Wooyong (Tommy) Park: Predoctoral research fellow at Stanford GSB. Email Me
-
Significant portion of the code is based on JASA Quarto template. Copyright (c) 2022 quarto-journals
-
econ.bst file is from Template maintained by Shiro Takeda.
Footnotes
-
This section is cited from official Quarto website. ↩