
Latex Econ Model
Write and typeset economic models in LaTeX with proper notation
Install
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-econ-model -g -a claude-code -y- Repository
- brycewang-stanford/Auto-Empirical-Research-Skills4.9k
- Category
- Writing
- Updated
- 5d ago
- License
- See repository
- Context cost
- Mediumabout 1,586 tokens
- Runs scripts
- No, instructions only
What it does
Write and typeset economic models in LaTeX with proper notation
LaTeX Economic Model Writer
Purpose
This skill helps economists write and typeset economic models in LaTeX with proper mathematical notation, consistent formatting, and academic conventions. It covers utility maximization, equilibrium conditions, dynamic programming, and game theory models.
When to Use
- Writing the theory section of a paper
- Formalizing an economic model
- Creating lecture notes with equations
- Typesetting optimization problems and equilibrium conditions
Instructions
Step 1: Understand the Model Type
Ask the user:
- What type of model? (Static optimization, dynamic programming, game theory, general equilibrium)
- What are the agent types? (Consumer, firm, government, etc.)
- What constraints apply?
- Should it include proofs or just the setup?
Step 2: Use Standard Notation
Follow economics conventions:
- Utility: $U$, $u$, or $v$
- Production: $F$, $f$, or $Y$
- Prices: $p$, $w$, $r$
- Quantities: $q$, $x$, $y$
- Time subscripts: $t$, $t+1$
- Greek letters for parameters: $\alpha$, $\beta$, $\gamma$, $\delta$
Step 3: Structure the Model
Organize as:
- Environment - Agents, goods, time horizon
- Preferences/Technology - Utility functions, production functions
- Constraints - Budget, resource, incentive compatibility
- Equilibrium concept - Definition and conditions
- Solution - First-order conditions, closed-form solutions
Example Output
\documentclass{article}
\usepackage{amsmath, amssymb, amsthm}
\usepackage{mathtools}
% Theorem environments
\newtheorem{definition}{Definition}
\newtheorem{proposition}{Proposition}
\newtheorem{lemma}{Lemma}
% Custom commands for economics
\newcommand{\E}{\mathbb{E}} % Expectation
\newcommand{\R}{\mathbb{R}} % Real numbers
\newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}} % Partial derivative
\begin{document}
\section{A Simple Consumer Problem}
\subsection{Environment}
