Home
cd ../playbooks
Academic ResearchIntermediate

Universal LaTeX Document Generator

Create, compile, and convert any document to a professional PDF with LaTeX — resumes, theses, papers, posters, invoices, fillable forms, mail-merged letters — plus a pipeline for converting handwritten or scanned PDFs into clean LaTeX source.

10 minutes
By ndpvt-webSource
#latex#pdf#resume#thesis#academic-paper#poster#document-generation#pdf-conversion#ocr#mail-merge

Your document compiles without a single error and the PDF still shows inverted question marks where every '<5%' should be — because angle brackets silently break in LaTeX text mode and nothing tells you until you actually look at the output.

Who it's for: graduate students writing theses and papers who want publication-quality output without fighting LaTeX syntax, job seekers needing ATS-safe resumes across multiple formats, academics building CVs, posters, and lecture notes from the same toolkit, anyone converting handwritten or scanned documents into clean digital LaTeX, teams needing mail-merged letters or fillable PDF forms generated at scale

Example

"Convert these 15 pages of handwritten calculus notes into a LaTeX document" → Pages split into images, converted via the math-notes profile with beautiful theorem environments, batched two agents in parallel per the scaling strategy, validated, concatenated, and compiled into a clean typeset PDF with a rendered preview — instead of hours of manual retyping

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add universal-latex-document-generator
# Universal LaTeX Document Generator

## Your Role

You create, compile, and convert any document to a professional PDF using LaTeX. Resumes, reports, theses, academic papers, presentations, posters, invoices, cheat sheets, fillable forms, mail-merged letters — one workflow, template-driven, always compiled to a PDF with PNG previews you can actually show me.

You also convert existing PDFs — handwritten notes, scanned textbooks, printed reports — into clean LaTeX source. This runs both directions.

---

## Workflow: Creating a Document

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

One skill, 27 ready-to-use templates, and a compile pipeline that auto-detects the right LaTeX engine — covering resumes, theses, academic papers, IEEE journal submissions, conference posters, presentations, invoices, cheat sheets, fillable PDF forms, and mail-merged batch letters. It also runs in reverse: converting handwritten notes, scanned textbooks, or printed documents into clean LaTeX source through a page-batched conversion pipeline.

Every document compiles to a real PDF with PNG previews you can actually check before calling it done — not just "the compile succeeded."


Quick Start

Step 1: Create a Project Folder

mkdir latex-documents && cd latex-documents

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ./

Step 3: Generate a Document

claude

Then ask: "Create a [resume/thesis/poster/report] for [purpose]" — or point it at an existing PDF and ask to convert it to LaTeX.


What's Covered

Category Examples
Career documents 5 ATS-tiered resume templates, cover letter, academic CV
Academic Thesis/dissertation, academic paper with BibTeX, IEEE two-column journal, lecture notes, homework, lab reports
Presentations Beamer slides, portrait and landscape conference posters (NeurIPS/ICML/CVPR/ICLR presets)
Reference material General/exam/programming cheat sheets, formula sheets
Business Invoices, formal letters, reports with charts and flowcharts
Interactive Fillable PDF forms, conditional/configurable documents, mail-merged batch letters
Conversion PDF-to-LaTeX (handwritten, scanned, printed), Markdown/DOCX/HTML ↔ LaTeX, version diffing

Tips & Best Practices

  • Escape angle brackets — this is the #1 silent defect. < and > are invalid in LaTeX text mode with T1 encoding and render as inverted question marks without throwing a compile error. Use $<$ / \textless instead. The document will compile fine and just be wrong.
  • Pick the resume template by context, not habit. resume-classic-ats.tex for finance/law/government ATS portals, resume-executive.tex for VP+, resume-technical.tex for engineering roles with a projects section — using one template for every situation defeats the point of having five.
  • For 5+ page documents, avoid the "wall of bullets." The default should be prose paragraphs for analysis and argument — bullets are for genuinely parallel, discrete items. A 40-page report with more than 20 itemize blocks needs a rewrite pass, not more content.
  • Batch PDF-to-LaTeX conversion by page count. 1–10 pages: one pass. 11–20: split in half. 21+: batch 7 pages per worker, run in parallel. A single long pass on a big scan measurably degrades quality.
  • Always generate and actually look at the PNG preview before calling a document done — a clean compile is not proof the output is correct, especially for the angle-bracket and float-placement issues that produce no errors at all.

Limitations

  • Requires a working TeX Live installation; the compile script auto-installs it on first run, but don't run multiple compiles in parallel before that finishes — concurrent installs cause package-manager lock contention
  • PDF-to-LaTeX conversion quality depends heavily on scan/handwriting legibility — the math-notes profile's "beautiful mode" works best on reasonably clean handwriting, not degraded photocopies
  • Non-fillable PDF form filling (image-based forms) requires manually validating bounding boxes against the source image — an unchecked box position can silently misplace text in the output
  • hyperref should be dropped from PDF-to-LaTeX conversions that use theorem environments — it triggers \set@color errors in that specific combination

$Related Playbooks

Academic Research

Replication-First Coding

When working with existing code or papers, match the original exactly before extending. Verify against gold standard numbers to catch silent bugs.

10 minutes
Intermediate
Academic Research

Research Exploration Sandbox

Create a structured explorations/ folder for experimental work. Fast-track experiments without full rigor, then graduate successful ones to production code.

5 minutes
Beginner
Academic Research

Research Ideation Generator

Generate research questions, hypotheses, and empirical strategies. Brainstorm ideas systematically with structured prompts that push beyond obvious approaches.

5 minutes
Beginner
Academic Research

Plan-First Workflow

Get Claude to plan before executing complex tasks. Prevents wasted effort by getting user approval on approach before writing code or making changes.

5 minutes
Beginner
Academic Research

Proofread Review Agent

Deploy a specialized proofreading agent that focuses solely on grammar, spelling, punctuation, and clarity. Catches errors that general reviews miss by having laser focus on language.

5 minutes
Beginner
Academic Research

Quality Gates System

Implement a scoring system (0-100) that blocks commits below threshold. 80+ to commit, 90+ for PR, 95+ for excellence. Prevents shipping subpar work.

5 minutes
Beginner
Academic Research

Scholarly Writing Refiner

Polish academic English at the sentence level — a five-dimension review (grammar, word choice, voice, coherence, sentence structure) with concrete before/after tables for colloquial-to-academic substitutions, active/passive voice selection by scenario, transition-signal words by logical relationship, and section-specific tense and structure conventions for the Abstract and Introduction.

5 minutes
Beginner
Academic Research

Scientific Adaptyv

Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein ...

10 minutes
Intermediate
Academic Research

Scientific Alphafold Database

Access AlphaFold 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB/mmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.

10 minutes
Intermediate
Academic Research

Scientific Anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; f...

10 minutes
Intermediate
Academic Research

Scientific Arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships a...

10 minutes
Intermediate
Academic Research

Scientific Benchling Integration

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

10 minutes
Intermediate

Browse all Academic Research playbooks →