- Home
- Skills
- Meleantonio
- Awesome Econ Ai Stuff
- Latex Tables
latex-tables_skill
- HTML
156
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill meleantonio/awesome-econ-ai-stuff --skill latex-tables- index.md2.9 KB
- SKILL.md2.9 KB
Overview
This skill generates publication-ready LaTeX tables for regression results and summary statistics with academic formatting. It produces clean code using booktabs, aligned numeric columns, labels, captions, and notes for standard errors and significance stars. The output is ready to drop into a LaTeX document and easy to adapt to journal styles.
How this skill works
You tell the skill the table type (regression, summary, balance), the software that produced the output (Stata, R, Python), and any journal/style constraints. The skill builds a LaTeX table using booktabs, optional threeparttable for notes, aligned numeric columns, and a caption/label. It also adds significance stars, standard-error rows, and a compact notes block, and returns brief compilation and refinement instructions.
When to use it
- Converting regression output from Stata, R, or Python into LaTeX
- Standardizing table style across a manuscript or replication package
- Preparing summary statistics or balance tables for appendices
- Adding clear notes, significance stars, and labels for submission
- Creating multi-model side-by-side regression tables
Best practices
- Keep tables as narrow as possible; prefer compact variable names and abbreviations
- Use booktabs for horizontal rules and threeparttable for notes when needed
- Align numeric columns on the decimal point for readability
- Include clear captions, labels, and a notes block explaining standard errors and stars
- Test compile with your target LaTeX class and adjust column widths or font size for fit
Example use cases
- Three-column regression table with controls and fixed effects, plus standard errors in parentheses
- Summary statistics table with mean and standard deviation columns and sample size
- Balance table for pre-treatment covariates with mean differences and p-values
- Appendix tables formatted to AEA-style with notes and data source line
- Quick conversion of a Python/R model summary into ready-to-use LaTeX code
FAQ
booktabs is required for clean rules; threeparttable is recommended for notes. Use siunitx if you want automatic decimal alignment.
Can you match a journal-specific style?
Yes. Provide the journal or a sample table and I will adapt caption, label placement, font size hints, and notes formatting to match common journal conventions.