Home Contact Us

From \begin to \end

The Complete LaTeX Guide — a 7-day, in-house course that takes a complete beginner with an economics background to independently writing, formatting, citing, and submitting a publication-ready paper. Every concept below is taught the same way it is in the room: the code you write, the output it produces, and a plain-language explanation of why.

Necessary Skills — Module 05

Why economists end up learning LaTeX

Four reasons this keeps showing up in every economics program: equations (regressions, production functions, and game-theory payoffs typeset natively and precisely, not pasted in as blurry images), publication-quality tables, reproducibility with plain-text source and version control, and journal requirements — AER, JPE, QJE, and most Elsevier economics journals accept or require LaTeX and provide official templates.

The course runs entirely in Overleaf, a free, browser-based editor — nothing to install. Each of the seven days below builds on the last, using a single running paper draft as the exercise all week, so by Day 7 you're not just following along — you're finishing your own document.

At a Glance

Course Facts

7 daily sessions, 2–3 hrs each
Complete beginners — economics background
Tool: Overleaf (free, browser-based)
Hybrid: in-person or remote
Outcome: a submission-ready formatted, cited paper
Week at a Glance

Seven days, one running paper draft

Click any day to jump straight to its interactive walkthrough below.

DayFocusKey Skill Unlocked
Setup & Document AnatomyCompile a working .tex file from scratch
Math Mode for EconomistsTypeset models, equations, and notation
Tables, Figures & Regression OutputPublication-quality regression tables
Citations & BibliographyAuthor-year citations with BibTeX/natbib
Document Structure & Long DocumentsOrganize a full paper across files
Journal Templates & FormattingSubmission-ready formatting
Troubleshooting & Independent MasterySelf-debug and finalize the paper
Daily Curriculum

Try each day for yourself

Every slide in the actual course follows the same triad: the code you write, the compiled output it produces, and a short explanation of why. Pick a day below, then use "See Compiled Output" on the demo to flip between the two — exactly how it plays out in Overleaf.

Day 1 of 7

Setup & Document Anatomy

Get compiling your first document and understand what LaTeX actually is — a markup language, not a word processor. Zero prior exposure assumed.

  • What LaTeX is (and isn't)
  • Getting started with Overleaf
  • Preamble vs. body
  • Document class & packages
  • The title block
  • Sections & subsections
  • Bold, italics & comments
  • Reading your first compile error
example.tex
\documentclass{article}

\begin{document}
Hello, economics!
\end{document}
Compiled Output

Hello, economics!

Why & what: every LaTeX file has exactly this skeleton. The preamble (everything before \begin{document}) configures the document. The body is what actually gets typeset — nothing outside document ever appears in your PDF.

Hands-on Exercise

Recreate a real title page

Recreate the title page and abstract of a real, published economics paper. Compile at least five times, intentionally breaking and fixing something each time.

Homework

Before Day 2

Retype the introduction paragraph of the paper you'll rebuild all week into a new Overleaf project.

Day 2 of 7

Math Mode for Economists

Equations are the single biggest reason economists switch to LaTeX. Typeset models, regression specifications, and notation with full precision — no equation editor required.

  • Inline vs. display math
  • The amsmath package
  • Subscripts & superscripts
  • Greek letters & operators
  • Fractions & binomials
  • Multi-line derivations (align)
  • Matrices
  • Labeling & referencing equations
example.tex
\begin{equation}
  \label{eq:cobb-douglas}
  Y = A K^{\alpha} L^{1-\alpha}
\end{equation}

As shown in Equation~\eqref{eq:cobb-douglas}, output depends on...
Compiled Output

Y = A Kα L1−α   (1)

As shown in Equation (1), output depends on...

Why & what: \label silently tags the equation right after it's numbered. \eqref is what turns that tag into the visible "(1)" — and it stays correct automatically even if you add or remove equations earlier in the paper.

Hands-on Exercise

Three equations, one reference

Typeset a labeled Cobb-Douglas production function, a linear regression equation with a subscripted error term, and a 2×2 payoff matrix. Reference the Cobb-Douglas equation by number using \eqref.

Homework

Before Day 3

Add the full set of equations from your running paper draft, labeling every numbered equation.

Day 3 of 7

Tables, Figures & Regression Output

Tables are usually the hardest part for anyone switching from Word, Excel, or Stata. Build a repeatable workflow for turning regression output and charts into clean, journal-style tables and figures.

  • The tabular environment
  • booktabs rules
  • multicolumn / cmidrule
  • A complete regression table
  • figure & includegraphics
  • Float placement
  • tablesgenerator.com workflow
example.tex
\usepackage{booktabs}

\begin{tabular}{lcc}
  \toprule
  Country & GDP Growth & Inflation \\
  \midrule
  Bangladesh & 6.0\% & 5.4\% \\
  \bottomrule
\end{tabular}
Compiled Output
CountryGDP GrowthInflation
Bangladesh6.0%5.4%

Why & what: \toprule, \midrule, and \bottomrule add clean horizontal rules with no vertical lines — the standard look in economics journals (AER, QJE, JPE). Never mix \hline with booktabs rules in one table.

Hands-on Exercise

A real regression table

Reproduce a small regression output table in booktabs style using tablesgenerator.com as a first pass, then hand-edit for captions, labels, and a grouped header with \multicolumn.

Homework

Before Day 4

Insert all tables and figures from your running paper draft, with proper captions and labels.

Day 4 of 7

Citations & Bibliography

Economics journals almost universally use author-year citation style. Build a working BibTeX pipeline you can reuse for every future paper — practicing on real published research.

  • The .bib file
  • natbib & author-year styles
  • \citet vs. \citep
  • biblatex as an alternative
  • Sourcing .bib entries
  • Cross-referencing
example.tex
\citet{nandi2022financial} find a positive link between
financial inclusion and growth.

Financial deepening supports growth
\citep{nandi2022financial}.
Compiled Output

Nandi et al. (2022) find a positive link between financial inclusion and growth.

Financial deepening supports growth (Nandi et al., 2022).

Why & what: \citet ("textual") makes the authors part of the sentence; \citep ("parenthetical") puts the citation in parentheses instead. Rule of thumb: if the authors are the subject of your sentence, use citet — otherwise citep.

Hands-on Exercise

Five sources, one paragraph

Build a five-entry .bib file from real papers (WGI's own published papers work well) and write a short mock literature review citing all five, using citet and citep at least twice each.

Homework

Before Day 5

Build the real bibliography for your running paper draft and cite throughout the introduction and literature review. Aim for 8–10 sources.

Day 5 of 7

Document Structure & Long-Document Tools

Move from a single short file to the structure a full paper or thesis-length document needs, with the navigation aids a reader — or a referee — expects.

  • Table of contents
  • Footnotes
  • hyperref clickable references
  • Splitting files with \input
  • Page numbering & headers
example.tex
\usepackage{hyperref}   % load LAST in the preamble

See Section~\ref{sec:strategy} or visit
\href{https://whiteglobeinitiative.org}{our website}.
Compiled Output

See Section 2 or visit our website.

Why & what: loading hyperref turns every \ref, \eqref, \cite, and table-of-contents entry into a clickable link in the PDF. Load order matters — put hyperref as the last package in your preamble to avoid conflicts with others.

Hands-on Exercise

Split into files

Split your running paper draft into separate files and assemble them into a single main.tex using \input, adding a table of contents and at least one footnote.

Homework

Before Day 6

Load hyperref and confirm every cross-reference resolves correctly — fix any stray "??" you find.

Day 6 of 7

Journal Templates & Professional Formatting

You ultimately need to submit to a specific journal or working-paper series. Become fluent in adapting an existing template rather than building formatting from scratch.

  • Overleaf template gallery
  • AEA-style & Elsevier elsarticle
  • Title/abstract/JEL/keyword metadata
  • Page size, margins & colour
  • Converting a Word draft
example.tex
\title{Remittances and Consumption Smoothing}
\author{Jane Economist}
\begin{abstract}
This paper examines remittance inflows...
\end{abstract}
\JEL{F24, D14, O15}
\keywords{remittances, migration}
Compiled Output

Remittances and Consumption Smoothing

Jane Economist

Abstract. This paper examines remittance inflows...

JEL: F24, D14, O15   Keywords: remittances, migration

Why & what: journal templates add fields beyond plain article — abstract, JEL codes, keywords — rendered automatically. JEL codes are economics-specific and expected by nearly every journal.

Hands-on Exercise

Migrate end-to-end

Choose one real economics journal template from the Overleaf gallery and migrate your entire running paper draft into it end-to-end.

Homework

Before Day 7

Proofread the migrated document for formatting breaks and list everything you find — you'll fix it tomorrow.

Day 7 of 7

Troubleshooting, Polish & Independent Mastery

Not more syntax — self-sufficiency. Leave able to diagnose your own errors and finish a paper without a tutor in the room.

  • Reading compile errors like a pro
  • TeX StackExchange search strategy
  • Pre-submission proofreading checklist
  • Exporting the final PDF
  • Where to go next
example.tex
\textb{Significant results}     % typo'd command
The share of GDP is  15%.       % unescaped percent sign
\begin{itemize} ... \end{document}
Compiled Output

! Undefined control sequence.

! Missing $ inserted.

! LaTeX Error: \begin{itemize} ended by \end{document}.

Why & what: Undefined control sequence is almost always a typo'd command. Missing $ inserted means a math symbol (or unescaped % or &) was used outside math mode. A mismatched \begin/\end means counting your pairs — the reported line is often after the real mistake, not at it.

Hands-on Exercise

Fix it unaided

The instructor injects 3–5 common errors into your document. Diagnose and fix each one unaided, using only Overleaf's error log and TeX StackExchange.

Final Deliverable

Submission-ready PDF

A submission-ready PDF of the paper built across the week, self-reviewed against Day 6's template requirements.

Resources You'll Actually Use

The reference set behind every day above

ResourceBest Used For
Overleaf — Learn LaTeX in 30 MinutesDay 1 crash course; first document, structure, math preview
Overleaf DocumentationTopic-by-topic reference for every day of the course
Wikibooks LaTeXFree companion textbook; deeper explanations and exercises
tablesgenerator.comConverting Excel/Stata output into LaTeX table code (Day 3)
whiteglobeinitiative.org/published-papersReal published-paper examples for citation practice (Day 4)
Overleaf Template GalleryEconomics/AEA/Elsevier journal templates (Day 6)
TeX StackExchangeDebugging real compile errors (Day 7 and beyond)

Bring this course to your team

Run privately for your organization, on-site or hybrid, or join the next open cohort — either way, it starts with a message.

Request This Training