Latex Writing
Generates and formats LaTeX code for equations, tables, and documents based on natural language descriptions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add latex-writing npx -- -y @trustedskills/latex-writing
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"latex-writing": {
"command": "npx",
"args": [
"-y",
"@trustedskills/latex-writing"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill generates and formats LaTeX code for equations, tables, and documents based on natural language descriptions. It emphasizes creating well-structured, semantically correct LaTeX by guiding users to use appropriate environments like description, itemize, and enumerate. The skill promotes using LaTeX environments that match the content's meaning rather than just its visual appearance, correcting common formatting anti-patterns.
When to use it
- Generating documentation for API parameters (e.g., "username" with a description).
- Creating glossaries or definitions of terms (e.g., defining "LaTeX").
- Documenting configuration options and their descriptions (e.g., "timeout" set to a specific value).
- Presenting examples that pass or fail certain criteria, along with explanations.
- Structuring lists where each item has a label and associated content.
Key capabilities
- Generates LaTeX code for
description,itemize, andenumerateenvironments. - Guides users to use semantic markup in LaTeX documents.
- Identifies and corrects anti-patterns such as bold labels within
itemizelists. - Provides guidance on when to use the
descriptionenvironment (for term-definition pairs). - Supports literate programming workflows with noweb's
[[code]].
Example prompts
- "Generate LaTeX code for a description of API parameters, including 'username' and 'password'."
- "Create an itemized list of steps to install the software."
- "Show me how to format a glossary entry for the term 'LaTeX'."
Tips & gotchas
- Prioritize semantic meaning when choosing LaTeX environments. Avoid using
itemizewith bold or emphasized labels; usedescriptioninstead. - When working with literate programming files (.nw), remember to utilize noweb’s
[[code]]syntax for embedding LaTeX code. - This skill focuses on structuring content and correcting formatting, not generating complex mathematical equations directly.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.