skills/43-wentorai-research-plugins/skills/writing/latex/latex-ecosystem-guide/SKILL.md
Comprehensive guide to LaTeX editors, packages, and typesetting workflows
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research latex-ecosystem-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
LaTeX remains the gold standard for typesetting academic documents in mathematics, computer science, physics, and engineering. Its precise control over document layout, equation rendering, and bibliography management makes it indispensable for journal and conference submissions.
This guide consolidates the best resources from the awesome-LaTeX repository (1,600+ stars) into an actionable reference covering editors, essential packages, document classes, bibliography management, and workflow optimization. Whether you are a LaTeX beginner setting up your first paper or an experienced user looking to streamline your pipeline, this skill provides the tools and techniques you need.
The LaTeX ecosystem is vast -- over 6,000 packages on CTAN alone. Rather than cataloging everything, this guide focuses on the packages and tools that researchers use most frequently and the workflows that save the most time.
| Editor | Platform | Real-time Preview | Collaboration | Free | |--------|----------|-------------------|---------------|------| | Overleaf | Web | Yes | Real-time | Yes (limited) | | TeXstudio | Desktop | Compile-based | No | Yes | | VS Code + LaTeX Workshop | Desktop | Yes (SyncTeX) | Live Share | Yes | | Texifier | macOS/iOS | Live | No | Paid | | Vim + VimTeX | Terminal | Zathura/Skim | No | Yes |
// .vscode/settings.json
{
"latex-workshop.latex.autoBuild.run": "onSave",
"latex-workshop.latex.recipe.default": "latexmk (xelatex)",
"latex-workshop.latex.recipes": [
{
"name": "latexmk (xelatex)",
"tools": ["latexmk-xelatex"]
}
],
"latex-workshop.latex.tools": [
{
"name": "latexmk-xelatex",
"command": "latexmk",
"args": [
"-xelatex",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
}
],
"latex-workshop.view.pdf.viewer": "tab"
}
\usepackage[margin=1in]{geometry} % Page margins
\usepackage{setspace} % Line spacing
\usepackage{fancyhdr} % Headers and footers
\usepackage{titlesec} % Section heading styles
\usepackage[hidelinks]{hyperref} % Clickable cross-references
\usepackage{cleveref} % Smart cross-references (\cref)
\usepackage{amsmath} % Core math environments
\usepackage{amssymb} % Extended symbols
\usepackage{amsthm} % Theorem environments
\usepackage{mathtools} % Extensions to amsmath
\usepackage{bm} % Bold math symbols
\usepackage{graphicx} % Include images
\usepackage{subcaption} % Subfigures
\usepackage{booktabs} % Professional tables (\toprule, \midrule, \bottomrule)
\usepackage{multirow} % Multi-row cells
\usepackage{siunitx} % SI units and number formatting
\usepackage{listings} % Basic code listings
\usepackage{minted} % Syntax-highlighted code (requires Pygments)
\usepackage{algorithm2e} % Algorithm pseudocode
| Class | Use Case | Key Feature |
|-------|----------|-------------|
| article | Short papers, preprints | Standard LaTeX |
| revtex4-2 | APS journals (Phys Rev) | Built-in journal styles |
| IEEEtran | IEEE conferences/journals | Two-column, IEEE format |
| acmart | ACM conferences/journals | Multiple formats (sigconf, sigplan) |
| elsarticle | Elsevier journals | Preprint and journal modes |
| svjour3 | Springer journals | Springer Nature format |
| aaai | AAAI conference | AAAI formatting |
\documentclass[sigconf,review]{acmart}
\begin{document}
\title{Your Paper Title}
\author{First Author}
\affiliation{%
\institution{University Name}
\city{City}
\country{Country}
}
\email{[email protected]}
\begin{abstract}
Your abstract here.
\end{abstract}
\maketitle
\section{Introduction}
...
\end{document}
\usepackage[
backend=biber,
style=numeric-comp,
sorting=none,
maxbibnames=99
]{biblatex}
\addbibresource{refs.bib}
% In document body:
As shown in prior work~\cite{vaswani2017attention}...
% At the end:
\printbibliography
@article{key,
author = {Last, First and Last2, First2},
title = {Paper Title},
journal = {Journal Name},
year = {2024},
volume = {42},
pages = {1--15},
doi = {10.xxxx/xxxxx}
}
@inproceedings{key2,
author = {Last, First},
title = {Conference Paper Title},
booktitle = {Proceedings of Conference},
year = {2024},
pages = {100--110}
}
MAIN = paper
TEX = $(MAIN).tex
PDF = $(MAIN).pdf
.PHONY: all clean watch
all: $(PDF)
$(PDF): $(TEX) refs.bib
latexmk -xelatex -interaction=nonstopmode $(TEX)
clean:
latexmk -C
watch:
latexmk -xelatex -pvc -interaction=nonstopmode $(TEX)
# .gitignore for LaTeX projects
*.aux
*.bbl
*.blg
*.log
*.out
*.synctex.gz
*.fdb_latexmk
*.fls
*.toc
*.nav
*.snm
latexmk instead of manual compilation chains. It handles multi-pass compilation automatically.booktabs for tables. Never use vertical lines (|) in academic tables.\cref{} from cleveref. It automatically prepends "Figure," "Table," or "Equation."development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.