One file, every version
Imagine being an academic economist trying to submit a paper. You have multiple versions of your paper that need to be managed separately at different times. You want one version with author names on it, another blinded for sending out to referees, a third version with a separate title page for submitting through the journal portal, and a standalone online appendix. If you ever find a typo or need to update a table in the middle of your paper, how do you avoid making the same edit in all these versions?
With EcoFin.sty you can have all the different versions of your paper in the same file. And by changing a single word you'll get one or the other to compile. When preparing an anonymous version of a paper for submission, the style will remove author names and acknowledgements (and e-mail addresses and ORCID links) and clear out the PDF author field, while leaving all the rest of your text identical, since it's coming from the same source file.
master.tex
\usepackage{ecofin} \ecofinsetup{mode = wp} \title{Administrative …} \author[1]{Jane Doe} \author[2]{John Roe} \thanks{We thank …} \begin{document} \maketitle …
What comes out
Administrative Screening and Career Progression
Paper and references
Online appendix
Six pages. Names, thanks and addresses are on the first page.
To ease authors' burden further, one command to build your project can be used to generate not only your complete document but also the three distinct files (the title page, the anonymised version of your paper, and the online appendix) that journal submission portals typically ask for.
Comments in the margin, on or off
Co-authors can write their comments right into your draft. For example, they could use the command \mnote to leave a comment next to a given sentence, or \discuss to raise a question about a section, or even \replace to suggest rewording some passage (with the old version typeset on the side in the margin).
One word turns margin notes on and another turns them off, while preserving the identical line breaks between the two cases (so that people all read the exact same pagination) and ensuring that in an anonymous version no such margin note would ever print.
3.1 Identification
Empirical studies of organisations open with the economic question and the setting.•[FK] Check the clustering level. We then estimate a simple model on a long panel of offices and report the slope with its standard error, which is the number a reader will look for first in the table.
The second part of the argument continues[BS] was: goes on for long enough that a moved line break would be seen at once. Identification rests on the timing of the reform, which the ministry announced without warning in the spring of the first year. ▸[Ref 2] Add the first stage?The offices could therefore not prepare for it.
\ecofinsetup{notes = show}
Add an author, hide a section
The title block is set so that each of the authors' names appears on a line of its own. It will therefore arrange one to six authors automatically (and cleanly) into either up to three on a line or four or more split across two lines, with all e-mail addresses and ORCID links placed in a footnote.
The advantage of this approach is that any part (e.g., a section, a block of text) or even all of the online appendix can be turned off without having to delete any text. This may come in handy if you are asked by a journal to submit a shorter version of your manuscript.
Administrative Screening and Career Progression
This version: November 2026
sections
- Introduction
- Results
- Conclusion
Five sections and the online appendix.
The page itself
Titles and headings are set in the Geist Serif font, body text in Source Serif and mathematics in Latin Modern. Citations appear in brick red and internal links to tables, figures and equations (with their captions above and notes and sources below) in blue. Digits in a table are aligned in clean columns.
Headings in Geist Serif2. Data and Empirical Design
Text in Source SerifCluster-robust inference follows design-based sampling principles (Abadie et al. 2023)Citation. Table 1 summarises the panel. For each individual observed in a period we estimate
Caption above, notes belowtable 1. Summary of the Demonstration Panel
| Roster stratum | Personnel | Person-years |
|---|---|---|
| Core headquarters rosters | 4,200 | 54,600 |
| Regional directorate rosters | 6,300 | 71,400 |
| Auxiliary archive extracts | 1,500 | 18,000 |
Notes: Each person is assigned to the roster stratum with most of the observed career years.
These are all optional and can be toggled with a single switch (e.g. use STIX Two or Libertinus fonts in mathematics mode, have equation numbers on the left side instead of right, use Roman instead of Arabic numerals for section numbers, and A4 paper).
Start
To create a new paper using the ecofin package, you can either simply copy over the files ecofin.sty, bibliography.bst and the folder fonts into the same directory as your paper, or download the complete bundle from the repository which also contains a sample document. A new manuscript using the ecofin package will then look like this.
\documentclass[11pt]{article}
\usepackage{ecofin}
\bibliographystyle{bibliography}
\title{Your Title}
\author[1]{Your Name}
\affil[1]{Your University}
\date{November 2026}
\begin{document}
\maketitle
\begin{abstract}
Your abstract.
\end{abstract}
\section{Introduction}
Your text \citep{key}.
\bibliography{references}
\end{document}This style will compile fine with LuaLaTeX and XELaTeX. If you try it with the traditional pdfLaTeX, it will use Source Serif for the headings (Geist Serif unfortunately can only be used with LuaLaTeX or XELaTeX).
Details
The README in the repository explains the rest.
| Modes | Seven versions from one file, and the three-file set for journal sites |
|---|---|
| Settings | Every option with its default |
| Tables | Three-part tables, panel rows and aligned decimals |
| Figures | Captions, notes, the colour set and its Python companion |
| Numbers | Results written by your analysis script and used in the text |
| References | One list for the paper and one for the online appendix |
| arXiv | A ready-made upload file |
Built on
EcoFin.sty is an extension of standard LaTeX article class. The format for the bibliography is based on Shiro Takeda's econ.bst file. Geist Serif is by the Geist Project Authors at Vercel and Source Serif by Adobe, both licensed under the SIL Open Font License. Pascal Michaillat's latex-paper template was a helpful reference.
Limits
This template follows the conventions of most fields in economics, finance, and economic history. It has not been tested in other disciplines. Geist Serif headings require LuaLaTeX or XELaTeX. Each author is limited to a single affiliation line. When there are heavy notes on the margins, it can happen that adding a page break at the same point will cause a shift by one line (although all line breaks remain identical). Most journals requiring their own class file also require this at the time of acceptance, so this style is optimised for working papers and initial submission to journals.