typesetting-latex
Professional document preparation with LaTeX for academic papers, resumes, books, presentations, and formal documents
npx skills add cosmicstack-labs/mercury-agent-skills --skill typesetting-latex --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
The skill provides instructions for professional LaTeX document preparation, covering document structure, classes, preamble organization, essential packages, math typesetting, tables, figures, and bibliographies. It includes concrete code examples for a minimal working document, preamble setups, and common environments, plus guidance for beamer presentations and CI/CD workflows.
How it works
It groups content into sections that describe LaTeX concepts and includes code blocks demonstrating usage. It lists document classes (article, book, report, beamer, letter, resume, IEEEtran, acmart, amsart) and shows a preamble organization, with packages for encoding, geometry, hyperref, graphics, listings, and math tools. It provides sample snippets for a minimal document, preamble declarations, figure and table inclusion, math notation, and common environments (theorem, definition, example, remark), as well as advanced table and bibliography examples. Commands and file names are quoted exactly as shown, and the steps are explicit: choose document class, configure preamble, include packages, structure content, and add figures, tables, and citations as demonstrated.
When to use it
Use when you need to prepare professional academic documents, theses, resumes, books, presentations, or CI/CD workflows involving LaTeX, especially when precise structuring, typography, and bibliographies are required.
What it can touch
It references and relies on LaTeX source files and commands such as \documentclass, \usepackage, \begin{document}, \begin{lstlisting}, \includegraphics, and BibTeX/ Biber workflows. It mentions file names like references.bib and typical figure and image paths, but does not prescribe external tools beyond LaTeX-related commands.
Caveats
Licensing is MIT. It presents many example configurations and packages, but as with any LaTeX setup, the user must ensure compatibility with their compiler and environment (e.g., biblatex backend, dvips for EPS).
# LaTeX Typesetting LaTeX is the gold standard for professional typesetting — used for academic papers, technical books, theses, resumes, and presentations. This skill covers document structure, packages, math typesetting, tables, figures, bibliographies, beamer presentations, and CI/CD workflows. --- ## LaTeX Document Structure ### Minimum Working Example ```latex % document.tex — A minimal LaTeX document \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \title{A Simple LaTeX Document} \author{Jane Doe} \date{\today} \begin{document} \maketitle \section{Introduction} This is the first paragraph of the document. LaTeX handles all the typesetting automatically. \section{Methodology} We describe our approach in this section. \end{document} ``` ### Document Classes ```latex % Available document classes with typical use cases % Research articles and short reports \documentclass{article} % Books and long-form content \documentclass{book} % Reports and theses \documentclass{report} % Presentations \documentclass{beamer} % Letters \documentclass{letter} % Resumes/CVs \documentclass{resume} % IEEE conference papers \documentclass[conference]{IEEEtran} % ACM confe
- LaTeX Document Structure
- Minimum Working Example
- Document Classes
- Preamble Organization
- 2. Essential Packages
- Geometry — Page Layout
- Hyperref — Hyperlinks and Bookmarks
- Graphicx — Images
- Listings — Code in Documents
- 3. Math Mode
- Inline Math
- Display Math
- Theorem Environments
- Advanced Math Notation
Simple document (one pass) pdflatex document.tex Document with cross-references (two passes) Document with bibliography (three passes) bibtex document Using biblatex with biber biber document XeLaTeX (for Unicode/CJK/system fonts) xelatex document.tex LuaLaTeX (for OpenType/lua scripting)
What does the typesetting-latex skill do?
Professional document preparation with LaTeX for academic papers, resumes, books, presentations, and formal documents
How do I install it?
Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill typesetting-latex --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.