| name | docs-latex |
| description | Convert Markdown to LaTeX with TikZ and compile to PDF. Use when wanting a presentation-quality PDF, a professional report with diagrams, or print-ready documentation. |
| args | <file> [--no-compile] [--visualizations] [--report-type=roadmap|lifecycle|general] |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob, TodoWrite |
| argument-hint | path/to/document.md |
| disable-model-invocation | true |
| created | "2026-02-08T00:00:00.000Z" |
| modified | "2026-06-18T00:00:00.000Z" |
| reviewed | "2026-02-08T00:00:00.000Z" |
Markdown to LaTeX Conversion
Convert Markdown documents to professional LaTeX with advanced typesetting, TikZ/PGFPlots visualizations, and PDF compilation.
When to Use This Skill
| Use this skill when... | Use another skill when... |
|---|
| Converting Markdown to presentation-quality PDF | Writing Markdown documentation (/docs:generate) |
| Creating reports with diagrams and visualizations | Simple text formatting |
| Generating print-ready strategic documents | Creating HTML documentation |
| Building lifecycle reports with charts and timelines | Syncing existing docs (/docs:sync) |
Context
- Current directory: !
pwd
- Available .md files: !
find . -maxdepth 2 -name '*.md' -not -name 'CHANGELOG.md' -not -name 'README.md'
Parameters
<file>: Path to the Markdown source file (required)
--no-compile: Generate .tex file only, skip PDF compilation
--visualizations: Include TikZ/PGFPlots diagrams (timelines, charts, risk matrices)
--report-type: Document structure preset
roadmap: Phase-based roadmap with timeline visualization
lifecycle: Project lifecycle with release charts and velocity graphs
general: Standard professional document (default)
Execution
Execute this Markdown-to-LaTeX conversion workflow:
Step 1: Analyze the Markdown source
Read the source Markdown file and extract:
- Document title and metadata
- Section hierarchy (map
# levels to LaTeX chapters/sections)
- Tables, lists, code blocks, callout blocks, and blockquotes
- Priorities or status indicators for color-coded markers
- Numerical data suitable for visualization
Step 2: Generate the LaTeX document
Create a .tex file adjacent to the source. Use the document preamble, color definitions, custom environments, and conversion rules from REFERENCE.md.
Apply the Markdown-to-LaTeX conversion rules: