Agent skill

typesetting-latex

Professional document preparation with LaTeX for academic papers, resumes, books, presentations, and formal documents

Cosmic Stack3,294★ · 2 repos on radarProfile →
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 1
SKILL.md size: 30 KB
Bundled scripts: none
Version: 1.0.0
Declared author: cosmicstack-labs
Path: categories/pdf-generation/typesetting-latex/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 364
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

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).

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. LaTeX Document Structure
  2. Minimum Working Example
  3. Document Classes
  4. Preamble Organization
  5. 2. Essential Packages
  6. Geometry — Page Layout
  7. Hyperref — Hyperlinks and Bookmarks
  8. Graphicx — Images
  9. Listings — Code in Documents
  10. 3. Math Mode
  11. Inline Math
  12. Display Math
  13. Theorem Environments
  14. Advanced Math Notation
Commands it runs
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)
More from mercury-agent-skills
All skills →
About this skill
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.

Keep going