/tex:tex-encodefrom tex
Encode Unicode characters to LaTeX commands. Use when converting text with special characters (é, ü, ñ, etc.) to LaTeX format for use in .tex files, BibTeX entries, or LaTeX documents.
Ships in tex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Convert Unicode characters to LaTeX command syntax for use in LaTeX documents.
npx tsx scripts/encode.ts [options] <text-or-file>
--file - Read input from file instead of command line argument--output <file> - Write output to file--format <type> - Output format: braced (default) or compactnpx tsx scripts/encode.ts "café naïve"
# Output: caf\'{e} na\"{i}ve
npx tsx scripts/encode.ts --file input.txt --output output.tex
npx tsx scripts/encode.ts --format braced "Müller"
# Output: M\"{u}ller
The encoder converts Unicode characters to LaTeX commands using a comprehensive mapping table:
é → \'{e}, ü → \"{u}& → \&, % → \%æ → \ae, ß → \ssRegular spaces are NOT escaped. Only special LaTeX characters and Unicode characters without ASCII equivalents are encoded.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mearman/marketplace --plugin tex6 skills in this plugin
/latex-to-mdConvert LaTeX to Markdown format. Use when the user asks to convert, transform, or change LaTeX files to Markdown, or mentions converting .tex files to .md files./md-to-latexConvert Markdown to LaTeX format. Use when the user asks to convert, transform, or change Markdown files to LaTeX, or mentions converting .md files to .tex files./tex-decodeLaTeX Command DecoderDecode LaTeX commands to Unicode characters. Use when converting LaTeX-encoded text to readable Unicode format, extracting plain text from .tex files, or processing BibTeX entries for display.
/tex-protectLaTeX Text ProtectorProtect text from LaTeX interpretation by wrapping in braces. Use when preserving capitalization in BibTeX titles, protecting acronyms from lowercasing, or ensuring specific text isn't interpreted as LaTeX commands.
/tex-stripLaTeX Command StripperStrip all LaTeX commands and extract plain text. Use when extracting readable text from LaTeX documents, removing formatting for analysis, or converting LaTeX to plain text.
Other plugins' skills for the same job