This repository contains a LaTeX template to create an academic paper. The template carefully follows typographical best practices and has a minimalist design.
The template is documented at https://pascalmichaillat.org/d2/.
- The paper produced by the template can be viewed at https://pascalmichaillat.org/d2.pdf.
- The online appendix produced by the template can be viewed at https://pascalmichaillat.org/d2a.pdf.
- The font for text, roman math, and numbers is Source Serif Pro.
- The font for Greek and calligraphic math is Euler.
- No colors are used in the text (only black) to reduce distraction, and so the paper prints well; colors are reserved for graphs.
- Margins, spacing, and font size are set for comfortable reading.
- Headings and captions are designed so the paper is easy to scan.
- Formatting is specified for figures and tables.
- Formatting is specified for appendix and a separate online appendix.
- Formatting is specified for references.
- All labels are formatted to make cross-referencing easy.
- Clone the repository to your local machine.
- Start editing the LaTeX file
paper.tex
to replace the boilerplate content with the content of your paper. - Replace the figures in the PDF file
figures.pdf
with the figures that will be included in the paper. There should be one figure per page. - Replace the references in the BibTeX file
bibliography.bib
with the references that will be included in the paper. - Compile
paper.tex
with pdfTeX. This will generate a PDF file of your paper namedpaper.pdf
. - The LaTeX style file
paper.sty
collects all the commands to format the paper. The file must be included in the same folder aspaper.tex
. It can be modified to alter the paper's format. - The BibTeX style file
bibliography.bst
collects all the commands to format the bibliography. It must be included in the same folder aspaper.tex
. It can be modified to alter the bibliography's format. This style file is based onecon.bst
, which was created by Shiro Takeda and is available on GitHub. - The file
paper.pdf
is not required to use the template. It only illustrate the output of the template. It will be overridden oncepaper.tex
is compiled.
The repository also includes files to produce an online appendix—in case the paper's appendix must be carved out into a separate, online appendix upon publication. An online appendix can be produced as follows:
- Start editing the LaTeX file
appendix.tex
to replace the boilerplate content with the content of your online appendix. - The equation and section labels from
paper.tex
can be used inappendix.tex
. This requires the following:- The file
appendix.tex
is in the same folder aspaper.tex
. - The file
paper.tex
is compiled first. - The auxiliary file
paper.aux
is available whenappendix.tex
is compiled.
- The file
- Compile
appendix.tex
with pdfTeX. This will generate a PDF file of your appendix namedappendix.pdf
. - The LaTeX style file
appendix.sty
collects additional commands to format the online appendix. It must be included in the same folder asappendix.tex
. It can be modified to alter the format of the online appendix. It works in conjunction withpaper.sty
, which must be included in the same folder. - The file
appendix.pdf
is not required to use the template. It only illustrate the output of the template, and will be overridden onceappendix.tex
is compiled.
The template was developed on a Mac with the MacTeX-2021 distribution, and it continues to work with the MacTeX-2023 distribution. Hopefully, it should also work on other machines and with other distributions.
The content of this repository is licensed under the terms of the MIT License.
- Moen Meets Rotemberg: An Earthly Model of the Divine Coincidence (source code)
- Modeling the Displacement of Native Workers by Immigrants (source code)
- u* = √uv (source code)
- Critical Values Robust to P-hacking (source code)
- LaTeX template for academic presentations – This template produces academic presentations following the same principles, and with a similar appearance, as this paper template.
- LaTeX commands to write math – These commands make it easy to write mathematical expressions. They can be used in combination with this paper template.