latex-report
2
总安装量
2
周安装量
#71669
全站排名
安装命令
npx skills add https://github.com/sepehr500/skills --skill latex-report
Agent 安装分布
amp
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
gemini-cli
2
Skill 文档
LaTeX Report Generator
Convert content to professionally formatted PDF reports using LaTeX.
Workflow
- Read the input file to understand the content structure
- Create a LaTeX document based on the template in templates/report.tex
- Compile to PDF using the tectonic script
Key Instructions
LaTeX Document Structure
Use the template structure from templates/report.tex. Key elements:
- Professional title page with metadata
- Table of contents for longer documents
- Color-coded sections and priorities
- Code listings with syntax highlighting (use generic style, avoid
language=for unsupported languages) - Well-formatted tables using booktabs
- Headers/footers with document info
Code Listings
Important: Tectonic has limited language support for listings. Use these safe options:
\begin{lstlisting}[]– generic code (safest)\begin{lstlisting}[caption=Description]– with caption only- Avoid
language=SQL,language=JavaScriptetc. as they may fail
Compiling
Run the compile script to ensure tectonic is available and compile:
~/.claude/skills/latex-report/scripts/compile.sh <input.tex>
This script:
- Downloads tectonic to /tmp if not present
- Compiles the LaTeX file to PDF
- Reports success/failure
Output
- Place the
.texfile in the same directory as the input - Name the output based on the input filename or user preference
- Verify the PDF was created successfully
Template Reference
See templates/report.tex for the full template with:
- Document class and package setup
- Color definitions
- Header/footer configuration
- Section formatting
- Code listing styles
- Table formatting examples
Common Sections for Reports
Adapt based on content type:
Technical Reports / RCAs:
- Executive Summary
- Timeline
- Key Metrics
- Root Cause Analysis
- Contributing Factors
- Recommendations
- Appendix
General Reports:
- Introduction
- Background
- Findings
- Analysis
- Conclusions
- Recommendations
Documentation:
- Overview
- Getting Started
- Usage
- API Reference
- Examples
- Troubleshooting